mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUAC-932: Move connection editor to own page.
This commit is contained in:
@@ -29,31 +29,37 @@ angular.module('index').config(['$routeProvider', '$locationProvider',
|
||||
// Disable HTML5 mode (use # for routing)
|
||||
$locationProvider.html5Mode(false);
|
||||
|
||||
$routeProvider.
|
||||
when('/', {
|
||||
$routeProvider
|
||||
.when('/', {
|
||||
title: 'application.title',
|
||||
bodyClassName: 'home',
|
||||
templateUrl: 'app/home/templates/home.html',
|
||||
controller: 'homeController'
|
||||
}).
|
||||
when('/manage/', {
|
||||
})
|
||||
.when('/manage/', {
|
||||
title: 'application.title',
|
||||
bodyClassName: 'manage',
|
||||
templateUrl: 'app/manage/templates/manage.html',
|
||||
controller: 'manageController'
|
||||
}).
|
||||
when('/login/', {
|
||||
})
|
||||
.when('/manage/connections/:id?', {
|
||||
title: 'application.title',
|
||||
bodyClassName: 'manage-connection',
|
||||
templateUrl: 'app/manage/templates/manageConnection.html',
|
||||
controller: 'manageConnectionController'
|
||||
})
|
||||
.when('/login/', {
|
||||
title: 'application.title',
|
||||
bodyClassName: 'login',
|
||||
templateUrl: 'app/login/templates/login.html',
|
||||
controller: 'loginController'
|
||||
}).
|
||||
when('/client/:type/:id/:params?', {
|
||||
})
|
||||
.when('/client/:type/:id/:params?', {
|
||||
bodyClassName: 'client',
|
||||
templateUrl: 'app/client/templates/client.html',
|
||||
controller: 'clientController'
|
||||
}).
|
||||
otherwise({
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/'
|
||||
});
|
||||
}]);
|
||||
|
Reference in New Issue
Block a user