eff75b2aec
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
32 lines
942 B
HTML
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>
|