##// END OF EJS Templates
report: fix request stats format
report: fix request stats format

File last commit:

r112:998f0d14
r164:5fe76720
Show More
routes.js
216 lines | 6.0 KiB | application/javascript | JavascriptLexer
license: change the license to Apache 2.0
r112 // Copyright 2010 - 2017 RhodeCode GmbH and the AppEnlight project authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
project: initial commit
r0
angular.module('appenlight').config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/ui');
$stateProvider.state('logs', {
url: '/ui/logs?resource',
log browser: turn into component
r76 component: 'logsBrowserView'
project: initial commit
r0 });
$stateProvider.state('front_dashboard', {
url: '/ui',
front dashboard: turn into component
r75 component: 'indexDashboardView'
project: initial commit
r0 });
$stateProvider.state('report', {
abstract: true,
url: '/ui/report',
components: reports componentized
r84 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('report.list', {
components: reports componentized
r84 url: '/list?start_date&min_duration&max_duration&{view_name:any}&{server_name:any}&resource',
component: 'reportsBrowserView'
project: initial commit
r0 });
$stateProvider.state('report.list_slow', {
url: '/list_slow?start_date&min_duration&max_duration&{view_name:any}&{server_name:any}&resource',
components: reports componentized
r84 component: 'reportsSlowBrowserView'
project: initial commit
r0 });
$stateProvider.state('report.view_detail', {
url: '/:groupId/:reportId',
components: reports componentized
r84 component: 'reportView'
project: initial commit
r0 });
$stateProvider.state('report.view_group', {
url: '/:groupId',
components: reports componentized
r84 component: 'reportView'
project: initial commit
r0 });
$stateProvider.state('events', {
url: '/ui/events',
event browser: turn into component
r77 component: 'eventBrowserView'
project: initial commit
r0 });
$stateProvider.state('admin', {
url: '/ui/admin',
components: admin panel componentized
r85 component: 'adminView'
project: initial commit
r0 });
$stateProvider.state('admin.user', {
abstract: true,
url: '/user',
components: admin panel componentized
r85 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('admin.user.list', {
url: '/list',
components: admin panel componentized
r85 component: 'adminUsersListView'
project: initial commit
r0 });
$stateProvider.state('admin.user.create', {
url: '/create',
components: admin panel componentized
r85 component: 'adminUsersCreateView'
project: initial commit
r0 });
$stateProvider.state('admin.user.update', {
url: '/{userId}/update',
components: admin panel componentized
r85 component: 'adminUsersCreateView'
project: initial commit
r0 });
$stateProvider.state('admin.group', {
abstract: true,
url: '/group',
components: admin panel componentized
r85 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('admin.group.list', {
url: '/list',
components: admin panel componentized
r85 component: 'adminGroupsListView'
project: initial commit
r0 });
$stateProvider.state('admin.group.create', {
url: '/create',
components: admin panel componentized
r85 component: 'adminGroupsCreateView'
project: initial commit
r0 });
$stateProvider.state('admin.group.update', {
url: '/{groupId}/update',
components: admin panel componentized
r85 component: 'adminGroupsCreateView'
project: initial commit
r0 });
$stateProvider.state('admin.application', {
abstract: true,
url: '/application',
components: admin panel componentized
r85 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('admin.application.list', {
url: '/list',
components: admin panel componentized
r85 component: 'adminApplicationsListView'
project: initial commit
r0 });
$stateProvider.state('admin.partitions', {
url: '/partitions',
components: admin panel componentized
r85 component: 'adminPartitionsView'
project: initial commit
r0 });
$stateProvider.state('admin.system', {
url: '/system',
components: admin panel componentized
r85 component: 'adminSystemView'
project: initial commit
r0 });
$stateProvider.state('admin.configs', {
abstract: true,
url: '/configs',
components: admin panel componentized
r85 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('admin.configs.list', {
flash: re-add flash messages to top application component
r78 url: '/list',
components: admin panel componentized
r85 component: 'adminConfigurationView'
project: initial commit
r0 });
$stateProvider.state('user', {
url: '/ui/user',
flash: re-add flash messages to top application component
r78 component: 'settingsView'
project: initial commit
r0 });
$stateProvider.state('user.profile', {
abstract: true,
flash: re-add flash messages to top application component
r78 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('user.profile.edit', {
flash: re-add flash messages to top application component
r78 url: '/profile',
component: 'userProfileView'
project: initial commit
r0 });
$stateProvider.state('user.profile.password', {
url: '/password',
components: user and alert channels components
r81 component: 'userPasswordView'
project: initial commit
r0 });
$stateProvider.state('user.profile.identities', {
url: '/identities',
flash: re-add flash messages to top application component
r78 component: 'userIdentitiesView'
project: initial commit
r0 });
$stateProvider.state('user.profile.auth_tokens', {
url: '/auth_tokens',
components: user and alert channels components
r81 component: 'userAuthTokensView'
project: initial commit
r0 });
$stateProvider.state('user.alert_channels', {
abstract: true,
url: '/alert_channels',
components: user and alert channels components
r81 template: '<ui-view></ui-view>'
project: initial commit
r0 });
$stateProvider.state('user.alert_channels.list', {
flash: re-add flash messages to top application component
r78 url: '/list',
components: user and alert channels components
r81 component: 'userAlertChannelsListView'
project: initial commit
r0 });
$stateProvider.state('user.alert_channels.email', {
url: '/email',
components: user and alert channels components
r81 component: 'userAlertChannelsEmailNewView'
project: initial commit
r0 });
$stateProvider.state('applications', {
abstract: true,
url: '/ui/applications',
components: whole settings panel componentized
r83 component: 'settingsView'
project: initial commit
r0 });
$stateProvider.state('applications.list', {
flash: re-add flash messages to top application component
r78 url: '/list',
components: whole settings panel componentized
r83 component: 'applicationsListView'
project: initial commit
r0 });
$stateProvider.state('applications.update', {
url: '/{resourceId}/update',
components: whole settings panel componentized
r83 component: 'applicationsUpdateView'
project: initial commit
r0 });
$stateProvider.state('applications.integrations', {
url: '/{resourceId}/integrations',
components: whole settings panel componentized
r83 component: 'integrationsListView',
project: initial commit
r0 data: {
resource: null
}
});
$stateProvider.state('applications.purge_logs', {
url: '/purge_logs',
components: whole settings panel componentized
r83 component: 'applicationsPurgeLogsView'
project: initial commit
r0 });
$stateProvider.state('applications.integrations.edit', {
url: '/{integration}',
components: whole settings panel componentized
r83 template: function ($stateParams) {
return '<'+ $stateParams.integration + '-integration-config-view>'
}
project: initial commit
r0 });
$stateProvider.state('tests', {
url: '/ui/tests',
templateUrl: 'templates/user/alert_channels_test.html',
controller: 'AlertChannelsTestController as test_action'
});
}]);