You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
1.3 KiB

<ul bs-list="bordered inline-controls leading-controls" bs-flush="bottom">
<li>
<p>Rule <b>{{index + 1}} <span style="color: #e1e1e1; margin-left: 10px">id: {{ctrl.rule.id.slice(0, 10)}}</span></b></p>
<div bs-button-group>
<button bs-button="subtle-alt icon" ng-click="ctrl.editRule(ctrl.rule)">
<icon icon="pencil"></icon>
</button>
<button bs-button="subtle-alt icon" ng-click="ctrl.pauseRule('pause', ctrl.rule)"
class="ng-click-active">
<icon icon="circle-pause" ng-show="ctrl.rule.active"></icon>
<icon icon="circle-play" ng-show="!ctrl.rule.active"></icon>
</button>
<button bs-button="subtle-alt icon" ng-click="ctrl.removeRule('remove', ctrl.rule)">
<icon icon="bin"></icon>
</button>
</div>
</li>
<li bs-input="text">
<span bs-tag>Match <span>{{ctrl.rule.matchType}}</span></span>
<span bs-tag="offset" ng-show="ctrl.rule.matchFlags">Flags <span>{{ctrl.rule.matchFlags}}</span></span>
<p bs-text="mono">{{ctrl.rule.matchInput}}</p>
</li>
<li>
<span bs-tag>Replace<span>{{ctrl.rule.replaceType}}</span></span>
<p bs-text="mono">{{ctrl.rule.replaceInput === '' ? 'EMPTY STRING' : ctrl.rule.replaceInput}}</p>
</li>
</ul>