* improve style of home button for app "devops".

This commit is contained in:
Hao Sun
2021-07-26 11:38:26 +08:00
parent 4d90a115cb
commit f2278a737e
+2 -1
View File
@@ -544,7 +544,8 @@ class commonModel extends model
if($config->systemMode == 'classic' and $openApp == 'execution') $icon = zget($lang->navIcons, 'project', '');
$link = helper::createLink($currentModule, $currentMethod);
$html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='btn'") : "$icon {$lang->$openApp->common}";
$className = $openApp == 'devops' ? 'btn num' : 'btn';
$html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='$className'") : "$icon {$lang->$openApp->common}";
echo "<div class='btn-group header-btn'>" . $html . '</div>';
}