mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
Current progress on stats page, nonfunctional.
This commit is contained in:
parent
66894e7596
commit
b7daf91723
6 changed files with 119 additions and 3 deletions
|
@ -17,7 +17,8 @@ angular.module('dockerui.services', ['ngResource'])
|
|||
changes: {method: 'GET', params: {action: 'changes'}, isArray: true},
|
||||
create: {method: 'POST', params: {action: 'create'}},
|
||||
remove: {method: 'DELETE', params: {id: '@id', v: 0}},
|
||||
rename: {method: 'POST', params: {id: '@id', action: 'rename'}, isArray: false}
|
||||
rename: {method: 'POST', params: {id: '@id', action: 'rename'}, isArray: false},
|
||||
stats: {method: 'GET', params: {id: '@id', stream: false, action: 'stats'}}
|
||||
});
|
||||
})
|
||||
.factory('ContainerCommit', function ($resource, $http, Settings) {
|
||||
|
@ -192,7 +193,6 @@ angular.module('dockerui.services', ['ngResource'])
|
|||
})
|
||||
.factory('LineChart', function (Settings) {
|
||||
'use strict';
|
||||
var url = Settings.rawUrl + '/build';
|
||||
return {
|
||||
build: function (id, data, getkey) {
|
||||
var chart = new Chart($(id).get(0).getContext("2d"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue