105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"module": "item",
|
|
"name": "Items",
|
|
"icon": "/static/images/icon_item.png",
|
|
"validations" : true,
|
|
"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"
|
|
}, {
|
|
"url": "/:id",
|
|
"state": "item.card",
|
|
"abstract": true,
|
|
"component": "vn-item-card"
|
|
}, {
|
|
"url" : "/data",
|
|
"state": "item.card.data",
|
|
"component": "vn-item-data",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Basic data",
|
|
"icon": "folder"
|
|
}
|
|
},{
|
|
"url" : "/tags",
|
|
"state": "item.card.tags",
|
|
"component": "vn-item-tags",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Tags",
|
|
"icon": "folder"
|
|
}
|
|
},{
|
|
"url" : "/history",
|
|
"state": "item.card.history",
|
|
"component": "vn-item-history",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "History",
|
|
"icon": "folder"
|
|
}
|
|
},{
|
|
"url" : "/niche",
|
|
"state": "item.card.niche",
|
|
"component": "vn-item-niche",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Niche",
|
|
"icon": "folder"
|
|
}
|
|
},{
|
|
"url" : "/botanical",
|
|
"state": "item.card.botanical",
|
|
"component": "vn-item-botanical",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Botanical",
|
|
"icon": "folder"
|
|
}
|
|
},{
|
|
"url" : "/picture",
|
|
"state": "item.card.picture",
|
|
"component": "vn-item-picture",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Picture",
|
|
"icon": "folder"
|
|
}
|
|
}, {
|
|
"url" : "/barcode",
|
|
"state": "item.card.barcode",
|
|
"component": "vn-item-barcode",
|
|
"params": {
|
|
"item": "$ctrl.item"
|
|
},
|
|
"menu": {
|
|
"description": "Barcode",
|
|
"icon": "folder"
|
|
}
|
|
}
|
|
]
|
|
} |