Fix styling of the shutdown button
This commit is contained in:
parent
85d5dd806e
commit
5bc9cfaa6a
|
@ -746,3 +746,9 @@ a.flip {
|
|||
#modalLogout .modal-body {
|
||||
overflow:auto;
|
||||
}
|
||||
#shutdownButton {
|
||||
padding: 3px 10px 5px 10px;
|
||||
color: white;
|
||||
}
|
||||
#shutdownButton i {
|
||||
}
|
||||
|
|
|
@ -767,15 +767,13 @@ function getStatusBtnHTML($status) {
|
|||
$result = '';
|
||||
|
||||
if (canEdit('System')) {
|
||||
//$result .= '<li class="nav-item dropdown">'.PHP_EOL;
|
||||
$result .= '<li id="getStatusBtnHTML">'.PHP_EOL;
|
||||
$result .= '<button type="button" class="btn btn-default navbar-btn" id="stateModalBtn">' .$status. '</button>'.PHP_EOL;
|
||||
$result .= '</li>'.PHP_EOL;
|
||||
//$result .= '</li>'.PHP_EOL;
|
||||
|
||||
if (ZM_SYSTEM_SHUTDOWN) {
|
||||
$result .= '<li class="navbar-text pr-2 align-self-center">'.PHP_EOL;
|
||||
$result .= '<button class="btn btn-outline" data-on-click="getShutdownModal" data-toggle="tooltip" data-placement="top" title="' .translate("Shutdown"). '" ><i class="material-icons md-18">power_settings_new</i></button>'.PHP_EOL;
|
||||
$result .= '<li class="pr-2">'.PHP_EOL;
|
||||
$result .= '<button id="shutdownButton" class="btn btn-default navbar-btn" data-on-click="getShutdownModal" data-toggle="tooltip" data-placement="top" title="' .translate('Shutdown'). '"><i class="material-icons md-18">power_settings_new</i></button>'.PHP_EOL;
|
||||
$result .= '</li>'.PHP_EOL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue