summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-main.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/statistics/templates/machine-main.html')
-rw-r--r--modules-available/statistics/templates/machine-main.html24
1 files changed, 20 insertions, 4 deletions
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html
index be32f9c7..1139d5b9 100644
--- a/modules-available/statistics/templates/machine-main.html
+++ b/modules-available/statistics/templates/machine-main.html
@@ -153,10 +153,26 @@
</button>
{{/canWol}}
{{#canExec}}
- <button type="submit" name="action" value="prepare-exec" class="btn btn-sm btn-primary btn-machine-action">
- <span class="glyphicon glyphicon-play"></span>
- {{lang_remoteExec}}
- </button>
+ <div class="btn-group">
+ <button type="submit" name="action" value="prepare-exec" class="btn btn-sm btn-primary btn-machine-action">
+ <span class="glyphicon glyphicon-play"></span>
+ {{lang_remoteExec}}
+ </button>
+ <button type="button" class="btn btn-sm btn-primary btn-machine-action dropdown-toggle"
+ data-toggle="dropdown" aria-haspopup="true">
+ <span class="caret"></span>
+ <span class="sr-only">Toggle Dropdown</span>
+ </button>
+ <div class="dropdown-menu" style="padding:0">
+ <div class="btn-group-vertical">
+ {{#execList}}
+ <button type="submit" name="action" value="exec-preset-{{id}}" class="btn btn-danger btn-machine-action">
+ {{title}}
+ </button>
+ {{/execList}}
+ </div>
+ </div>
+ </div>
{{/canExec}}
</div>
<div class="modal fade" id="reboot-confirm" tabindex="-1" role="dialog">