summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/add_room.html15
-rw-r--r--ogcp/templates/scopes.html2
2 files changed, 17 insertions, 0 deletions
diff --git a/ogcp/templates/actions/add_room.html b/ogcp/templates/actions/add_room.html
new file mode 100644
index 0000000..dffdc87
--- /dev/null
+++ b/ogcp/templates/actions/add_room.html
@@ -0,0 +1,15 @@
+{% extends 'base.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% block content %}
+
+<h1 class="m-5">{{_('Add room form')}}</h1>
+
+{{ wtf.quick_form(form,
+ action=url_for('action_room_add'),
+ method='post',
+ button_map={'submit': 'primary'},
+ extra_classes="mx-5") }}
+
+{% endblock %}
+
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index 0adeca4..df2b535 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -59,6 +59,8 @@
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">
+ <input class="dropdown-item" type="submit" value="{{ _('Add room') }}"
+ formaction="{{ url_for('action_room_add') }}" formmethod="get">
</div>
</div>
</form>