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.
2016-09-03 13:24:54 +02:00
|
|
|
'use strict';
|
|
|
|
angular.module('warehost')
|
|
|
|
.config(['$stateProvider',function ($stateProvider) {
|
|
|
|
$stateProvider
|
|
|
|
.state('app.host', {
|
|
|
|
url:'/host',
|
|
|
|
views:{
|
2016-10-17 12:50:31 +02:00
|
|
|
'menu':{templateUrl:'app/host/menu.html',controller:'MenuHostCtrl'}
|
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', {
|
|
|
|
url:'/',
|
|
|
|
views:{
|
|
|
|
'@app':{
|
|
|
|
templateUrl: 'app/home.html',
|
|
|
|
controller:function(alert){
|
|
|
|
alert.set({});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
.state('app.host.domain', {
|
|
|
|
url:'/domain',
|
|
|
|
views:{
|
|
|
|
'@app':{
|
|
|
|
templateUrl: 'app/host/domain.html',
|
|
|
|
controller:'DomainHostCtrl'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
.state('app.host.database', {
|
|
|
|
url:'/database',
|
|
|
|
views:{
|
|
|
|
'@app':{
|
|
|
|
templateUrl: 'app/host/database.html',
|
|
|
|
controller:'DatabaseHostCtrl'
|
|
|
|
}
|
|
|
|
}
|
2016-09-03 13:24:54 +02:00
|
|
|
});
|
|
|
|
}]);
|