sum7/warehost-frontend
sum7
/
warehost-frontend
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
warehost-frontend/public/app/web/index.js

63 lines
1.2 KiB
JavaScript
Raw Normal View History

2016-09-03 13:24:54 +02:00
'use strict';
angular.module('warehost')
.config(['$stateProvider',function ($stateProvider) {
$stateProvider
.state('app.web', {
url:'/web',
views:{
2016-09-03 16:30:05 +02:00
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
2016-09-03 13:24:54 +02:00
}
})
.state('app.web.index', {
url:'/',
views:{
'@app':{
2016-09-03 16:30:05 +02:00
templateUrl: 'app/web/list.html',
controller:'ListWebCtrl'
2016-09-03 13:24:54 +02:00
}
}
2016-09-03 16:30:05 +02:00
})
.state('app.webS', {
url:'/web/:websiteid',
views:{
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
}
2016-09-11 18:40:03 +02:00
})
.state('app.webS.menu', {
url:'/menu',
views:{
'@app':{
templateUrl: 'app/web/webmenu.html',
controller:'WebmenuWebCtrl'
}
}
})
.state('app.webS.domain', {
url:'/domain',
views:{
'@app':{
templateUrl: 'app/web/domain.html',
controller:'DomainWebCtrl'
}
}
})
.state('app.webS.page', {
url:'/page',
views:{
'@app':{
templateUrl: 'app/web/page.html',
controller:'PageWebCtrl'
}
}
})
.state('app.webS.permission', {
url:'/permission',
views:{
'@app':{
templateUrl: 'app/web/permission.html',
controller:'PermissionWebCtrl'
}
}
2016-09-03 13:24:54 +02:00
});
}]);