mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
#516 feat(services) - add the ability to manage cpu/mem limits
This commit is contained in:
parent
d695657711
commit
3cb96235b7
13 changed files with 353 additions and 92 deletions
12
app/directives/slider/por-slider.js
Normal file
12
app/directives/slider/por-slider.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
angular.module('portainer').component('porSlider', {
|
||||
templateUrl: 'app/directives/slider/porSlider.html',
|
||||
controller: 'porSliderController',
|
||||
bindings: {
|
||||
model: '=',
|
||||
onChange: '&',
|
||||
floor: '<',
|
||||
ceil: '<',
|
||||
step: '<',
|
||||
precision: '<'
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue