* Adjust menu.

This commit is contained in:
wangyuting2
2022-08-03 13:32:41 +08:00
parent 19f44337d3
commit fa81472771
38 changed files with 121 additions and 91 deletions
+4 -2
View File
@@ -16,10 +16,12 @@
<div id="mainMenu" class="clearfix table-row">
<div class="btn-toolbar pull-left">
<?php
foreach($lang->build->featureBar as $featureType => $label)
foreach($lang->build->featureBar['browse'] as $featureType => $label)
{
$label = "<span class='text'>$label</span>";
$activeClass = $type == $featureType ? 'btn-active-text' : '';
echo html::a(inlink('build', "executionID=$executionID&type=$featureType"), "<span class='text'>$label</span> <span class='label label-light label-badge'>{$buildsTotal}</span>", '',"class='btn btn-link $activeClass' data-app={$app->tab} id='$featureType'");
if($type == $featureType) $label .= " <span class='label label-light label-badge'>{$buildsTotal}</span>";
echo html::a(inlink('build', "executionID=$executionID&type=$featureType"), $label, '',"class='btn btn-link $activeClass' data-app={$app->tab} id='$featureType'");
}
?>
<div class="input-control space w-150px"><?php echo html::select('product', $products, $product, "onchange='changeProduct(this.value)' class='form-control chosen' data-placeholder='{$lang->productCommon}'");?></div>