Xml file editor error in header

This commit is contained in:
JuanCarlos 2019-02-22 11:11:45 +01:00
parent ed9df9b621
commit b9e61ecfb1
2 changed files with 11 additions and 6 deletions

View File

@ -1,15 +1,15 @@
<div class='wzXmlEditor'>
<div class='wzXmlEditorHeader'>
<span>Edit <b>{{fileName}}</b> of <b>{{targetName}}</b> <span tooltip='{{xmlError}}' class="wz-agent-status-indicator small red-text"
ng-if="xmlError">{{xmlError}}</span></span>
</div>
<div layout="row" ng-if="configError">
<div layout="row" ng-if="configError" class="extraHeader">
<md-list>
<md-list-item class="error-enum-configuration" ng-repeat="error in configError | unique: error">
<span class="wz-agent-status-indicator small red-text">{{error}}</span>
</md-list-item>
</md-list>
</div>
<div class='wzXmlEditorHeader'>
<span>Edit <b>{{fileName}}</b> of <b>{{targetName}}</b> <span tooltip='{{xmlError}}' class="wz-agent-status-indicator small red-text"
ng-if="xmlError">{{xmlError}}</span></span>
</div>
<div class='wzXmlEditorBody' ng-show='!loadingFile'>
<textarea id='xml_box'></textarea>
</div>

View File

@ -24,6 +24,7 @@
-webkit-box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
border-radius: 2px;
overflow: hidden;
}
.wzXmlEditorHeader{
padding: 15px;
@ -40,4 +41,8 @@
.groupContentViewer {
height: calc(~'100vh - 410px');
min-height: 300px;
}
}
.extraHeader{
border-bottom: 1px solid #d9d9d9;
}