1<loader loading="loading"></loader>
2<div class="inventory__container">
3  <div class="row column">
4    <h1>Hardware status</h1>
5  </div>
6  <div class="row column">
7    <div class="page-header">
8      <h2 class="inline">All hardware in the system</h2>
9      <a ng-href="data:text/json;charset=utf-8,{{originalData}}" class="inline btn-export float-right"  download="export_inventory.json" ng-show="hardwares.length">Export</a>
10    </div>
11  </div>
12  <div class="row column">
13    <p class="content-label" aria-label="hardware filter">Filter hardware components</p>
14    <div class="content__search">
15      <label for="content__search-input">Search</label>
16      <input id="content__search-input" type="text" ng-model="customSearch" ng-keydown="doSearchOnEnter($event)"/>
17      <div class="search-submit__wrapper">
18        <button class="clear-input" ng-click="clear()">&#10005;</button>
19        <input id="content__search-submit" type="submit" class="btn btn-primary content__search-submit" value="Filter" ng-click="doSearchOnClick()"/>
20      </div>
21    </div>
22  </div>
23  <div class="row column inventory__table">
24    <h3 class="small-12 hardware__header">
25      Hardware
26    </h3>
27    <div class="small-12 harware__details" ng-repeat="inventory in hardwares|filter:filterBySearchTerms">
28      <div class="hardware__title row column" ng-class="{'expanded': inventory.expanded}" ng-click="inventory.expanded = ! inventory.expanded">
29        <h4>{{inventory.title}}</h4>
30        <button class="accord-trigger float-right" ng-class="{'active': inventory.expanded}"></button>
31      </div>
32      <div class="hardware__items" ng-hide="!inventory.expanded" ng-class="{'expanded': inventory.expanded}">
33        <div class="row column">
34          <div class="items small-12 show-scroll" ng-class="{'large-9': inventory.sub_components.length}">
35            <div class="row column">
36              <div ng-repeat="item in inventory.items" class="small-4">
37                <h5 class="content-label">{{item.key}}</h5>
38                <p class="courier-bold">{{item.value}}</p>
39              </div>
40            </div>
41          </div>
42          <div class="subcomponents show-scroll small-12 large-3" ng-show="inventory.sub_components.length">
43            <div class="row column">
44              <h5 class="small-12 content-label">Subcomponents</h5>
45              <p ng-repeat="sub_component in inventory.sub_components" class="large-6 small-3 courier-bold" ng-if="sub_component.Present">
46                <span class="icon icon__warning" ng-if="!sub_component.Functional"></span>
47                {{sub_component.title}}
48              </p>
49            </div>
50          </div>
51        </div>
52      </div>
53    </div>
54  </div>
55</div>
56