Reskin: Fix #2008 - Dropdowns on create entity not displaying properly

This commit is contained in:
gkrishnan724 2017-03-06 21:41:07 +05:30
parent ac616dedef
commit c86d154346
3 changed files with 17 additions and 12 deletions

View File

@ -1,16 +1,17 @@
/* @import this file */
/* @import this file */
.chosen-container-active.chosen-with-drop .chosen-single{
.chosen-container-active .chosen-with-drop .chosen-single{
background:#fff;
}
.chosen-container-single .chosen-single{
.chosen-container-single .chosen-single {
background:#fff;
border:1px solid #e0e0e0;
border-radius:0;
height:30px;
box-shadow:none;
padding:2px 0 0 10px;
min-width: 220px !important;
}
.chosen-container-single.input-xs .chosen-single{
@ -28,6 +29,7 @@
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(97, 161, 215, 0.60);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(102, 175, 233, 0.6);
min-width: 220px !important;
}
.chosen-container-multi .chosen-choices{
@ -59,4 +61,5 @@
.chosen-container .chosen-results li.highlighted{
background: $brand-info !important;
}

View File

@ -7793,7 +7793,7 @@ span.required {
/* @import this file */
/* @import this file */
.chosen-container-active.chosen-with-drop .chosen-single {
.chosen-container-active .chosen-with-drop .chosen-single {
background: #fff; }
.chosen-container-single .chosen-single {
@ -7802,7 +7802,8 @@ span.required {
border-radius: 0;
height: 30px;
box-shadow: none;
padding: 2px 0 0 10px; }
padding: 2px 0 0 10px;
min-width: 220px !important; }
.chosen-container-single.input-xs .chosen-single {
height: 24px;
@ -7817,7 +7818,8 @@ span.required {
.chosen-container.chosen-container-active {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(97, 161, 215, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(102, 175, 233, 0.6); }
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(102, 175, 233, 0.6);
min-width: 220px !important; }
.chosen-container-multi .chosen-choices {
border: 1px solid #e0e0e0;

View File

@ -6,7 +6,7 @@
<input ng-model="filterText" type="text" class="form-control" ng-keyup="onFilter()" placeholder="{{'label.input.filterbyname' | translate}}">
<a data-ng-click="createDatatableCheck()" class="btn btn-primary pull-right" has-permission='CREATE_ENTITY_DATATABLE_CHECK'><i
class="icon-plus icon-white"></i>&nbsp;{{'label.button.createdatatablecheck' | translate}}</a>
class="fa fa-plus"></i>&nbsp;{{'label.button.createdatatablecheck' | translate}}</a>
<table class="table">
<thead>
<tr class="graybg">
@ -26,7 +26,7 @@
<td>{{entityDatatableCheck.status.value}}</td>
<td>{{entityDatatableCheck.systemDefined}}</td>
<td><a class="btn btn-sm btn-danger" data-ng-click="deleteDataTableCheck(entityDatatableCheck.id)" has-permission='DELETE_ENTITY_DATATABLE_CHECK'><i
class="icon-trash icon-white"></i></a></td>
class="fa fa-trash-o "></i></a></td>
</tr>
</tbody>
</table>
@ -48,7 +48,7 @@
<select id="checkEntity"
name="checkEntity"
chosen="entities"
ng-model="$parent.checkForm.entity"
ng-model="checkForm.entity"
class="form-control" required
ng-options="entity | translate for entity in entities"
value="{{entity}}"
@ -69,7 +69,7 @@
<select id="checkStatus"
name="checkStatus"
chosen="statusList"
ng-model="$parent.checkForm.status"
ng-model="checkForm.status"
class="form-control" required
ng-options="status.code as status.name for status in statusList"
value="{{status.code}}"
@ -90,7 +90,7 @@
<select id="checkDatatable"
name="checkDatatable"
chosen="filteredDatatables"
ng-model="$parent.checkForm.datatableName"
ng-model="checkForm.datatableName"
class="form-control" required
ng-options="datatable.dataTableName as datatable.dataTableName for datatable in filteredDatatables"
value="{{datatable.dataTableName}}"
@ -104,13 +104,13 @@
</div>
<br/>
<br/>
<div class="form-group" ng-if="products">
<div class="form-group" ng-if="checkForm.entity == 'm_loan' || checkForm.entity == 'm_savings_account'">
<label class="control-label col-sm-3">{{'label.input.product' | translate}}</label>
<div class="col-sm-3">
<select id="checkProduct"
name="checkProduct"
chosen="products"
ng-model="$parent.checkForm.productId"
ng-model="checkForm.productId"
class="form-control" required
ng-options="product.id as product.name for product in products"
value="{{product.id}}"