1cd789508SIftekharul Islam<div id="sensors-overview">
2cd789508SIftekharul Islam    <div class="row column">
3cd789508SIftekharul Islam        <h1>Sensors Data</h1>
4cd789508SIftekharul Islam    </div>
5cd789508SIftekharul Islam    <section class="row column">
6cd789508SIftekharul Islam        <div class="page-header">
7cd789508SIftekharul Islam            <h2 class="inline h4">Sensors present in the system</h2>
8*d2269e22SIftekharul Islam            <a ng-href="data:text/json;charset=utf-8,{{export_data}}" class="inline btn-export float-right"  download="{{export_name}}" ng-show="filteredSensorData.length">Export</a>
9cd789508SIftekharul Islam        </div>
10cd789508SIftekharul Islam    </section>
11cd789508SIftekharul Islam
12cd789508SIftekharul Islam    <section class="row column">
13cd789508SIftekharul Islam        <!-- search -->
14cd789508SIftekharul Islam        <div class="content__search">
15cd789508SIftekharul Islam            <label for="content__search-input">Event Log Search</label>
16*d2269e22SIftekharul Islam            <input id="content__search-input" type="text" placeholder="Filter issues" ng-model="customSearch" ng-keydown="doSearchOnEnter($event)"/>
17*d2269e22SIftekharul Islam            <input id="content__search-submit" type="submit" class="btn btn-secondary" value="Submit" ng-click="doSearchOnClick()"/>
18cd789508SIftekharul Islam        </div>
19cd789508SIftekharul Islam        <div class="toggle-filter">
20*d2269e22SIftekharul Islam            <button class="inline first btn-primary" ng-click="toggleSeverityAll()"
21*d2269e22SIftekharul Islam                    ng-class="selectedSeverity.all ? 'btn-primary' : 'btn-secondary'">All
22cd789508SIftekharul Islam            </button>
23*d2269e22SIftekharul Islam            <button class="inline " ng-click="toggleSeverity('critical')"
24*d2269e22SIftekharul Islam                    ng-class="selectedSeverity.critical ? 'btn-primary' : 'btn-secondary'">Critical
25cd789508SIftekharul Islam            </button>
26*d2269e22SIftekharul Islam            <button class="inline" ng-click="toggleSeverity('warning')"
27*d2269e22SIftekharul Islam                    ng-class="selectedSeverity.warning ? 'btn-primary' : 'btn-secondary'">Warning
28cd789508SIftekharul Islam            </button>
29*d2269e22SIftekharul Islam            <button class="inline last" ng-click="toggleSeverity('normal')"
30*d2269e22SIftekharul Islam                    ng-class="selectedSeverity.normal ? 'btn-primary' : 'btn-secondary'">Normal
31cd789508SIftekharul Islam            </button>
32cd789508SIftekharul Islam        </div>
33cd789508SIftekharul Islam
34cd789508SIftekharul Islam    </section> <!-- end search -->
35cd789508SIftekharul Islam
36cd789508SIftekharul Islam    <section id="sensor-categories" class="row column">
37cd789508SIftekharul Islam        <div class="row column header-row">
38cd789508SIftekharul Islam            <div class="column large-12 header__actions-bar">
39cd789508SIftekharul Islam                <p class="inline sensor__heading sensor__category">Sensors</p>
40cd789508SIftekharul Islam                <p class="inline float-right sensor__heading right">State</p>
41cd789508SIftekharul Islam            </div>
42cd789508SIftekharul Islam        </div>
43*d2269e22SIftekharul Islam
44*d2269e22SIftekharul Islam        <a ng-repeat="sensor in (filteredSensorData = data.sensors|filter:filterBySeverity|filter:filterBySearchTerms)" class="sensor__group" href="#/server-health/sensors/{{sensor.type}}"> <span class="inline priority-tag-circ high-priority" aria-label="High Priority"></span>{{sensor.title}} ({{sensor.data.length}}) <p class="inline float-right" ng-class="{'sensor__critical-label': sensor.status == 'critical', 'sensor__warning-label': sensor.status == 'warning', 'sensor__normal-label': sensor.status == 'normal'}">{{sensor.status}}</p></a>
45*d2269e22SIftekharul Islam
46cd789508SIftekharul Islam    </section>
47cd789508SIftekharul Islam</div>