Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 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"> |
Michael Davis | 7f89fad | 2017-07-31 18:36:45 -0500 | [diff] [blame] | 10 | Boot priority |
Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 11 | </div> |
| 12 | <div class="table__cell"> |
| 13 | Image state |
| 14 | </div> |
Michael Davis | 806da9b | 2017-07-27 15:29:25 -0500 | [diff] [blame] | 15 | <div class="table__cell firmware__version"> |
Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 16 | Version |
| 17 | </div> |
| 18 | <div class="table__cell"> |
| 19 | Action |
| 20 | </div> |
| 21 | </div> |
| 22 | </div> |
| 23 | <div class="table__body"> |
Michael Davis | 806da9b | 2017-07-27 15:29:25 -0500 | [diff] [blame] | 24 | <div class="table__row" ng-class="firmware.active ? 'firmware__primary' : ''" ng-repeat="firmware in firmwares|filter:filterBy"> |
| 25 | <div class="table__cell"> |
Michael Davis | 7f89fad | 2017-07-31 18:36:45 -0500 | [diff] [blame] | 26 | <span class="table__cell-label">Boot priority:</span> |
Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 27 | <div class="icon icon__up-arrow icon-as-spacer" aria-hidden="true"> |
Michael Davis | c8a099e | 2017-08-03 13:39:03 -0500 | [diff] [blame] | 28 | <span class="accessible-text">firmware up in priority</span></div> |
Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 29 | <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 Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 35 | <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 Davis | 75f94d9 | 2017-08-08 14:00:03 -0500 | [diff] [blame^] | 48 | </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 Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 52 | </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> |