summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/scopes.html
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-02-17 10:06:10 +0000
committerJose M. Guisado <jguisado@soleta.eu>2021-02-17 13:40:06 +0000
commit20f88065bb79d4c19611873c7b22d57387a32727 (patch)
tree2639488ef11cfdec95b69e2a51db87e365166523 /ogcp/templates/scopes.html
parente68eb7a3da8b60b6af1bff0cce74b22fdae26095 (diff)
Add boot mode to actions
This action is related to /mode in ogServer API. Allows changing the netboot template for a set of given clients, previously selected in the /scopes view.
Diffstat (limited to 'ogcp/templates/scopes.html')
-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 8eba78c..879f5f0 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -56,6 +56,8 @@
formaction="{{ url_for('action_client_add') }}" formmethod="get">
<input class="dropdown-item" type="submit" value="{{ _('Create image') }}"
formaction="{{ url_for('action_image_create') }}" formmethod="get">
+ <input class="dropdown-item" type="submit" value="{{ _('Set boot mode') }}"
+ formaction="{{ url_for('action_mode') }}" formmethod="get">
</div>
</div>
</form>