1<div class="row column firmware__table">
2	<div class="table-header column small-12">
3		<p class="inline">{{title}}</p>
4		<p class="inline firmware__active-version">In-memory firmware version: {{version}}</p>
5	</div>
6	<div class="table row column">
7		<div class="table__head">
8			<div class="table__row">
9				<div class="table__cell">
10					Boot priority
11				</div>
12				<div class="table__cell">
13					Image state
14				</div>
15				<div class="table__cell firmware__version">
16					Version
17				</div>
18				<div class="table__cell">
19					Action
20				</div>
21			</div>
22		</div>
23		<div class="table__body">
24			<div class="table__row" ng-class="firmware.functional ? 'firmware__primary' : ''" ng-repeat="firmware in firmwares|filter:filterBy|orderBy:'+Priority'">
25				<div class="table__cell">
26					<span class="table__cell-label">Boot priority:</span>
27					<div class="icon icon__up-arrow" aria-hidden="true" ng-class="{'icon-as-spacer':$first}"
28					     ng-click="!$first && changePriority(firmware.imageId, firmware.Priority, firmware.Priority - 1)"
29					     ng-show="firmware.activationFlags.functional || firmware.activationFlags.ready">
30						<span class="accessible-text">firmware up in priority</span></div>
31					<div class="icon icon__down-arrow" aria-hidden="true" ng-class="{'icon-as-spacer':$last}"
32					    ng-click="!$last && changePriority(firmware.imageId, firmware.Priority, firmware.Priority + 1)"
33					    ng-hide="firmware.activationFlags.ready">
34						<span class="accessible-text">firmware down in priority</span></div>
35				</div>
36				<div class="table__cell firmware__active">
37					<span class="table__cell-label">Image state:</span>
38					<span ng-if="firmware.activationFlags.functional">Functional</span>
39					<span ng-if="firmware.activationFlags.active">Active</span>
40					<span ng-if="firmware.activationFlags.ready">Ready</span>
41				</div>
42				<div class="table__cell firmware__version" ng-class="{'active':firmware.isExtended}">
43					<span class="table__cell-label">Version:</span>{{firmware.Version}}
44					<div class="icon icon__more" ng-click="firmware.extended.show = ! firmware.extended.show"
45							ng-class="{'active':firmware.isExtended}" ng-show="firmware.isExtended">
46						<svg version="1.1" x="0px" y="0px" viewBox="0 0 24.3 24.6">
47							<path d="M12.1,23C6.1,23,1.3,18.2,1.3,12.3S6.1,1.6,12.1,1.6s10.7,4.8,10.7,10.7S18,23,12.1,23z M12.1,2.6c-5.4,0-9.7,4.4-9.7,9.7 S6.7,22,12.1,22s9.7-4.4,9.7-9.7S17.4,2.6,12.1,2.6z"/>
48							<g>
49								<circle cx="6.7" cy="12.5" r="1.5"/>
50								<circle cx="12.1" cy="12.5" r="1.5"/>
51								<circle cx="17.4" cy="12.5" r="1.5"/>
52							</g>
53						</svg>
54					</div>
55				</div>
56				<div class="icon__more-dropdown" ng-show="firmware.extended.show">
57					<h5 class="bold">Extended version information</h5>
58					<p class="no-margin" ng-repeat="version in firmware.extended.versions">{{version.title}}: {{version.version}}</p>
59				</div>
60				<div class="table__cell">
61				    <span class="table__cell-label">Action:</span>
62				    <button class="firmware__action-link" ng-show="firmware.activationFlags.ready" ng-click="activate(firmware.imageId)">Activate</button>
63				    <button class="firmware__action-link" ng-show="!firmware.functional" ng-click="delete(firmware.imageId)">Delete</button>
64				</div>
65			</div>
66		</div>
67	</div>
68</div>