1cd789508SIftekharul Islam<div id="sensors-overview">
2cd789508SIftekharul Islam	<div class="row column">
32c16effeSMichael Davis		<h1>Sensors</h1>
4cd789508SIftekharul Islam	</div>
5cd789508SIftekharul Islam	<section class="row column">
6cd789508SIftekharul Islam		<div class="page-header">
7*8947e701SIftekharul Islam			<h2 class="inline h4">All sensors present in the system</h2>
8*8947e701SIftekharul Islam			<a ng-href="data:text/json;charset=utf-8,{{export_data}}" class="inline btn-export float-right" download="{{export_name}}">Export</a>
9cd789508SIftekharul Islam		</div>
10cd789508SIftekharul Islam	</section>
11cd789508SIftekharul Islam	<section class="row column">
12cd789508SIftekharul Islam		<!-- search -->
13*8947e701SIftekharul Islam		<p class="content-label" aria-label="sensors filter">Filter sensors</p>
14cd789508SIftekharul Islam		<div class="content__search">
152c16effeSMichael Davis			<label for="content__search-input">Sensors Search</label>
16*8947e701SIftekharul Islam			<input id="content__search-input" type="text" ng-model="customSearch" ng-keydown="doSearchOnEnter($event)"/>
172c16effeSMichael Davis			<input id="content__search-submit" type="submit" class="btn btn-primary" value="Filter" ng-click="doSearchOnClick()"/>
18cd789508SIftekharul Islam		</div>
19cd789508SIftekharul Islam		<div class="toggle-filter">
20*8947e701SIftekharul Islam			<p class="content-label">FILTER BY SEVERITY</p>
21d2269e22SIftekharul Islam			<button class="inline first btn-primary" ng-click="toggleSeverityAll()"
22d2269e22SIftekharul Islam					ng-class="selectedSeverity.all ? 'btn-primary' : 'btn-secondary'">All
23cd789508SIftekharul Islam			</button>
24d2269e22SIftekharul Islam			<button class="inline " ng-click="toggleSeverity('critical')"
25d2269e22SIftekharul Islam					ng-class="selectedSeverity.critical ? 'btn-primary' : 'btn-secondary'">Critical
26cd789508SIftekharul Islam			</button>
27d2269e22SIftekharul Islam			<button class="inline" ng-click="toggleSeverity('warning')"
28d2269e22SIftekharul Islam					ng-class="selectedSeverity.warning ? 'btn-primary' : 'btn-secondary'">Warning
29cd789508SIftekharul Islam			</button>
30cd789508SIftekharul Islam		</div>
31cd789508SIftekharul Islam
32cd789508SIftekharul Islam	</section> <!-- end search -->
33cd789508SIftekharul Islam
34cd789508SIftekharul Islam	<section id="sensor-categories" class="row column">
35cd789508SIftekharul Islam		<div class="row column header-row">
36cd789508SIftekharul Islam			<div class="column large-12 header__actions-bar">
37*8947e701SIftekharul Islam				<p class="inline sensor__title">Sensors</p>
38*8947e701SIftekharul Islam				<p class="inline sensor__reading">Low critical</p>
39*8947e701SIftekharul Islam				<p class="inline sensor__reading">Low warning</p>
40*8947e701SIftekharul Islam				<p class="inline sensor__reading sensor__heading-current">Current</p>
41*8947e701SIftekharul Islam				<p class="inline sensor__reading">High warning</p>
42*8947e701SIftekharul Islam				<p class="inline sensor__reading">High critical</p>
43cd789508SIftekharul Islam			</div>
44cd789508SIftekharul Islam		</div>
45*8947e701SIftekharul Islam		<!-- sensor -->
46*8947e701SIftekharul Islam<<<<<<< HEAD
47*8947e701SIftekharul Islam		<div class="sensor__readings-row" ng-repeat="sensor in (filteredSensorData = data|filter:filterBySeverity|filter:filterBySearchTerms|orderBy:'-order')">
48*8947e701SIftekharul Islam			<p class="inline sensor__title"><span class="icon" ng-class="{'icon__critical': sensor.status == 'critical', 'icon__warning': sensor.status == 'warning', 'icon__normal': sensor.status == 'normal'}" aria-label="sensor.status" ></span>{{sensor.title}}</p>
49*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>{{sensor.CriticalLow}}<span class="content-label">{{sensor.unit}}<span ng-if="sensor.unit == 'C'">&deg;</span></p>
50*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>{{sensor.WarningLow}}<span class="content-label">{{sensor.unit}}<span ng-if="sensor.unit == 'C'">&deg;</span></p>
51*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current" ng-class="{'sensor__critical': sensor.status == 'critical', 'sensor__warn': sensor.status == 'warning', 'sensor__normal': sensor.status == 'normal'}"><span class="sensor__label">Current</span>{{sensor.Value}}<span class="content-label">{{sensor.unit}}<span ng-if="sensor.unit == 'C'">&deg;</span></span></p>
52*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>{{sensor.WarningHigh}}<span class="content-label">{{sensor.unit}}<span ng-if="sensor.unit == 'C'">&deg;</span></p>
53*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>{{sensor.CriticalHigh}}<span class="content-label">{{sensor.unit}}<span ng-if="sensor.unit == 'C'">&deg;</span></p>
54*8947e701SIftekharul Islam		</div>
55*8947e701SIftekharul Islam=======
56*8947e701SIftekharul Islam		<div class="sensor__readings-row" >
57*8947e701SIftekharul Islam			<p class="inline sensor__title"><span class="icon icon__critical" aria-label="critical"></span>Temperature 5</p>
58*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C&deg;</span></p>
59*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>45<span class="content-label">C&deg;</span></p>
60*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current sensor__critical "><span class="sensor__label">Current</span>124<span class="content-label">C&deg;</span></p>
61*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>105<span class="content-label">C&deg;</span></p>
62*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>120<span class="content-label">C&deg;</span></p>
63*8947e701SIftekharul Islam		</div>
64*8947e701SIftekharul Islam		<!-- sensor -->
65*8947e701SIftekharul Islam		<div class="sensor__readings-row" >
66*8947e701SIftekharul Islam			<p class="inline sensor__title"><span class="icon icon__critical" aria-label="critical"></span>Fan 3</p>
67*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p>
68*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p>
69*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current sensor__critical"><span class="sensor__label">Current</span>90<span class="content-label">rpm</span></p>
70*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p>
71*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p>
72*8947e701SIftekharul Islam		</div>
73*8947e701SIftekharul Islam		<!-- sensor -->
74*8947e701SIftekharul Islam		<div class="sensor__readings-row" >
75*8947e701SIftekharul Islam			<p class="inline sensor__title"><span class="icon icon__warning" aria-label="warning"></span>Fan 5</p>
76*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p>
77*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p>
78*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current sensor__warn"><span class="sensor__label">Current</span>90<span class="content-label">rpm</span></p>
79*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p>
80*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p>
81*8947e701SIftekharul Islam		</div>
82*8947e701SIftekharul Islam		<!-- sensor -->
83*8947e701SIftekharul Islam		<div class="sensor__readings-row" >
84*8947e701SIftekharul Islam			<p class="inline sensor__title">Temperature 1</p>
85*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p>
86*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p>
87*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>130<span class="content-label">rpm</span></p>
88*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p>
89*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p>
90*8947e701SIftekharul Islam		</div>
91*8947e701SIftekharul Islam		<!-- sensor -->
92*8947e701SIftekharul Islam		<div class="sensor__readings-row" >
93*8947e701SIftekharul Islam			<p class="inline sensor__title">Altitude</p>
94*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low critical</span>--</p>
95*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">Low warning</span>--</p>
96*8947e701SIftekharul Islam			<p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>300<span class="content-label">M</span></p>
97*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High warning</span>--</p>
98*8947e701SIftekharul Islam			<p class="inline sensor__reading"><span class="sensor__label">High critical</span>--</p>
99*8947e701SIftekharul Islam		</div>
100*8947e701SIftekharul Islam		<!--<a ng-repeat="sensor in (filteredSensorData = data.sensors|filter:filterBySeverity|filter:filterBySearchTerms)" class="sensor__group" href="#/server-health/sensors/{{sensor.type}}">-->
101*8947e701SIftekharul Islam			<!--<span class="inline priority-tag-circ" ng-class="{'high-priority': sensor.status == 'critical', 'medium-priority': sensor.status == 'warning', 'low-priority': sensor.status == 'normal'}" aria-label="High Priority"></span>{{sensor.title}} ({{sensor.data.length}})-->
102*8947e701SIftekharul Islam			<!--<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>-->
103*8947e701SIftekharul Islam		<!--</a>-->
104d2269e22SIftekharul Islam
105*8947e701SIftekharul Islam>>>>>>> work on sensors page. minor bug fixes. removed thresholds scss file. no longer needed due to design changes.
106cd789508SIftekharul Islam	</section>
107cd789508SIftekharul Islam</div>
108