Show More
@@ -3,13 +3,6 b'' | |||
|
3 | 3 | {% block outer_content %} |
|
4 | 4 | <!-- Begin page content --> |
|
5 | 5 | <div class="container"> |
|
6 | <div class="row ng-cloak" data-ng-if="flash.length" style="margin-bottom: 10px"> | |
|
7 | <div class="col-xs-12"> | |
|
8 | {% raw %} | |
|
9 | <uib-alert data-ng-repeat="message in flash" type="{{ message.type}}" close="closeAlert($index)" class="animate-repeat">{{message.msg}}</uib-alert> | |
|
10 | {% endraw %} | |
|
11 | </div> | |
|
12 | </div> | |
|
13 | 6 | <div class="row"> |
|
14 | 7 | {% block content %}{% endblock %} |
|
15 | 8 | </div> |
@@ -45,7 +45,10 b" angular.module('appenlight.components', [" | |||
|
45 | 45 | 'appenlight.components.appenlightHeader', |
|
46 | 46 | 'appenlight.components.indexDashboardView', |
|
47 | 47 | 'appenlight.components.logsBrowserView', |
|
48 | 'appenlight.components.eventBrowserView' | |
|
48 | 'appenlight.components.eventBrowserView', | |
|
49 | 'appenlight.components.userProfileView', | |
|
50 | 'appenlight.components.userIdentitiesView', | |
|
51 | 'appenlight.components.settingsView' | |
|
49 | 52 | ]); |
|
50 | 53 | angular.module('appenlight.directives', [ |
|
51 | 54 | 'appenlight.directives.c3chart', |
@@ -1,5 +1,16 b'' | |||
|
1 | 1 | <channelstream config="AeConfig"></channelstream> |
|
2 | 2 | <appenlight-header></appenlight-header> |
|
3 | <div class="container" data-ng-if="flash.length"> | |
|
4 | <div class="row" style="margin-bottom: 10px"> | |
|
5 | <div class="col-xs-12"> | |
|
6 | <uib-alert data-ng-repeat="message in flash" | |
|
7 | type="{{ message.type }}" | |
|
8 | close="closeAlert($index)" class="animate-repeat"> | |
|
9 | {{ message.msg }}</uib-alert> | |
|
10 | </div> | |
|
11 | </div> | |
|
12 | </div> | |
|
13 | ||
|
3 | 14 | <div id="outer-content"> |
|
4 | 15 | <div ui-view class="container"></div> |
|
5 | 16 | </div> |
@@ -140,25 +140,23 b" angular.module('appenlight').config(['$stateProvider', '$urlRouterProvider', fun" | |||
|
140 | 140 | }); |
|
141 | 141 | |
|
142 | 142 | $stateProvider.state('admin.configs.list', { |
|
143 | url: '', | |
|
143 | url: '/list', | |
|
144 | 144 | templateUrl: 'templates/admin/configs/edit.html', |
|
145 | 145 | controller: 'ConfigsListController as configs' |
|
146 | 146 | }); |
|
147 | 147 | |
|
148 | 148 | $stateProvider.state('user', { |
|
149 | 149 | url: '/ui/user', |
|
150 | templateUrl: 'templates/user/parent_view.html' | |
|
150 | component: 'settingsView' | |
|
151 | 151 | }); |
|
152 | 152 | |
|
153 | 153 | $stateProvider.state('user.profile', { |
|
154 | 154 | abstract: true, |
|
155 | url: '/profile', | |
|
156 | templateUrl: 'templates/user/profile.html' | |
|
155 | template: '<ui-view></ui-view>' | |
|
157 | 156 | }); |
|
158 | 157 | $stateProvider.state('user.profile.edit', { |
|
159 | url: '', | |
|
160 | templateUrl: 'templates/user/profile_edit.html', | |
|
161 | controller: 'UserProfileController as profile' | |
|
158 | url: '/profile', | |
|
159 | component: 'userProfileView' | |
|
162 | 160 | }); |
|
163 | 161 | |
|
164 | 162 | |
@@ -170,8 +168,7 b" angular.module('appenlight').config(['$stateProvider', '$urlRouterProvider', fun" | |||
|
170 | 168 | |
|
171 | 169 | $stateProvider.state('user.profile.identities', { |
|
172 | 170 | url: '/identities', |
|
173 | templateUrl: 'templates/user/profile_identities.html', | |
|
174 | controller: 'UserIdentitiesController as identities' | |
|
171 | component: 'userIdentitiesView' | |
|
175 | 172 | }); |
|
176 | 173 | |
|
177 | 174 | $stateProvider.state('user.profile.auth_tokens', { |
@@ -187,7 +184,7 b" angular.module('appenlight').config(['$stateProvider', '$urlRouterProvider', fun" | |||
|
187 | 184 | }); |
|
188 | 185 | |
|
189 | 186 | $stateProvider.state('user.alert_channels.list', { |
|
190 | url: '', | |
|
187 | url: '/list', | |
|
191 | 188 | templateUrl: 'templates/user/alert_channels_list.html', |
|
192 | 189 | controller: 'AlertChannelsController as channels' |
|
193 | 190 | }); |
@@ -205,7 +202,7 b" angular.module('appenlight').config(['$stateProvider', '$urlRouterProvider', fun" | |||
|
205 | 202 | }); |
|
206 | 203 | |
|
207 | 204 | $stateProvider.state('applications.list', { |
|
208 | url: '', | |
|
205 | url: '/list', | |
|
209 | 206 | templateUrl: 'templates/applications/list.html', |
|
210 | 207 | controller: 'ApplicationsListController as applications' |
|
211 | 208 | }); |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now