summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-03 11:50:58 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-03 11:50:58 +0200
commit73a6e07b83b76f9677494502bc6e32a7bf48cfd7 (patch)
treee3aa2ee06bdad8052ba10b1a7461d9d3f88159d3 /ogcp/templates
parentef609cf52a24f0b7a5475f247fdf1b0a0197b480 (diff)
Add reboot action
This action handles reboot on one or multiple scopes.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/scopes.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index 7abba81..4603f04 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -33,6 +33,8 @@
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<input class="dropdown-item" type="submit" value="{{ _('Poweroff') }}"
formaction="{{ url_for('action_poweroff') }}">
+ <input class="dropdown-item" type="submit" value="{{ _('Reboot') }}"
+ formaction="{{ url_for('action_reboot') }}">
</div>
</div>
</form>