blob: 2f1d3fc11d6654f9e02e1cc80072841a6c5df827 [file] [log] [blame]
Iftekharul Islamc0161392017-06-14 15:46:15 -05001<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">
Michael Davis7f89fad2017-07-31 18:36:45 -050010 Boot priority
Iftekharul Islamc0161392017-06-14 15:46:15 -050011 </div>
12 <div class="table__cell">
13 Image state
14 </div>
Michael Davis806da9b2017-07-27 15:29:25 -050015 <div class="table__cell firmware__version">
Iftekharul Islamc0161392017-06-14 15:46:15 -050016 Version
17 </div>
18 <div class="table__cell">
19 Action
20 </div>
21 </div>
22 </div>
23 <div class="table__body">
Michael Davis806da9b2017-07-27 15:29:25 -050024 <div class="table__row" ng-class="firmware.active ? 'firmware__primary' : ''" ng-repeat="firmware in firmwares|filter:filterBy">
25 <div class="table__cell">
Michael Davis7f89fad2017-07-31 18:36:45 -050026 <span class="table__cell-label">Boot priority:</span>
Iftekharul Islamc0161392017-06-14 15:46:15 -050027 <div class="icon icon__up-arrow icon-as-spacer" aria-hidden="true">
Michael Davisc8a099e2017-08-03 13:39:03 -050028 <span class="accessible-text">firmware up in priority</span></div>
Iftekharul Islamc0161392017-06-14 15:46:15 -050029 <div class="icon icon__down-arrow" aria-hidden="true">
30 <span class="accessible-text">firmware down in priority</span></div>
31 </div>
32 <div class="table__cell firmware__active">
33 <span class="table__cell-label">Image state:</span><span ng-if="firmware.active">Active</span>
34 </div>
Iftekharul Islamc0161392017-06-14 15:46:15 -050035 <div class="table__cell firmware__version" ng-class="{'active':firmware.isExtended}">
36 <span class="table__cell-label">Version:</span>{{firmware.Version}}
37 <div class="icon icon__more" ng-click="firmware.extended.show = ! firmware.extended.show"
38 ng-class="{'active':firmware.isExtended}" ng-show="firmware.isExtended">
39 <svg version="1.1" x="0px" y="0px" viewBox="0 0 24.3 24.6">
40 <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"/>
41 <g>
42 <circle cx="6.7" cy="12.5" r="1.5"/>
43 <circle cx="12.1" cy="12.5" r="1.5"/>
44 <circle cx="17.4" cy="12.5" r="1.5"/>
45 </g>
46 </svg>
47 </div>
Michael Davis75f94d92017-08-08 14:00:03 -050048 </div>
49 <div class="icon__more-dropdown" ng-show="firmware.extended.show">
50 <h5 class="bold">Extended version information</h5>
51 <p class="no-margin" ng-repeat="version in firmware.extended.versions">{{version.title}}: {{version.version}}</p>
Iftekharul Islamc0161392017-06-14 15:46:15 -050052 </div>
53 <div class="table__cell">
54 <span class="table__cell-label">Action:</span>
55 <button class="firmware__action-link" ng-show="!firmware.active" ng-click="activate(firmware.imageId)">Activate</button>
56 <button class="firmware__action-link" ng-show="!firmware.active" ng-click="delete(firmware.imageId)">Delete</button>
57 </div>
58 </div>
59 </div>
60 </div>
61</div>