mirror of https://github.com/nicolargo/glances
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
commit
3816c76017
|
@ -51,7 +51,7 @@
|
|||
<section id="diskio" class="plugin table-row-group" ng-show="!arguments.disable_diskio && statsDiskio.disks.length > 0" ng-include src="'plugins/diskio.html'"></section>
|
||||
|
||||
<section id="fs" class="plugin table-row-group" ng-show="!arguments.disable_fs" ng-include src="'plugins/fs.html'"></section>
|
||||
<section id="irq" class="plugin table-row-group" ng-show="!arguments.disable_irq && statsIrq.irqs.length > 0" ng-include src="'plugins/irq.html'"></section>
|
||||
<section id="irq" class="plugin table-row-group" ng-show="arguments.enable_irq && statsIrq.irqs.length > 0" ng-include src="'plugins/irq.html'"></section>
|
||||
<section id="folders" class="plugin table-row-group" ng-show="!arguments.disable_fs && statsFolders.folders.length > 0" ng-include src="'plugins/folders.html'"></section>
|
||||
<section id="raid" class="plugin table-row-group" ng-show="statsRaid.hasDisks()" ng-include src="'plugins/raid.html'"></section>
|
||||
<section id="sensors" class="plugin table-row-group" ng-show="!arguments.disable_sensors && statsSensors.sensors.length > 0" ng-include src="'plugins/sensors.html'"></section>
|
||||
|
|
|
@ -113,7 +113,7 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval
|
|||
break;
|
||||
case $event.shiftKey && $event.keyCode == keycodes.Q:
|
||||
// Q => Show/hide IRQ
|
||||
$scope.arguments.disable_irq = !$scope.arguments.disable_irq;
|
||||
$scope.arguments.enable_irq = !$scope.arguments.enable_irq;
|
||||
break;
|
||||
case !$event.shiftKey && $event.keyCode == keycodes.f:
|
||||
// f => Show/hide filesystem stats
|
||||
|
|
|
@ -30,5 +30,5 @@ var keycodes = {
|
|||
'r' : '82',
|
||||
'q' : '81',
|
||||
'A' : '65',
|
||||
'R' : '82',
|
||||
'Q' : '81'
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ glancesApp.controller('statsController', ["$scope", "$rootScope", "$interval", "
|
|||
break;
|
||||
case $event.shiftKey && $event.keyCode == keycodes.Q:
|
||||
// Q => Show/hide IRQ
|
||||
$scope.arguments.disable_irq = !$scope.arguments.disable_irq;
|
||||
$scope.arguments.enable_irq = !$scope.arguments.enable_irq;
|
||||
break;
|
||||
case !$event.shiftKey && $event.keyCode == keycodes.f:
|
||||
// f => Show/hide filesystem stats
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<section id="diskio" class="plugin table-row-group" ng-show="!arguments.disable_diskio && statsDiskio.disks.length > 0" ng-include src="'plugins/diskio.html'"></section>
|
||||
|
||||
<section id="fs" class="plugin table-row-group" ng-show="!arguments.disable_fs" ng-include src="'plugins/fs.html'"></section>
|
||||
<section id="irq" class="plugin table-row-group" ng-show="!arguments.disable_irq && statsIrq.irqs.length > 0" ng-include src="'plugins/irq.html'"></section>
|
||||
<section id="irq" class="plugin table-row-group" ng-show="arguments.enable_irq && statsIrq.irqs.length > 0" ng-include src="'plugins/irq.html'"></section>
|
||||
<section id="folders" class="plugin table-row-group" ng-show="!arguments.disable_fs && statsFolders.folders.length > 0" ng-include src="'plugins/folders.html'"></section>
|
||||
<section id="raid" class="plugin table-row-group" ng-show="statsRaid.hasDisks()" ng-include src="'plugins/raid.html'"></section>
|
||||
<section id="sensors" class="plugin table-row-group" ng-show="!arguments.disable_sensors && statsSensors.sensors.length > 0" ng-include src="'plugins/sensors.html'"></section>
|
||||
|
|
Loading…
Reference in New Issue