summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers
diff options
context:
space:
mode:
authorMichael Davis <michael.s.davis@ibm.com>2017-07-13 11:23:16 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-20 13:14:23 -0500
commit46f0a1f89a2bbc2470b2b86f67516a09ea386da5 (patch)
tree1fdfb04acf522680c1e98225b8f2dccc1fac2a22 /app/server-control/controllers
parent040a9dca61e32c8408731c901457bc0609c3e10c (diff)
downloadphosphor-webui-46f0a1f89a2bbc2470b2b86f67516a09ea386da5.tar.gz
phosphor-webui-46f0a1f89a2bbc2470b2b86f67516a09ea386da5.zip
Style changes for power-ops page
- numerous incorrect CSS classes. - compacting space to make page height shorter. Change-Id: Ia40d82dea3eda30ebd3515d1c91c406b054aa5ae Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/server-control/controllers')
-rw-r--r--app/server-control/controllers/power-operations-controller.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/server-control/controllers/power-operations-controller.html b/app/server-control/controllers/power-operations-controller.html
index 54c31fc..7f61435 100644
--- a/app/server-control/controllers/power-operations-controller.html
+++ b/app/server-control/controllers/power-operations-controller.html
@@ -19,36 +19,36 @@
</div>
<div class="row column">
<div class="row column">
- <h3 class="h4">Select a power operation</h3>
+ <h3 class="h4 subhead">Select a power operation</h3>
</div>
<!-- Power on displays only when server is shutdown -->
<div class="row column power-option" ng-hide="dataService.server_state == 'Running' || dataService.server_state == 'Quiesced'" ng-class="{disabled: dataService.server_unreachable || (confirm && !power_confirm) || dataService.loading, transitionAll: confirm && power_confirm}">
- <button id="power__power-on" class="btn-secondary" ng-click="togglePower()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg">Power on</button>
- <p>Attempts to power on the server</p>
+ <button id="power__power-on" class="btn-secondary inline" ng-click="togglePower()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg">Power on</button>
+ <p class="inline">Attempts to power on the server</p>
<!---<confirm title="power off" message="Power off the server" confirm="power_confirm" ng-show="power_confirm" callback="togglePower"></confirm>-->
</div>
<!-- Power reboot/shutdown options : when server is off all of these are hidden. When one option is selected, the others are disabled. -->
<div class="row column power-option" ng-hide="dataService.server_state == 'Off'" ng-class="{disabled: dataService.server_unreachable || (confirm && !warmboot_confirm) || dataService.loading, transitionAll: confirm && warmboot_confirm}">
- <button id="power__warm-boot" class="btn-secondary" ng-click="warmRebootConfirm()" role="button" ng-disabled="dataService.server_unreachable"><i>&#x21BB</i> Warm reboot</button>
- <p>Attempts to perform an orderly shutdown before restarting the server</p>
+ <button id="power__warm-boot" class="btn-secondary inline" ng-click="warmRebootConfirm()" role="button" ng-disabled="dataService.server_unreachable"><i>&#x21BB</i> Warm reboot</button>
+ <p class="inline">Attempts to perform an orderly shutdown before restarting the server</p>
<confirm title="Warm Reboot" message="perform an orderly shutdown" confirm="warmboot_confirm" ng-show="warmboot_confirm" callback="warmReboot"></confirm>
</div>
<div class="row column power-option" ng-hide="dataService.server_state == 'Off'" ng-class="{disabled: dataService.server_unreachable || (confirm && !coldboot_confirm) || dataService.loading, transitionAll: confirm && coldboot_confirm}">
- <button id="power__cold-boot" class="btn-secondary" ng-click="coldRebootConfirm()" role="button" ng-disabled="dataService.server_unreachable"><i>&#x21BB</i> Cold reboot</button>
- <p>Shuts down the server immediately, then restarts it</p>
+ <button id="power__cold-boot" class="btn-secondary inline" ng-click="coldRebootConfirm()" role="button" ng-disabled="dataService.server_unreachable"><i>&#x21BB</i> Cold reboot</button>
+ <p class="inline">Shuts down the server immediately, then restarts it</p>
<confirm title="Cold Reboot" message="Shutdown server immediately." confirm="coldboot_confirm" ng-show="coldboot_confirm" cancel="coldbootCancel" callback="coldReboot"></confirm>
</div>
<div class="row column power-option" ng-hide="dataService.server_state == 'Off'" ng-class="{disabled: dataService.server_unreachable || (confirm && !orderly_confirm) || dataService.loading, transitionAll: confirm && orderly_confirm}">
- <button id="power__soft-shutdown" class="btn-secondary" ng-click="orderlyShutdownConfirm()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg" />Orderly shutdown</button>
- <p>Attempts to stop all software on the server before removing power</p>
+ <button id="power__soft-shutdown" class="btn-secondary inline" ng-click="orderlyShutdownConfirm()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg" />Orderly shutdown</button>
+ <p class="inline">Attempts to stop all software on the server before removing power</p>
<confirm title="Orderly shutdown" message="Attempts to stop all software orderly." confirm="orderly_confirm" ng-show="orderly_confirm" cancel="orderlyShutdownCancel" callback="orderlyShutdown"></confirm>
</div>
<div class="row column power-option" ng-hide="dataService.server_state == 'Off'" ng-class="{disabled: dataService.server_unreachable || (confirm && !immediately_confirm) || dataService.loading, transitionAll: confirm && immediately_confirm}">
- <button id="power__hard-shutdown" class="btn-secondary" ng-click="immediateShutdownConfirm()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg" />Immediate shutdown</button>
- <p>Removes power from the server without waiting for software to stop</p>
+ <button id="power__hard-shutdown" class="btn-secondary inline" ng-click="immediateShutdownConfirm()" role="button" ng-disabled="dataService.server_unreachable"><img src="assets/images/icon-power.svg" />Immediate shutdown</button>
+ <p class="inline">Removes power from the server without waiting for software to stop</p>
<confirm title="Immediate shutdown" message="Removes power from the server immediately." confirm="immediately_confirm" ng-show="immediately_confirm" cancel="immediatelyShutdownCancel" callback="immediateShutdown"></confirm>
</div>
</div>
OpenPOWER on IntegriCloud