Add mx-2 classes to be consistent
This commit is contained in:
parent
5b8ff10a34
commit
97096d87f9
|
@ -569,7 +569,7 @@ function getShmHTML() {
|
|||
} else if ( $shm_percent > 90 ) {
|
||||
$class = 'text-warning';
|
||||
}
|
||||
$result .= ' <li id="getShmHTML" class="nav-item dropdown ' .$class. '" title="' .human_filesize($shm_used). ' of ' .human_filesize($shm_total_space). '">' .ZM_PATH_MAP. ': '.$shm_percent.'%</li>'.PHP_EOL;
|
||||
$result .= ' <li id="getShmHTML" class="nav-item dropdown mx-2' .$class. '" title="' .human_filesize($shm_used). ' of ' .human_filesize($shm_total_space). '">' .ZM_PATH_MAP. ': '.$shm_percent.'%</li>'.PHP_EOL;
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
@ -600,7 +600,7 @@ function getZMVersionHTML() {
|
|||
$result = '';
|
||||
|
||||
$class = (ZM_DYN_DB_VERSION&&(ZM_DYN_DB_VERSION!=ZM_VERSION))?'text-danger':'';
|
||||
$result .= '<li id="getZMVersionHTML" class="nav-item dropdown">'.
|
||||
$result .= '<li id="getZMVersionHTML" class="nav-item dropdown mx-2">'.
|
||||
makePopupLink('?view=version', 'zmVersion', 'version', '<span class="version ' .$class. '">v' .ZM_VERSION. '</span>', canEdit('System')).
|
||||
'</li>'.PHP_EOL;
|
||||
|
||||
|
@ -655,7 +655,7 @@ function getLogHTML() {
|
|||
if ( ZM\logToDatabase() > ZM\Logger::NOLOG ) {
|
||||
$logstate = logState();
|
||||
$class = ($logstate == 'ok') ? 'text-success' : ($logstate == 'alert' ? 'text-warning' : (($logstate == 'alarm' ? 'text-danger' : '')));
|
||||
$result .= '<li id="getLogHTML" class="nav-item dropdown">'.makePopupLink('?view=log', 'zmLog', 'log', '<span class="nav-link '.$class.'">'.translate('Log').'</span>').'</li>'.PHP_EOL;
|
||||
$result .= '<li id="getLogHTML" class="nav-item dropdown mx-2">'.makePopupLink('?view=log', 'zmLog', 'log', '<span class="nav-link '.$class.'">'.translate('Log').'</span>').'</li>'.PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue