feat(dashboard): new Dashboard
- show providers (auto refresh: 2s) - show health (auto refresh: 3s) - more colors - add font - remove jumbotron - javascript minified version
This commit is contained in:
parent
da3d119a43
commit
ac57dda074
24 changed files with 420 additions and 0 deletions
10
static/app/core/health.resource.js
Normal file
10
static/app/core/health.resource.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular
|
||||
.module('traefik.core.health', ['ngResource'])
|
||||
.factory('Health', ['$resource', function ($resource) {
|
||||
return $resource('/health');
|
||||
}]);
|
||||
|
||||
})();
|
10
static/app/core/providers.resource.js
Normal file
10
static/app/core/providers.resource.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular
|
||||
.module('traefik.core.provider', ['ngResource'])
|
||||
.factory('Providers', ['$resource', function ($resource) {
|
||||
return $resource('/api/providers');
|
||||
}]);
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue