summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/scopes.html
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-10 11:23:36 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-10 11:31:08 +0100
commit695fcfe6255fd53b19b416e8375b48d2dc5595e4 (patch)
tree72927876587a1ca19b2e8cc6172346fa133ceb96 /ogcp/templates/scopes.html
parent58b5b2eca00acc14510dbf2c741f12d7e799a264 (diff)
src: Add support for adding folders
Add support to create a folder able to contain multiple computers. Add support for adding a folder able to contain rooms
Diffstat (limited to 'ogcp/templates/scopes.html')
-rw-r--r--ogcp/templates/scopes.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index 8a0701f..ecc8433 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -56,6 +56,17 @@
form="scopesForm" formaction="{{ url_for('action_center_delete') }}" formmethod="get">
</div>
</div>
+
+ <div class="dropdown btn">
+ <button class="btn btn-secondary btn-light dropdown-toggle {% block nav_folder %}{% endblock %}" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false">
+ {{ _('Folder') }}
+ </button>
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
+ <input class="btn btn-light dropdown-item {% block nav_folder_add %}{% endblock %}" type="submit" value="{{ _('Add folder') }}"
+ form="scopesForm" formaction="{{ url_for('action_folder_add') }}" formmethod="get">
+ </div>
+ </div>
+
{% endif %}
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">