Removes redundant html

This commit is contained in:
Jesús Ángel González 2018-02-19 12:01:15 +01:00 committed by Javier Castro
parent 28c14efb5d
commit 9d75a4a16c
5 changed files with 0 additions and 99 deletions

View File

@ -73,29 +73,6 @@
]"
>
</wz-table-header>
<!--<md-toolbar layout="row" class="wazuh-toolbar md-toolbar-tools">
<span flex="5" ng-click="agents.sort('id')">ID
<i class="fa" ng-class="agents.sortValue === 'id' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="15" ng-click="agents.sort('name')">Name
<i class="fa" ng-class="agents.sortValue === 'name' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="10" ng-click="agents.sort('ip')">IP
<i class="fa" ng-class="agents.sortValue === 'ip' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="10" ng-click="agents.sort('status')">Status
<i class="fa" ng-class="agents.sortValue === 'status' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="30" ng-click="agents.sort('os.platform')">OS platform
<i class="fa" ng-class="agents.sortValue === 'os' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="15" ng-click="agents.sort('os.version')">OS version
<i class="fa" ng-class="agents.sortValue === 'os' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
<span flex="15" ng-click="agents.sort('version')">Agent version
<i class="fa" ng-class="agents.sortValue === 'version' ? (agents.sortDir ? 'fa-sort-asc' : 'fa-sort-desc') : 'fa-sort'" aria-hidden="true"></i>
</span>
</md-toolbar>-->
<wz-table
layout="column"
flex
@ -113,18 +90,4 @@
class="no-lateral-padding"
full="'agent'">
</wz-table>
<!--<md-content flex when-scrolled="agents.nextPage('')" class="height-300">
<md-list ng-repeat='agent in agents.items | orderBy : agents.sortValue : agents.sortDir' class="wazuh-list" ng-class-odd="'odd'" ng-class-even="'even'">
<md-list-item ng-click="showAgent(agent)" class="wazuh-list-item">
<span flex="5">{{agent.id || 'Unknown'}}</span>
<span flex="15">{{agent.name || 'Unknown'}}</span>
<span flex="10">{{agent.ip || 'Unknown'}}</span>
<span flex="10">{{agent.status || 'Unknown'}}</span>
<span flex="30">{{agent.os.name || 'Unknown'}}</span>
<span flex="15">{{agent.os.version || 'Unknown'}}</span>
<span flex="15">{{agent.version || 'Unknown'}}</span>
</md-list-item>
</md-list>
</md-content>-->
<md-content><md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="agents.busy && !agents.end"></md-progress-linear></md-content>
</div>

View File

@ -110,7 +110,6 @@
</md-card>
</div>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="groupFiles.busy || groups.busy || groupAgents.busy"></md-progress-linear>
</div>
</div>
</md-content>

View File

@ -83,7 +83,5 @@
nopointer="true"
noheight="true">
</wz-table>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="logs.busy"></md-progress-linear>
</div>
</div>

View File

@ -97,60 +97,5 @@
isdecoders="true"
class="no-lateral-padding">
</wz-table>
<!--<md-content flex layout="column" class="height-300" when-scrolled="decoders.nextPage('')">
<md-list class="wazuh-list" ng-class-odd="'odd'" ng-class-even="'even'" ng-repeat='decoder in decoders.items | orderBy : decoders.sortValue : decoders.sortDir'
ng-class="activeItem === decoder.name+decoder.file+decoder.position ? 'active' : ''">
<md-list-item class="wazuh-list-item" ng-click="closeOther(decoder.name+decoder.file+decoder.position)" ng-class="activeItem === decoder.name+decoder.file+decoder.position ? 'active' : ''">
<span flex="20">{{decoder.name}}</span>
<span flex="20">{{decoder.details["program_name"]}}</span>
<span flex="40">{{ decoder.details["order"] | limitTo: 80 }}{{decoder.details["order"].length > 80 ? '...' : ''}}</span>
<span flex="20">{{decoder.file}}</span>
</md-list-item>
<div layout="row" ng-if="activeItem === decoder.name+decoder.file+decoder.position" class="ruleset-card-info">
<md-card flex>
<div layout="column" class="md-padding">
<div layout="row">
<div flex>
<h4>
<i class="fa fa-tasks"></i> Overview</h4>
<md-divider></md-divider>
<p>Full path
<span class="md-secondary pull-right">{{decoder.path}}</span>
</p>
<p>Position
<span class="md-secondary pull-right">{{decoder.position}}</span>
</p>
<p ng-show="decoder.details.parent">Parent
<span class="md-secondary pull-right">{{decoder.details.parent}}</span>
</p>
</div>
</div>
</div>
</md-card>
<md-card flex ng-if="detailk != 'parent'">
<div layout="column" class="md-padding">
<div layout="row">
<div flex>
<h4>
<i class="fa fa-cog"></i> Details</h4>
<md-divider></md-divider>
<p ng-repeat="(detailk, detailv) in decoder.details">
{{detailk}}
<span class="md-secondary pull-right" ng-if="(detailk !== 'regex') && (detailk !== 'order')">{{detailv}}</span>
<span class="md-secondary pull-right" ng-if="(detailk === 'regex')" ng-bind-html="colorRegex(detailv)">{{colorRegex(detailv)}}</span>
<span class="md-secondary pull-right" ng-if="(detailk === 'order')" ng-bind-html="colorOrder(detailv)">{{colorOrder(detailv)}}</span>
</p>
</div>
</div>
</div>
</md-card>
</div>
</md-list>
</md-content>
-->
<md-content>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="decoders.busy"></md-progress-linear>
</md-content>
</div>
</div>

View File

@ -136,9 +136,5 @@
isruleset="true"
class="no-lateral-padding">
</wz-table>
<md-content>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="rules.busy"></md-progress-linear>
</md-content>
</div>
</div>