mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
Xml file editor error in header
This commit is contained in:
parent
ed9df9b621
commit
b9e61ecfb1
@ -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>
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user