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

'use strict';
angular.module('warehost')
.config(['$stateProvider',function ($stateProvider) {
$stateProvider
.state('app.web', {
url:'/web',
views:{
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
}
})
.state('app.web.index', {
url:'/',
views:{
'@app':{
templateUrl: 'app/web/list.html',
controller:'ListWebCtrl'
}
}
})
.state('app.webS', {
url:'/web/:websiteid',
views:{
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
}
})
.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'
}
}
});
}]);