Changed shown fields form to two columns
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
dfb2b0b3d8
commit
5beeab36b1
|
@ -67,11 +67,12 @@
|
|||
data="$ctrl.viewConfig"
|
||||
auto-load="true">
|
||||
</vn-crud-model>
|
||||
<vn-popover class="modal-form" vn-id="smart-table-columns" message="Fields to show">
|
||||
<vn-popover vn-id="smart-table-columns" message="Fields to show">
|
||||
<tpl-body>
|
||||
<div class="vn-pa-md">
|
||||
<vn-horizontal ng-repeat="column in $ctrl.columns">
|
||||
<vn-check vn-one
|
||||
<div class="smart-table-columns vn-pa-md vn-w-xs">
|
||||
<h6 class="vn-mb-sm">Check the columns you want to see</h6>
|
||||
<vn-horizontal class="vn-mb-md">
|
||||
<vn-check ng-repeat="column in $ctrl.columns"
|
||||
label="{{column.caption}}"
|
||||
ng-model="$ctrl.viewConfig[0].configuration[column.field]">
|
||||
</vn-check>
|
||||
|
|
|
@ -86,3 +86,19 @@ smart-table {
|
|||
background-color: $color-primary-light
|
||||
}
|
||||
}
|
||||
|
||||
.smart-table-columns {
|
||||
h6 {
|
||||
color: $color-font-secondary
|
||||
}
|
||||
|
||||
& > vn-horizontal {
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
vn-check {
|
||||
flex: initial;
|
||||
width: 50%
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue