all extension type
This commit is contained in:
@@ -98,21 +98,26 @@
|
||||
.desc{"style" => "font-style: italic;"} {{action.desc}}
|
||||
.execute-type{"ng-if" => "action.repeatable"}
|
||||
Repeats at most once every {{action.repeatFrequency}} seconds
|
||||
.last-run{"ng-if" => "action.lastExecuted"}
|
||||
Last executed {{action.lastExecuted | appDate}}
|
||||
.permissions
|
||||
%a{"ng-click" => "action.showPermissions = !action.showPermissions"} {{action.showPermissions ? "Hide permissions" : "Show permissions"}}
|
||||
.permission-model{"ng-if" => "action.showPermissions", "ng-repeat" => "structure in action.structures"}
|
||||
%span{"style" => "font-weight: bold;"} {{structure.type}}s:
|
||||
%span{"ng-repeat" => "field in structure.fields"}
|
||||
{{field.name}} ({{field.modifies ? "readwrite" : "read"}})
|
||||
%span{"ng-if" => "action.actionType == 'all'"} all {{" | "}}
|
||||
%span{"ng-if" => "action.actionType == 'watch'"} changes {{" | "}}
|
||||
%span {{structure.mode}}
|
||||
%span {{" | "}}
|
||||
%span {{structure.decrypted ? "decrypted" : "encrypted"}}
|
||||
.execute
|
||||
%a{"ng-click" => "ctrl.selectedAction(action, extension)"}
|
||||
%span{"ng-if" => "action.repeatable"}
|
||||
%span{"ng-if" => "ctrl.extensionManager.isRepeatActionEnabled(action)", "ng-click" => "ctrl.extensionManager.disableRepeatAction(action, extension)"} Disable
|
||||
%span{"ng-if" => "!ctrl.extensionManager.isRepeatActionEnabled(action)", "ng-click" => "ctrl.extensionManager.enableRepeatAction(action, extension)"} Enable
|
||||
%span{"ng-if" => "!action.repeatable"}
|
||||
Perform Action
|
||||
%span{"ng-if" => "!action.repeatable && !action.running"}
|
||||
Run
|
||||
%span{"ng-if" => "action.running"}
|
||||
.spinner{"style" => "margin-top: 3px;"}
|
||||
.last-run{"ng-if" => "action.lastExecuted && !action.running"}
|
||||
Last executed {{action.lastExecuted | appDateTime}}
|
||||
|
||||
.extension-link
|
||||
%a{"ng-click" => "ctrl.toggleExtensionForm()"} Add new extension
|
||||
|
||||
Reference in New Issue
Block a user