* refactor usage of chosen options.

This commit is contained in:
Hao Sun
2021-08-13 10:12:43 +08:00
parent fd8f131829
commit 23b5655055
2 changed files with 2 additions and 3 deletions

View File

@@ -2,11 +2,10 @@
.side-col {padding-right: 20px; width: 18%;}
#sidebar>.cell {width: 100%;}
th.c-budget,{text-align:right;}
th.c-budget {text-align:right;}
td.c-actions {overflow: visible;}
.c-actions .btn {overflow: visible;}
#programBox {float: left; margin-right: 10px; width: 170px !important;}
#programID_chosen div.chosen-drop.chosen-auto-max-width.in {width: 450px !important;}
#switchButton {background: #fff !important;}
.icon-cards-view {padding-left: 7px; font-size: 16px;}
.icon-list {padding-left: 7px;}

View File

@@ -54,7 +54,7 @@
</style>
<div id="mainMenu" class="clearfix table-row">
<div class="btn-toolBar pull-left">
<div class="input-control w-150px" id='programBox'><?php echo html::select('programID', $programs, $programID, "onchange=changeProgram(this.value) class='form-control chosen' data-placeholder='{$lang->project->selectProgram}'");?></div>
<div class="input-control w-150px" id='programBox'><?php echo html::select('programID', $programs, $programID, "onchange=changeProgram(this.value) class='form-control chosen' data-placeholder='{$lang->project->selectProgram}' data-drop_width='450' data-max_drop_width='0'");?></div>
<?php foreach($lang->project->featureBar as $key => $label):?>
<?php $active = $browseType == $key ? 'btn-active-text' : '';?>
<?php $label = "<span class='text'>$label</span>";?>