1<div id="sensors-overview"> 2 <div class="row column"> 3 <h1>Sensors</h1> 4 </div> 5 <section class="row column"> 6 <div class="page-header"> 7 <h2 class="inline h4">All sensors present in the system</h2> 8 <a ng-href="data:text/json;charset=utf-8,{{export_data}}" class="inline btn-export float-right" download="{{export_name}}">Export</a> 9 </div> 10 </section> 11 <section class="row column"> 12 <!-- search --> 13 <p class="content-label" aria-label="sensors filter">Filter sensors</p> 14 <div class="content__search"> 15 <label for="content__search-input">Sensors Search</label> 16 <input id="content__search-input" type="text" ng-model="customSearch" ng-keydown="doSearchOnEnter($event)"/> 17 <input id="content__search-submit" type="submit" class="btn btn-primary" value="Filter" ng-click="doSearchOnClick()"/> 18 </div> 19 <div class="toggle-filter"> 20 <p class="content-label">FILTER BY SEVERITY</p> 21 <button class="inline first btn-primary" ng-click="toggleSeverityAll()" 22 ng-class="selectedSeverity.all ? 'btn-primary' : 'btn-secondary'">All 23 </button> 24 <button class="inline " ng-click="toggleSeverity('critical')" 25 ng-class="selectedSeverity.critical ? 'btn-primary' : 'btn-secondary'">Critical 26 </button> 27 <button class="inline" ng-click="toggleSeverity('warning')" 28 ng-class="selectedSeverity.warning ? 'btn-primary' : 'btn-secondary'">Warning 29 </button> 30 </div> 31 32 </section> <!-- end search --> 33 34 <section id="sensor-categories" class="row column"> 35 <div class="row column header-row"> 36 <div class="column large-12 header__actions-bar"> 37 <p class="inline sensor__title">Sensors</p> 38 <p class="inline sensor__reading">Low critical</p> 39 <p class="inline sensor__reading">Low warning</p> 40 <p class="inline sensor__reading sensor__heading-current">Current</p> 41 <p class="inline sensor__reading">High warning</p> 42 <p class="inline sensor__reading">High critical</p> 43 </div> 44 </div> 45 <!-- sensor --> 46<<<<<<< HEAD 47 <div class="sensor__readings-row" ng-repeat="sensor in (filteredSensorData = data|filter:filterBySeverity|filter:filterBySearchTerms|orderBy:'-order')"> 48 <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 <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'">°</span></p> 50 <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'">°</span></p> 51 <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'">°</span></span></p> 52 <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'">°</span></p> 53 <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'">°</span></p> 54 </div> 55======= 56 <div class="sensor__readings-row" > 57 <p class="inline sensor__title"><span class="icon icon__critical" aria-label="critical"></span>Temperature 5</p> 58 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C°</span></p> 59 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>45<span class="content-label">C°</span></p> 60 <p class="inline sensor__reading sensor__current sensor__critical "><span class="sensor__label">Current</span>124<span class="content-label">C°</span></p> 61 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>105<span class="content-label">C°</span></p> 62 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>120<span class="content-label">C°</span></p> 63 </div> 64 <!-- sensor --> 65 <div class="sensor__readings-row" > 66 <p class="inline sensor__title"><span class="icon icon__critical" aria-label="critical"></span>Fan 3</p> 67 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p> 68 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p> 69 <p class="inline sensor__reading sensor__current sensor__critical"><span class="sensor__label">Current</span>90<span class="content-label">rpm</span></p> 70 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p> 71 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p> 72 </div> 73 <!-- sensor --> 74 <div class="sensor__readings-row" > 75 <p class="inline sensor__title"><span class="icon icon__warning" aria-label="warning"></span>Fan 5</p> 76 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p> 77 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p> 78 <p class="inline sensor__reading sensor__current sensor__warn"><span class="sensor__label">Current</span>90<span class="content-label">rpm</span></p> 79 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p> 80 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p> 81 </div> 82 <!-- sensor --> 83 <div class="sensor__readings-row" > 84 <p class="inline sensor__title">Temperature 1</p> 85 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C°</span></p> 86 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>45<span class="content-label">C°</span></p> 87 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>78<span class="content-label">C°</span></p> 88 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>105<span class="content-label">C°</span></p> 89 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>120<span class="content-label">C°</span></p> 90 </div> 91 <!-- sensor --> 92 <div class="sensor__readings-row" > 93 <p class="inline sensor__title">Temperature 2</p> 94 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C°</span></p> 95 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>--</p> 96 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>81<span class="content-label">C°</span></p> 97 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>--</p> 98 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>120<span class="content-label">C°</span></p> 99 </div> 100 <!-- sensor --> 101 <div class="sensor__readings-row" > 102 <p class="inline sensor__title">Temperature 3</p> 103 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C°</span></p> 104 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>45<span class="content-label">C°</span></p> 105 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>98<span class="content-label">C°</span></p> 106 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>105<span class="content-label">C°</span></p> 107 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>120<span class="content-label">C°</span></p> 108 </div> 109 <!-- sensor --> 110 <div class="sensor__readings-row" > 111 <p class="inline sensor__title">Temperature 4</p> 112 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>32<span class="content-label">C°</span></p> 113 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>50<span class="content-label">C°</span></p> 114 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>79<span class="content-label">C°</span></p> 115 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>95<span class="content-label">C°</span></p> 116 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>110<span class="content-label">C°</span></p> 117 </div> 118 <!-- sensor --> 119 <div class="sensor__readings-row" > 120 <p class="inline sensor__title"></span>Fan 1</p> 121 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p> 122 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>400<span class="content-label">rpm</span></p> 123 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>130<span class="content-label">rpm</span></p> 124 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>2000<span class="content-label">rpm</span></p> 125 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p> 126 </div> 127 <!-- sensor --> 128 <div class="sensor__readings-row" > 129 <p class="inline sensor__title"></span>Fan 2</p> 130 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>100<span class="content-label">rpm</span></p> 131 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>--</p> 132 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>1300<span class="content-label">rpm</span></p> 133 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>--</p> 134 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>2500<span class="content-label">rpm</span></p> 135 </div> 136 <!-- sensor --> 137 <div class="sensor__readings-row" > 138 <p class="inline sensor__title">Altitude</p> 139 <p class="inline sensor__reading"><span class="sensor__label">Low critical</span>--</p> 140 <p class="inline sensor__reading"><span class="sensor__label">Low warning</span>--</p> 141 <p class="inline sensor__reading sensor__current"><span class="sensor__label">Current</span>300<span class="content-label">M</span></p> 142 <p class="inline sensor__reading"><span class="sensor__label">High warning</span>--</p> 143 <p class="inline sensor__reading"><span class="sensor__label">High critical</span>--</p> 144 </div> 145 <!--<a ng-repeat="sensor in (filteredSensorData = data.sensors|filter:filterBySeverity|filter:filterBySearchTerms)" class="sensor__group" href="#/server-health/sensors/{{sensor.type}}">--> 146 <!--<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}})--> 147 <!--<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>--> 148 <!--</a>--> 149 150>>>>>>> work on sensors page. minor bug fixes. removed thresholds scss file. no longer needed due to design changes. 151 </section> 152</div> 153