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/host/index.js

100 lines
1.9 KiB
JavaScript
Raw Permalink Normal View History

'use strict';
2016-09-03 13:24:54 +02:00
angular.module('warehost')
.config(['$stateProvider',function ($stateProvider) {
$stateProvider
.state('app.host', {
2017-10-04 10:18:09 +02:00
url:'/host'
2016-09-03 13:24:54 +02:00
})
.state('app.host.index', {
url:'/',
views:{
'@app':{
templateUrl: 'app/home.html',
controller:function(alert){
alert.set({});
}
}
}
2016-10-17 12:50:31 +02:00
})
.state('app.host.signup', {
2016-12-07 21:33:51 +01:00
url:'/signup',
2016-10-17 12:50:31 +02:00
views:{
'@app':{
2016-12-07 21:33:51 +01:00
templateUrl: 'app/host/signup.html',
controller:'SignupHostCtrl'
2016-10-17 12:50:31 +02:00
}
}
})
.state('app.host.domain', {
url:'/domain',
views:{
'@app':{
templateUrl: 'app/host/domain.html',
controller:'DomainHostCtrl'
}
}
})
2016-10-22 21:34:20 +02:00
.state('app.host.web', {
url:'/domain/:domainid/web',
views:{
'@app':{
templateUrl: 'app/host/web.html',
controller:'WebDomainHostCtrl'
}
}
})
.state('app.host.mail', {
url:'/domain/:domainid/mail',
views:{
'@app':{
templateUrl: 'app/host/mail.html',
controller:'MailDomainHostCtrl'
}
}
})
2016-10-17 12:50:31 +02:00
.state('app.host.database', {
url:'/database',
views:{
'@app':{
templateUrl: 'app/host/database.html',
controller:'DatabaseHostCtrl'
}
}
})
.state('app.host.A', {
url:'/admin',
views:{
'@app':{
templateUrl: 'app/admin.html',
}
}
})
.state('app.host.A.profil', {
url:'/profil',
views:{
'@app':{
templateUrl: 'app/host/admin/profil.html',
controller:'ProfilAdminHostCtrl'
}
}
})
.state('app.host.A.domain', {
url:'/domain',
views:{
'@app':{
templateUrl: 'app/host/admin/domain.html',
controller:'DomainAdminHostCtrl'
}
}
})
.state('app.host.A.database', {
url:'/database',
views:{
'@app':{
templateUrl: 'app/host/admin/database.html',
controller:'DatabaseAdminHostCtrl'
}
}
2016-09-03 13:24:54 +02:00
});
}]);