ironic-ui/ironic_ui/static/dashboard/admin/ironic/maintenance/maintenance.html
Peter Piela eff75b2aec Improve the display of node information
Automatically set focus to the reason field in the maintenance popup
Use filters like noValue and date: 'medium' to improve display of node data
Ensure event handlers are cleaned up when the node-list is destroyed

Change-Id: I15eee5beb933ff5623d21d418dbd771ab3cfc043
2016-08-26 09:55:28 -04:00

32 lines
942 B
HTML

<div class="modal-header">
<h3 class="modal-title" translate>Put Node(s) Into Maintenance Mode</h3>
</div>
<div class="modal-body clearfix">
<div class="content">
<div translate class="subtitle">Provide a reason for why you are putting the selected node(s) into maintenance mode (optional)</div>
<div class="form-group">
<div class="form-field">
<input type="text"
class="form-control input-sm"
ng-model="maintReason"
auto-focus
placeholder=""/>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default secondary"
type="button"
ng-click="ctrl.cancel()"
translate>
Cancel
</button>
<button class="btn btn-primary"
type="button"
ng-click="ctrl.putInMaintenanceMode(maintReason)"
translate>
Put Node(s) Into Maintenance Mode
</button>
</div>