From b0dcf8b30682971c0ba155e1b9086e1eed74d54a Mon Sep 17 00:00:00 2001 From: Floran Brutel Date: Sat, 6 Jan 2018 12:02:19 +0100 Subject: [PATCH] Build the WebUI --- glances/outputs/static/public/js/main.min.js | 462 +++++++++--------- .../outputs/static/public/js/templates.min.js | 14 +- 2 files changed, 238 insertions(+), 238 deletions(-) diff --git a/glances/outputs/static/public/js/main.min.js b/glances/outputs/static/public/js/main.min.js index 6562bd8c..a410a9da 100644 --- a/glances/outputs/static/public/js/main.min.js +++ b/glances/outputs/static/public/js/main.min.js @@ -874,65 +874,6 @@ function GlancesPluginDockerController($scope, GlancesStats) { 'use strict'; -glancesApp.component('glancesPluginFolders', { - controller: GlancesPluginFsController, - controllerAs: 'vm', - templateUrl: 'components/plugin-folders/view.html' -}); - -'use strict'; - -function GlancesPluginFoldersController($scope, GlancesStats) { - var vm = this; - vm.folders = []; - - vm.$onInit = function () { - loadData(GlancesStats.getData()); - }; - - $scope.$on('data_refreshed', function (event, data) { - loadData(data); - }); - - var loadData = function (data) { - var stats = data.stats['folders']; - vm.folders = []; - - for (var i = 0; i < stats.length; i++) { - var folderData = stats[i]; - - var folder = { - 'path': folderData['path'], - 'size': folderData['size'], - 'careful': folderData['careful'], - 'warning': folderData['warning'], - 'critical': folderData['critical'] - }; - - vm.folders.push(folder); - } - } - - vm.getDecoration = function (folder) { - - if (!Number.isInteger(folder.size)) { - return; - } - - if (folder.critical !== null && folder.size > (folder.critical * 1000000)) { - return 'critical'; - } else if (folder.warning !== null && folder.size > (folder.warning * 1000000)) { - return 'warning'; - } else if (folder.careful !== null && folder.size > (folder.careful * 1000000)) { - return 'careful'; - } - - return 'ok'; - }; -} - -'use strict'; - glancesApp.component('glancesPluginFs', { controller: GlancesPluginFsController, controllerAs: 'vm', @@ -1069,6 +1010,65 @@ function GlancesPluginGpuController($scope, GlancesStats, ARGUMENTS) { 'use strict'; +glancesApp.component('glancesPluginFolders', { + controller: GlancesPluginFsController, + controllerAs: 'vm', + templateUrl: 'components/plugin-folders/view.html' +}); + +'use strict'; + +function GlancesPluginFoldersController($scope, GlancesStats) { + var vm = this; + vm.folders = []; + + vm.$onInit = function () { + loadData(GlancesStats.getData()); + }; + + $scope.$on('data_refreshed', function (event, data) { + loadData(data); + }); + + var loadData = function (data) { + var stats = data.stats['folders']; + vm.folders = []; + + for (var i = 0; i < stats.length; i++) { + var folderData = stats[i]; + + var folder = { + 'path': folderData['path'], + 'size': folderData['size'], + 'careful': folderData['careful'], + 'warning': folderData['warning'], + 'critical': folderData['critical'] + }; + + vm.folders.push(folder); + } + } + + vm.getDecoration = function (folder) { + + if (!Number.isInteger(folder.size)) { + return; + } + + if (folder.critical !== null && folder.size > (folder.critical * 1000000)) { + return 'critical'; + } else if (folder.warning !== null && folder.size > (folder.warning * 1000000)) { + return 'warning'; + } else if (folder.careful !== null && folder.size > (folder.careful * 1000000)) { + return 'careful'; + } + + return 'ok'; + }; +} + +'use strict'; + glancesApp.component('glancesPluginIp', { controller: GlancesPluginIpController, controllerAs: 'vm', @@ -1147,52 +1147,6 @@ function GlancesPluginIrqController($scope, GlancesStats) { 'use strict'; -glancesApp.component('glancesPluginLoad', { - controller: GlancesPluginLoadController, - controllerAs: 'vm', - templateUrl: 'components/plugin-load/view.html' -}); - -'use strict'; - -function GlancesPluginLoadController($scope, GlancesStats) { - var vm = this; - var _view = {}; - - vm.cpucore = null; - vm.min1 = null; - vm.min5 = null; - vm.min15 = null; - - vm.$onInit = function () { - loadData(GlancesStats.getData()); - }; - - $scope.$on('data_refreshed', function (event, data) { - loadData(data); - }); - - var loadData = function (data) { - var stats = data.stats['load']; - _view = data.views['load']; - - vm.cpucore = stats['cpucore']; - vm.min1 = stats['min1']; - vm.min5 = stats['min5']; - vm.min15 = stats['min15']; - }; - - vm.getDecoration = function (value) { - if (_view[value] === undefined) { - return; - } - - return _view[value].decoration.toLowerCase(); - }; -} - -'use strict'; - glancesApp.component('glancesPluginMem', { controller: GlancesPluginMemController, controllerAs: 'vm', @@ -1275,6 +1229,52 @@ function GlancesPluginMemMoreController($scope, GlancesStats) { 'use strict'; +glancesApp.component('glancesPluginLoad', { + controller: GlancesPluginLoadController, + controllerAs: 'vm', + templateUrl: 'components/plugin-load/view.html' +}); + +'use strict'; + +function GlancesPluginLoadController($scope, GlancesStats) { + var vm = this; + var _view = {}; + + vm.cpucore = null; + vm.min1 = null; + vm.min5 = null; + vm.min15 = null; + + vm.$onInit = function () { + loadData(GlancesStats.getData()); + }; + + $scope.$on('data_refreshed', function (event, data) { + loadData(data); + }); + + var loadData = function (data) { + var stats = data.stats['load']; + _view = data.views['load']; + + vm.cpucore = stats['cpucore']; + vm.min1 = stats['min1']; + vm.min5 = stats['min5']; + vm.min15 = stats['min15']; + }; + + vm.getDecoration = function (value) { + if (_view[value] === undefined) { + return; + } + + return _view[value].decoration.toLowerCase(); + }; +} + +'use strict'; + glancesApp.component('glancesPluginMemswap', { controller: GlancesPluginMemswapController, controllerAs: 'vm', @@ -1561,25 +1561,26 @@ function GlancesPluginProcessController(ARGUMENTS, hotkeys) { 'use strict'; -glancesApp.component('glancesPluginProcesscount', { - controller: GlancesPluginProcesscountController, +glancesApp.component('glancesPluginQuicklook', { + controller: GlancesPluginQuicklookController, controllerAs: 'vm', - bindings: { - sorter: '<' - }, - templateUrl: 'components/plugin-processcount/view.html' + templateUrl: 'components/plugin-quicklook/view.html' }); 'use strict'; -function GlancesPluginProcesscountController($scope, GlancesStats) { +function GlancesPluginQuicklookController($scope, GlancesStats, ARGUMENTS) { var vm = this; + vm.arguments = ARGUMENTS; + var _view = {}; - vm.total = null; - vm.running = null; - vm.sleeping = null; - vm.stopped = null; - vm.thread = null; + vm.mem = null; + vm.cpu = null; + vm.cpu_name = null; + vm.cpu_hz_current = null; + vm.cpu_hz = null; + vm.swap = null; + vm.percpus = []; vm.$onInit = function () { loadData(GlancesStats.getData()); @@ -1590,14 +1591,32 @@ function GlancesPluginProcesscountController($scope, GlancesStats) { }); var loadData = function (data) { - var processcountStats = data.stats['processcount']; + var stats = data.stats['quicklook']; + _view = data.views['quicklook']; - vm.total = processcountStats['total'] || 0; - vm.running = processcountStats['running'] || 0; - vm.sleeping = processcountStats['sleeping'] || 0; - vm.stopped = processcountStats['stopped'] || 0; - vm.thread = processcountStats['thread'] || 0; - } + vm.mem = stats.mem; + vm.cpu = stats.cpu; + vm.cpu_name = stats.cpu_name; + vm.cpu_hz_current = stats.cpu_hz_current; + vm.cpu_hz = stats.cpu_hz; + vm.swap = stats.swap; + vm.percpus = []; + + angular.forEach(stats.percpu, function (cpu) { + vm.percpus.push({ + 'number': cpu.cpu_number, + 'total': cpu.total + }); + }, this); + }; + + vm.getDecoration = function (value) { + if (_view[value] === undefined) { + return; + } + + return _view[value].decoration.toLowerCase(); + }; } 'use strict'; @@ -1689,26 +1708,25 @@ function GlancesPluginProcesslistController($scope, GlancesStats, GlancesPluginH 'use strict'; -glancesApp.component('glancesPluginQuicklook', { - controller: GlancesPluginQuicklookController, +glancesApp.component('glancesPluginProcesscount', { + controller: GlancesPluginProcesscountController, controllerAs: 'vm', - templateUrl: 'components/plugin-quicklook/view.html' + bindings: { + sorter: '<' + }, + templateUrl: 'components/plugin-processcount/view.html' }); 'use strict'; -function GlancesPluginQuicklookController($scope, GlancesStats, ARGUMENTS) { +function GlancesPluginProcesscountController($scope, GlancesStats) { var vm = this; - vm.arguments = ARGUMENTS; - var _view = {}; - vm.mem = null; - vm.cpu = null; - vm.cpu_name = null; - vm.cpu_hz_current = null; - vm.cpu_hz = null; - vm.swap = null; - vm.percpus = []; + vm.total = null; + vm.running = null; + vm.sleeping = null; + vm.stopped = null; + vm.thread = null; vm.$onInit = function () { loadData(GlancesStats.getData()); @@ -1719,31 +1737,60 @@ function GlancesPluginQuicklookController($scope, GlancesStats, ARGUMENTS) { }); var loadData = function (data) { - var stats = data.stats['quicklook']; - _view = data.views['quicklook']; + var processcountStats = data.stats['processcount']; - vm.mem = stats.mem; - vm.cpu = stats.cpu; - vm.cpu_name = stats.cpu_name; - vm.cpu_hz_current = stats.cpu_hz_current; - vm.cpu_hz = stats.cpu_hz; - vm.swap = stats.swap; - vm.percpus = []; + vm.total = processcountStats['total'] || 0; + vm.running = processcountStats['running'] || 0; + vm.sleeping = processcountStats['sleeping'] || 0; + vm.stopped = processcountStats['stopped'] || 0; + vm.thread = processcountStats['thread'] || 0; + } +} - angular.forEach(stats.percpu, function (cpu) { - vm.percpus.push({ - 'number': cpu.cpu_number, - 'total': cpu.total - }); - }, this); +'use strict'; + +glancesApp.component('glancesPluginSensors', { + controller: GlancesPluginSensorsController, + controllerAs: 'vm', + templateUrl: 'components/plugin-sensors/view.html' +}); + +'use strict'; + +function GlancesPluginSensorsController($scope, GlancesStats, GlancesPluginHelper, ARGUMENTS) { + var vm = this; + vm.sensors = []; + var convertToFahrenheit = ARGUMENTS.fahrenheit; + + vm.$onInit = function () { + loadData(GlancesStats.getData()); }; - vm.getDecoration = function (value) { - if (_view[value] === undefined) { - return; - } + $scope.$on('data_refreshed', function (event, data) { + loadData(data); + }); - return _view[value].decoration.toLowerCase(); + var loadData = function (data) { + var stats = data.stats['sensors']; + + _.remove(stats, function (sensor) { + return (_.isArray(sensor.value) && _.isEmpty(sensor.value)) || sensor.value === 0; + }); + + _.forEach(stats, function (sensor) { + if (convertToFahrenheit && sensor.type != 'battery' && sensor.type != 'fan_speed') { + sensor.value = parseFloat(sensor.value * 1.8 + 32).toFixed(1); + sensor.unit = 'F'; + } + }); + + vm.sensors = stats; + }; + + vm.getAlert = function (sensor) { + var current = sensor.type == 'battery' ? 100 - sensor.value : sensor.value; + + return GlancesPluginHelper.getAlert('sensors', 'sensors_' + sensor.type + '_', current); }; } @@ -1818,53 +1865,6 @@ function GlancesPluginRaidController($scope, GlancesStats) { 'use strict'; -glancesApp.component('glancesPluginSensors', { - controller: GlancesPluginSensorsController, - controllerAs: 'vm', - templateUrl: 'components/plugin-sensors/view.html' -}); - -'use strict'; - -function GlancesPluginSensorsController($scope, GlancesStats, GlancesPluginHelper, ARGUMENTS) { - var vm = this; - vm.sensors = []; - var convertToFahrenheit = ARGUMENTS.fahrenheit; - - vm.$onInit = function () { - loadData(GlancesStats.getData()); - }; - - $scope.$on('data_refreshed', function (event, data) { - loadData(data); - }); - - var loadData = function (data) { - var stats = data.stats['sensors']; - - _.remove(stats, function (sensor) { - return (_.isArray(sensor.value) && _.isEmpty(sensor.value)) || sensor.value === 0; - }); - - _.forEach(stats, function (sensor) { - if (convertToFahrenheit && sensor.type != 'battery' && sensor.type != 'fan_speed') { - sensor.value = sensor.value * 1.8 + 32; - sensor.unit = 'F'; - } - }); - - vm.sensors = stats; - }; - - vm.getAlert = function (sensor) { - var current = sensor.type == 'battery' ? 100 - sensor.value : sensor.value; - - return GlancesPluginHelper.getAlert('sensors', 'sensors_' + sensor.type + '_', current); - }; -} - -'use strict'; - glancesApp.component('glancesPluginSystem', { controller: GlancesPluginSystemController, controllerAs: 'vm', @@ -1910,33 +1910,6 @@ function GlancesPluginSystemController($scope, GlancesStats) { 'use strict'; -glancesApp.component('glancesPluginUptime', { - controller: GlancesPluginUptimeController, - controllerAs: 'vm', - templateUrl: 'components/plugin-uptime/view.html' -}); - -'use strict'; - -function GlancesPluginUptimeController($scope, GlancesStats) { - var vm = this; - vm.value = null; - - vm.$onInit = function () { - loadData(GlancesStats.getData()); - }; - - $scope.$on('data_refreshed', function (event, data) { - loadData(data); - }); - - var loadData = function (data) { - vm.value = data.stats['uptime']; - } -} - -'use strict'; - glancesApp.component('glancesPluginWifi', { controller: GlancesPluginWifiController, controllerAs: 'vm', @@ -1991,3 +1964,30 @@ function GlancesPluginWifiController($scope, $filter, GlancesStats) { return _view[hotpost.ssid][field].decoration.toLowerCase(); }; } + +'use strict'; + +glancesApp.component('glancesPluginUptime', { + controller: GlancesPluginUptimeController, + controllerAs: 'vm', + templateUrl: 'components/plugin-uptime/view.html' +}); + +'use strict'; + +function GlancesPluginUptimeController($scope, GlancesStats) { + var vm = this; + vm.value = null; + + vm.$onInit = function () { + loadData(GlancesStats.getData()); + }; + + $scope.$on('data_refreshed', function (event, data) { + loadData(data); + }); + + var loadData = function (data) { + vm.value = data.stats['uptime']; + } +} diff --git a/glances/outputs/static/public/js/templates.min.js b/glances/outputs/static/public/js/templates.min.js index b71be411..3baf97dd 100644 --- a/glances/outputs/static/public/js/templates.min.js +++ b/glances/outputs/static/public/js/templates.min.js @@ -6,24 +6,24 @@ $templateCache.put('components/plugin-cloud/view.html','
\n $templateCache.put('components/plugin-cpu/view.html','
\n
\n
\n
\n
\n
CPU
\n
{{ vm.total }}%
\n
\n
\n
user:
\n
\n {{ vm.user }}%\n
\n
\n
\n
system:
\n
\n {{ vm.system }}%\n
\n
\n
\n
idle:
\n
{{ vm.idle }}%
\n
\n
\n
\n \n \n
\n
\n'); $templateCache.put('components/plugin-diskio/view.html','
\n
DISK I/O
\n
R/s
\n
W/s
\n\n
IOR/s
\n
IOW/s
\n
\n
\n
{{(disk.alias ? disk.alias : disk.name) | min_size:9}}
\n
{{disk.bitrate.txps }}
\n
{{disk.bitrate.rxps }}
\n\n
{{disk.count.txps }}
\n
{{disk.count.rxps }}
\n
\n'); $templateCache.put('components/plugin-docker/view.html','
\n CONTAINERS {{ vm.containers.length }} (served by Docker {{ vm.version }})\n\n
\n
\n
Name
\n
Status
\n
CPU%
\n
MEM
\n
IOR/s
\n
IOW/s
\n
RX/s
\n
TX/s
\n
Command
\n
\n
\n
{{ container.name }}
\n
{{ container.status }}\n
\n
{{ container.cpu | number:1 }}
\n
{{ container.memory | bytes }}
\n
{{ container.ior / container.io_time_since_update | bits }}
\n
{{ container.iow / container.io_time_since_update | bits }}
\n
{{ container.rx / container.net_time_since_update | bits }}
\n
{{ container.tx / container.net_time_since_update | bits }}
\n
{{ container.command }}
\n
\n
\n
\n'); -$templateCache.put('components/plugin-folders/view.html','
\n
FOLDERS
\n
Size
\n
\n
\n
{{ folder.path }}
\n
{{ folder.size | bytes }}
\n
\n'); $templateCache.put('components/plugin-fs/view.html','
\n
FILE SYS
\n
\n Used\n Free\n
\n
Total
\n
\n
\n
{{ fs.shortMountPoint }} ({{ fs.name }})\n
\n
\n {{ fs.used | bytes }}\n {{ fs.free | bytes }}\n
\n
{{ fs.size | bytes }}
\n
\n'); $templateCache.put('components/plugin-gpu/view.html','
\n
\n {{ vm.name }}\n
\n
\n
\n
proc:
\n
{{ vm.mean.proc |\n number : 0 }}%\n
\n
N/A
\n
\n
\n
mem:
\n
{{ vm.mean.mem | number :\n 0 }}%\n
\n
N/A
\n
\n
\n
\n {{ gpu.gpu_id }}:\n {{ gpu.proc | number : 0 }}%\n N/A\n mem:\n {{ gpu.mem | number : 0 }}%\n N/A\n
\n
\n
\n
\n'); +$templateCache.put('components/plugin-folders/view.html','
\n
FOLDERS
\n
Size
\n
\n
\n
{{ folder.path }}
\n
{{ folder.size | bytes }}
\n
\n'); $templateCache.put('components/plugin-ip/view.html','
\n  - IP {{ vm.address }}/{{ vm.maskCidr }} Pub {{ vm.publicAddress }}\n
\n'); $templateCache.put('components/plugin-irq/view.html','
\n
IRQ
\n
\n
Rate/s
\n
\n
\n
{{irq.irq_line}}
\n
\n
{{irq.irq_rate}}
\n
\n'); -$templateCache.put('components/plugin-load/view.html','
\n
\n
\n
LOAD
\n
{{ vm.cpucore }}-core
\n
\n
\n
1 min:
\n
\n {{ vm.min1 | number : 2}}\n
\n
\n
\n
5 min:
\n
\n {{ vm.min5 | number : 2}}\n
\n
\n
\n
15 min:
\n
\n {{ vm.min15 | number : 2}}\n
\n
\n
\n
\n'); $templateCache.put('components/plugin-mem/view.html','
\n
\n
\n
MEM
\n
{{ vm.percent }}%
\n
\n
\n
total:
\n
{{ vm.total | bytes }}
\n
\n
\n
used:
\n
\n {{ vm.used | bytes:2 }}\n
\n
\n
\n
free:
\n
{{ vm.free | bytes }}
\n
\n
\n
\n'); $templateCache.put('components/plugin-mem-more/view.html','
\n
\n
\n
active:
\n
{{ vm.active | bytes }}
\n
\n
\n
inactive:
\n
{{ vm.inactive | bytes }}
\n
\n
\n
buffers:
\n
{{ vm.buffers | bytes }}
\n
\n
\n
cached:
\n
{{ vm.cached | bytes }}
\n
\n
\n
\n'); +$templateCache.put('components/plugin-load/view.html','
\n
\n
\n
LOAD
\n
{{ vm.cpucore }}-core
\n
\n
\n
1 min:
\n
\n {{ vm.min1 | number : 2}}\n
\n
\n
\n
5 min:
\n
\n {{ vm.min5 | number : 2}}\n
\n
\n
\n
15 min:
\n
\n {{ vm.min15 | number : 2}}\n
\n
\n
\n
\n'); $templateCache.put('components/plugin-memswap/view.html','
\n
\n
\n
SWAP
\n
{{ vm.percent }}%
\n
\n
\n
total:
\n
{{ vm.total | bytes }}
\n
\n
\n
used:
\n
\n {{ vm.used | bytes }}\n
\n
\n
\n
free:
\n
{{ vm.free | bytes }}
\n
\n
\n
\n'); $templateCache.put('components/plugin-network/view.html','
\n
NETWORK
\n
Rx/s
\n
Tx/s
\n\n
\n
Rx+Tx/s
\n\n
Rx
\n
Tx
\n\n
\n
Rx+Tx
\n
\n
\n
{{ network.interfaceName | min_size }}
\n
{{ vm.arguments.byte ?\n (network.rx / network.time_since_update | bytes) : (network.rx / network.time_since_update | bits) }}\n
\n
{{ vm.arguments.byte ?\n (network.tx / network.time_since_update | bytes) : (network.tx / network.time_since_update | bits) }}\n
\n\n
\n
{{ vm.arguments.byte ?\n (network.cx / network.time_since_update | bytes) : (network.cx / network.time_since_update | bits) }}\n
\n\n
{{ vm.arguments.byte ?\n (network.cumulativeRx | bytes) : (network.cumulativeRx | bits) }}\n
\n
{{ vm.arguments.byte ?\n (network.cumulativeTx | bytes) : (network.cumulativeTx | bits) }}\n
\n\n
\n
{{ vm.arguments.byte ?\n (network.cumulativeCx | bytes) : (network.cumulativeCx | bits) }}\n
\n
\n'); $templateCache.put('components/plugin-percpu/view.html','
\n
\n
\n
PER CPU
\n
{{ percpu.total }}%
\n
\n
\n
user:
\n
\n {{ percpu.user }}%\n
\n
\n
\n
system:
\n
\n {{ percpu.system }}%\n
\n
\n
\n
idle:
\n
{{ percpu.idle }}%
\n
\n
\n
iowait:
\n
\n {{ percpu.iowait }}%\n
\n
\n
\n
steal:
\n
\n {{ percpu.steal }}%\n
\n
\n
\n
\n'); $templateCache.put('components/plugin-ports/view.html','
\n
{{(port.description ? port.description : port.host + \' \' + port.port) | min_size:\n 20}}\n
\n
\n
\n Scanning\n Timeout\n Open\n {{port.status * 1000.0 | number:0}}ms\n
\n
'); $templateCache.put('components/plugin-process/view.html','
\n \n
\n
\n \n
\n
\n \n
\n
PROCESSES DISABLED (press \'z\' to display)
\n'); -$templateCache.put('components/plugin-processcount/view.html','
\n TASKS\n {{ vm.total }} ({{ vm.thread }} thr),\n {{ vm.running }} run,\n {{ vm.sleeping }} slp,\n {{ vm.stopped }} oth\n sorted {{ vm.sorter.auto ? \'automatically\' : \'\' }} by {{ vm.sorter.getColumnLabel(vm.sorter.column) }}, flat view\n
'); -$templateCache.put('components/plugin-processlist/view.html','
\n
\n
\n
CPU%
\n
MEM%
\n \n \n
PID
\n
USER
\n
NI
\n
S
\n \n \n \n
Command
\n
\n
\n
{{process.cpu_percent | number:1}}
\n
{{process.memory_percent | number:1}}\n
\n \n \n
{{process.pid}}
\n
{{process.username}}
\n
{{process.nice | exclamation}}
\n
{{process.status}}
\n \n \n \n
{{process.name}}
\n
{{process.cmdline}}
\n
\n
\n
\n'); $templateCache.put('components/plugin-quicklook/view.html','
\n
\n {{ vm.cpu_name }}\n
\n
\n
\n
CPU
\n
\n
\n
\n  \n
\n
\n
\n
\n {{ vm.cpu }}%\n
\n
\n
\n
CPU{{ percpu.number }}
\n
\n
\n
\n  \n
\n
\n
\n
\n {{ percpu.total }}%\n
\n
\n
\n
MEM
\n
\n
\n
\n  \n
\n
\n
\n
\n {{ vm.mem }}%\n
\n
\n
\n
SWAP
\n
\n
\n
\n  \n
\n
\n
\n
\n {{ vm.swap }}%\n
\n
\n
\n
\n'); -$templateCache.put('components/plugin-raid/view.html','
\n
RAID disks
\n
Used
\n
Total
\n
\n
\n
\n {{ disk.type | uppercase }} {{ disk.name }}\n
\u2514\u2500 Degraded mode
\n
   \u2514\u2500 {{ disk.config }}
\n\n
\u2514\u2500 Status {{ disk.status }}
\n
\n    {{ $last ? \'\u2514\u2500\' : \'\u251C\u2500\' }} disk {{ component.number }}: {{ component.name }}\n
\n
\n
{{ disk.used }}
\n
{{ disk.available }}
\n
\n'); +$templateCache.put('components/plugin-processlist/view.html','
\n
\n
\n
CPU%
\n
MEM%
\n \n \n
PID
\n
USER
\n
NI
\n
S
\n \n \n \n
Command
\n
\n
\n
{{process.cpu_percent | number:1}}
\n
{{process.memory_percent | number:1}}\n
\n \n \n
{{process.pid}}
\n
{{process.username}}
\n
{{process.nice | exclamation}}
\n
{{process.status}}
\n \n \n \n
{{process.name}}
\n
{{process.cmdline}}
\n
\n
\n
\n'); +$templateCache.put('components/plugin-processcount/view.html','
\n TASKS\n {{ vm.total }} ({{ vm.thread }} thr),\n {{ vm.running }} run,\n {{ vm.sleeping }} slp,\n {{ vm.stopped }} oth\n sorted {{ vm.sorter.auto ? \'automatically\' : \'\' }} by {{ vm.sorter.getColumnLabel(vm.sorter.column) }}, flat view\n
'); $templateCache.put('components/plugin-sensors/view.html','
\n
SENSORS
\n
\n\n
\n
{{ sensor.label }}
\n
{{ sensor.unit }}
\n
{{ sensor.value }}
\n
\n'); +$templateCache.put('components/plugin-raid/view.html','
\n
RAID disks
\n
Used
\n
Total
\n
\n
\n
\n {{ disk.type | uppercase }} {{ disk.name }}\n
\u2514\u2500 Degraded mode
\n
   \u2514\u2500 {{ disk.config }}
\n\n
\u2514\u2500 Status {{ disk.status }}
\n
\n    {{ $last ? \'\u2514\u2500\' : \'\u251C\u2500\' }} disk {{ component.number }}: {{ component.name }}\n
\n
\n
{{ disk.used }}
\n
{{ disk.available }}
\n
\n'); $templateCache.put('components/plugin-system/view.html','
\n Disconnected from\n {{ vm.hostname }}\n \n \n
\n'); -$templateCache.put('components/plugin-uptime/view.html','
\n Uptime: {{ vm.value }}\n
\n'); -$templateCache.put('components/plugin-wifi/view.html','
\n
WIFI
\n
\n
dBm
\n
\n
\n
{{ hotspot.ssid|limitTo:20 }} {{ hotspot.encryption_type }}\n
\n
\n
{{ hotspot.signal }}
\n
\n');}]); \ No newline at end of file +$templateCache.put('components/plugin-wifi/view.html','
\n
WIFI
\n
\n
dBm
\n
\n
\n
{{ hotspot.ssid|limitTo:20 }} {{ hotspot.encryption_type }}\n
\n
\n
{{ hotspot.signal }}
\n
\n'); +$templateCache.put('components/plugin-uptime/view.html','
\n Uptime: {{ vm.value }}\n
\n');}]); \ No newline at end of file