summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/mode.html13
-rw-r--r--ogcp/templates/scopes.html2
2 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html
new file mode 100644
index 0000000..d93e8a7
--- /dev/null
+++ b/ogcp/templates/actions/mode.html
@@ -0,0 +1,13 @@
+{% extends 'base.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% block content %}
+
+{{ wtf.quick_form(form,
+ action=url_for('action_mode'),
+ method='post',
+ button_map={'ok': 'primary'},
+ extra_classes="m-5") }}
+
+{% endblock %}
+
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>