This commit is contained in:
Carlos Jimenez Ruiz 2019-03-22 14:08:01 +01:00
parent 6c9f1cfdfa
commit 80f59eeeb7
3 changed files with 10 additions and 0 deletions

View File

@ -5,3 +5,4 @@ import './search-panel';
import './descriptor'; import './descriptor';
import './summary'; import './summary';
import './card'; import './card';
import './create';

View File

@ -73,3 +73,6 @@
vn-id="workerDescriptor" vn-id="workerDescriptor"
user-id="$ctrl.selectedWorker"> user-id="$ctrl.selectedWorker">
</vn-worker-descriptor-popover> </vn-worker-descriptor-popover>
<a ui-sref="route.create" vn-tooltip="New route" vn-bind="+" fixed-bottom-right>
<vn-float-button icon="add"></vn-float-button>
</a>

View File

@ -19,6 +19,12 @@
"component": "vn-route-index", "component": "vn-route-index",
"description": "Routes" "description": "Routes"
}, },
{
"url": "/create",
"state": "route.create",
"component": "vn-route-create",
"description": "New route"
},
{ {
"url": "/:id", "url": "/:id",
"state": "route.card", "state": "route.card",