Added a bunch of stuff

This commit is contained in:
Dobie Wollert
2015-08-05 06:03:02 -07:00
parent b4e727c0e6
commit fdc8727044
35 changed files with 1815 additions and 276 deletions

View File

@ -66,10 +66,6 @@ angular.module('biomed', ['biomed.filters', 'biomed.services', 'biomed.directive
controller: "DeviceTypeIndexCtrl",
reloadOnSearch: false
})
.when('/devices/add', {
templateUrl: '/partials/devices/add.html',
controller: "DeviceAddCtrl"
})
.when('/deviceTypes/add', {
templateUrl: '/partials/deviceTypes/add.html',
controller: "DeviceTypeAddCtrl"
@ -78,6 +74,35 @@ angular.module('biomed', ['biomed.filters', 'biomed.services', 'biomed.directive
templateUrl: '/partials/deviceTypes/edit.html',
controller: "DeviceTypeEditCtrl"
})
.when('/devices/add', {
templateUrl: '/partials/devices/add.html',
controller: "DeviceAddCtrl"
})
.when('/devices/:id', {
templateUrl: '/partials/devices/edit.html',
controller: "DeviceEditCtrl"
})
.when('/checkLists', {
templateUrl: '/partials/checkLists/index.html',
controller: "CheckListIndexCtrl",
reloadOnSearch: false
})
.when('/checkLists/add', {
templateUrl: '/partials/checkLists/add.html',
controller: "CheckListAddCtrl"
})
.when('/checkLists/:id', {
templateUrl: '/partials/checkLists/add.html',
controller: "CheckListEditCtrl"
})
.when('/testRuns/add', {
templateUrl: '/partials/testRuns/add.html',
controller: "TestRunAddCtrl"
})
.when('/testRuns/:id', {
templateUrl: '/partials/testRuns/view.html',
controller: "TestRunViewCtrl"
})
.when('/accounting', {
templateUrl: '/partials/accounting/index.html',
controller: "AccountingIndexCtrl",