Show More
postprocess_action.html
29 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r0 | <div class="panel panel-default action"> | |||
<div class="panel-body form-inline"> | ||||
<div class="pull-right"> | ||||
<span class="dropdown" data-uib-dropdown> | ||||
<a class="btn btn-danger" data-uib-dropdown-toggle><span class="fa fa-trash-o"></span></a> | ||||
<ul class="dropdown-menu"> | ||||
<li><a>No</a></li> | ||||
<li><a ng-click="ctrl.deleteAction(ctrl.action)">Yes</a></li> | ||||
</ul> | ||||
</span> | ||||
</div> | ||||
<div class="form-group"> | ||||
<label>Action</label> | ||||
<div class="form-group"> | ||||
<select class="form-control" ng-model="ctrl.action.new_value" ng-options="f[0] as f[1] for f in ctrl.possibleActions" ng-change="ctrl.setDirty()"></select> | ||||
</div> | ||||
<a class="btn btn-success" ng-if="ctrl.action.dirty" ng-click="ctrl.saveAction()"><span class="fa fa-save"></span> Save changes</a> | ||||
</div> | ||||
<hr/> | ||||
<p>Meeting following criteria:</p> | ||||
<form-errors errors="ctrl.errors"></form-errors> | ||||
{{ctrl.rule}} | ||||
<rule rule="ctrl.action.rule" rule-definitions="ctrl.ruleDefinitions" parent-rule="null" parent-obj="ctrl.action"></rule> | ||||
</div> | ||||
</div> | ||||