Fix style

This commit is contained in:
JuanCarlos 2019-02-15 12:53:26 +01:00
parent aadc25db34
commit a0a26d025a
4 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<div layout="column" layout-align="start">
<div layout="row" class="wz-margin-top-8 md-padding-h">
<div layout="row" ng-class="hideClose ? ['wz-margin-top-8', 'md-padding-h'] : ''">
<span ng-if="!hideClose" ng-click='closeFn()' class='btn btn-info wz-margin-right-8'>Cancel</span>
<button ng-disabled='items.length === 0 || (currentList.new && !currentList.newName)' ng-click='saveList()'
class='btn wz-button pull-right'>
@ -9,8 +9,9 @@
type="text" class="kuiLocalSearchInput ng-empty ng-pristine ng-scope ng-touched ng-valid wz-margin-left-8"
aria-invalid="false">
</div>
<div layout="row" class="wz-padding-left-8 wz-padding-right-8" layout-align="start stretch">
<md-card flex class="wz-md-card">
<div layout="row" ng-class="hideClose ? ['wz-padding-left-8', 'wz-padding-right-8'] : ['wz-padding-top-14']"
layout-align="start stretch">
<md-card flex class="wz-md-card" ng-class="{ 'wz-no-margin' : !hideClose }">
<md-card-content>
<div layout="row">
<input placeholder="Filter entries..." ng-model="searchTerm" ng-change="filterTable()" type="text"

View File

@ -1,4 +1,4 @@
<div ng-if="cdbctrl.viewingDetail" layout="column" class="">
<div ng-if="cdbctrl.viewingDetail" layout="column" ng-class="{ 'md-padding' : cdbctrl.addingList }">
<!-- Back button and title -->
<div layout="row" layout-align="start center">
<!-- Back button -->

View File

@ -58,7 +58,7 @@
</div>
<div layout="row" ng-if="dctrl.newFile" class="wz-padding-bottom-14">
<span ng-click='dctrl.closeEditingFile()' class='btn btn-info'>Cancel</span>
<button ng-disabled='dctrl.xmlHasErrors' ng-click='dctrl.doSaveConfig(true,dctrl.newFileName)' class='btn wz-button pull-right wz-margin-left-8'>
<button ng-disabled='dctrl.xmlHasErrors || dctrl.newFileName === ""' ng-click='dctrl.doSaveConfig(true,dctrl.newFileName)' class='btn wz-button pull-right wz-margin-left-8'>
<span ng-show='!dctrl.xmlHasErrors'><i aria-hidden='true' class='fa fa-fw fa-save'></i>Save
file</span>
<span ng-show='dctrl.xmlHasErrors' class='btn-danger'><i aria-hidden='true' class='fa fa-fw fa-exclamation-triangle'></i>

View File

@ -75,7 +75,7 @@
</div>
<div layout="row" ng-if="newFile" class="wz-padding-bottom-14">
<span ng-click='closeEditingFile()' class='btn btn-info'>Cancel</span>
<button ng-disabled='xmlHasErrors' ng-click='doSaveConfig(true,newFileName)' class='btn wz-button pull-right wz-margin-left-8'>
<button ng-disabled='xmlHasErrors || newFileName === ""' ng-click='doSaveConfig(true,newFileName)' class='btn wz-button pull-right wz-margin-left-8'>
<span ng-show='!xmlHasErrors'><i aria-hidden='true' class='fa fa-fw fa-save'></i>Save
file</span>
<span ng-show='xmlHasErrors' class='btn-danger'><i aria-hidden='true' class='fa fa-fw fa-exclamation-triangle'></i>