salix/client/item/routes.json

49 lines
1.2 KiB
JSON
Raw Normal View History

2017-12-19 10:24:24 +00:00
{
"module": "item",
"name": "Items",
2017-12-19 13:28:19 +00:00
"icon": "/static/images/icon_item.png",
2017-12-19 10:24:24 +00:00
"routes": [
{
"url": "/item",
"state": "item",
"abstract": true,
"component": "ui-view"
},
{
"url": "/list",
"state": "item.index",
"component": "vn-item-list"
}, {
"url": "/create",
"state": "item.create",
"component": "vn-item-create"
2017-12-19 13:28:19 +00:00
}, {
2017-12-20 13:36:12 +00:00
"url": "/:id",
"state": "item.card",
"abstract": true,
"component": "vn-item-card"
}, {
"url" : "/data",
"state": "item.card.data",
"component": "vn-item-data",
2017-12-21 13:09:55 +00:00
"params": {
"item": "$ctrl.item"
},
2017-12-20 13:36:12 +00:00
"menu": {
"description": "Basic data",
"icon": "folder"
}
2017-12-21 13:09:55 +00:00
}, {
"url" : "/image",
"state": "item.card.image",
"component": "vn-item-image",
"params": {
"item": "$ctrl.item"
},
"menu": {
"description": "Images",
"icon": "image"
}
2017-12-19 10:24:24 +00:00
}
]
}