diff options
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/actions/folder_update.html | 19 | ||||
-rw-r--r-- | ogcp/templates/scopes.html | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ogcp/templates/actions/folder_update.html b/ogcp/templates/actions/folder_update.html new file mode 100644 index 0000000..51985e4 --- /dev/null +++ b/ogcp/templates/actions/folder_update.html @@ -0,0 +1,19 @@ +{% extends 'scopes.html' %} +{% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} +{% set btn_back = true %} + +{% block nav_folder %} active{% endblock %} +{% block nav_folder_update %} active{% endblock %} +{% block content %} + +<h1 class="m-5">{{_('Update folder')}}</h1> + +{{ wtf.quick_form(form, + method='post', + button_map={'submit': 'primary'}, + extra_classes="mx-5") }} + +{% endblock %} + diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 23b3d3c..6d3ab4b 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -64,6 +64,8 @@ <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"> + <input class="btn btn-light dropdown-item {% block nav_folder_update %}{% endblock %}" type="submit" value="{{ _('Update folder') }}" + form="scopesForm" formaction="{{ url_for('action_folder_update') }}" formmethod="get"> <input class="btn btn-light dropdown-item {% block nav_folder_delete %}{% endblock %}" type="submit" value="{{ _('Delete folder') }}" form="scopesForm" formaction="{{ url_for('action_folder_delete') }}" formmethod="get"> </div> |