118 lines
5.1 KiB
HTML
118 lines
5.1 KiB
HTML
<article id="tactical">
|
|
<header class="main__overview">
|
|
<h2 class="main__overview__title">{{dashboardTactical[0].title}}</h2>
|
|
|
|
<adg-tactical status-overview="{{dashboardTactical[0].statusOverview}}"
|
|
current-health="{{dashboardTactical[0].currentHealth}}"
|
|
top-alert-producers="{{dashboardTactical[0].topAlertProducers}}"></adg-tactical>
|
|
|
|
</header>
|
|
|
|
<section class="main__content tabpanel">
|
|
<nav>
|
|
<ul class="tablist clearfix">
|
|
<li role="presentation" class="tablist__item active">
|
|
<a href="#openProblems"
|
|
class="tabpanel__tab"
|
|
aria-controls="openProblems"
|
|
aria-expanded="true"
|
|
role="tab"
|
|
data-toggle="tab"
|
|
data-problems="27">Open problems
|
|
</a>
|
|
</li>
|
|
<li role="presentation" class="tablist__item">
|
|
<a href="#allProblems"
|
|
class="tabpanel__tab"
|
|
aria-controls="allProblems"
|
|
aria-expanded="false"
|
|
role="tab"
|
|
data-toggle="tab"
|
|
data-problems="38">All problems
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<adg-table-actionbar></adg-table-actionbar>
|
|
|
|
<div class="tab-content">
|
|
<div role="tabpanel" class="problems tab-pane active" id="openProblems">
|
|
<header class="main__content__header clearfix">
|
|
<h2 class="main__content__title">{{dashboardTables[0].title}}</h2>
|
|
<p class="main__content__alert state--error">
|
|
There are {{nbHostOpenProblems}} host
|
|
<ng-pluralize count="nbHostOpenProblems" when="{'0':'problem', '1': 'problem', 'other': 'problems'}"/>
|
|
</p>
|
|
</header>
|
|
|
|
<adg-table cells-text="{{dashboardTables[0].CellsText}}"
|
|
cells-name="{{dashboardTables[0].CellsName}}"
|
|
api-name="{{dashboardTables[0].ApiName}}"
|
|
filters="{{dashboardTables[0].Filters}}"
|
|
is-wrappable="{{dashboardTables[0].IsWrappable}}"
|
|
no-repeat-cell="{{dashboardTables[0].NoRepeatCell}}"
|
|
refresh-interval="{{dashboardRefreshInterval}}"
|
|
additionnal-query-fields="{{dashboardTables[0].additionnalQueryFields}}"
|
|
table-id="0"></adg-table>
|
|
|
|
<header class="main__content__header clearfix">
|
|
<h2 class="main__content__title">{{dashboardTables[1].title}}</h2>
|
|
<p class="main__content__alert state--error">
|
|
There are {{nbServiceOpenProblems}} host
|
|
<ng-pluralize count="nbServiceOpenProblems" when="{'0':'problem', '1': 'problem', 'other': 'problems'}"/>
|
|
</p>
|
|
</header>
|
|
|
|
<adg-table cells-text="{{dashboardTables[1].CellsText}}"
|
|
cells-name="{{dashboardTables[1].CellsName}}"
|
|
api-name="{{dashboardTables[1].ApiName}}"
|
|
filters="{{dashboardTables[1].Filters}}"
|
|
is-wrappable="{{dashboardTables[1].IsWrappable}}"
|
|
no-repeat-cell="{{dashboardTables[1].NoRepeatCell}}"
|
|
refresh-interval="{{dashboardRefreshInterval}}"
|
|
additionnal-query-fields="{{dashboardTables[1].additionnalQueryFields}}"
|
|
table-id="1"></adg-table>
|
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="problems tab-pane" id="allProblems">
|
|
<header class="main__content__header clearfix">
|
|
<h2 class="main__content__title">{{dashboardTables[2].title}}</h2>
|
|
<p class="main__content__alert state--error">
|
|
There are {{nbHostProblems}} host
|
|
<ng-pluralize count="nbHostProblems" when="{'0':'problem', '1': 'problem', 'other': 'problems'}"/>
|
|
</p>
|
|
</header>
|
|
|
|
<adg-table cells-text="{{dashboardTables[2].CellsText}}"
|
|
cells-name="{{dashboardTables[2].CellsName}}"
|
|
api-name="{{dashboardTables[2].ApiName}}"
|
|
filters="{{dashboardTables[2].Filters}}"
|
|
is-wrappable="{{dashboardTables[2].IsWrappable}}"
|
|
no-repeat-cell="{{dashboardTables[2].NoRepeatCell}}"
|
|
refresh-interval="{{dashboardRefreshInterval}}"
|
|
table-id="2"></adg-table>
|
|
|
|
<header class="main__content__header clearfix">
|
|
<h2 class="main__content__title">{{dashboardTables[3].title}}</h2>
|
|
<p class="main__content__alert state--error">
|
|
There are {{nbServiceProblems}} service
|
|
<ng-pluralize count="nbServiceProblems" when="{'0':'problem', '1': 'problem', 'other': 'problems'}"/>
|
|
</p>
|
|
</header>
|
|
|
|
<adg-table cells-text="{{dashboardTables[3].CellsText}}"
|
|
cells-name="{{dashboardTables[3].CellsName}}"
|
|
api-name="{{dashboardTables[3].ApiName}}"
|
|
filters="{{dashboardTables[3].Filters}}"
|
|
is-wrappable="{{dashboardTables[3].IsWrappable}}"
|
|
no-repeat-cell="{{dashboardTables[3].NoRepeatCell}}"
|
|
refresh-interval="{{dashboardRefreshInterval}}"
|
|
table-id="3"></adg-table>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
</article>
|