diff options
Diffstat (limited to 'app/templates/admin')
| -rw-r--r-- | app/templates/admin/list.html | 12 | ||||
| -rw-r--r-- | app/templates/admin/switch_user_page.html | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app/templates/admin/list.html b/app/templates/admin/list.html index 1c0301e..1db3247 100644 --- a/app/templates/admin/list.html +++ b/app/templates/admin/list.html @@ -9,4 +9,16 @@ <li><a href="{{ url_for('user_list_page') }}">User list</a></li> <li><a href="{{ url_for('switch_user_page') }}">Sign in as another user</a></li> </ul> + + <div class="box box_grey"> + <h2>Do action</h2> + + <form method="post" action=""> + <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> + <select name="action"> + <option value="importusers" selected>Create users from mod list</option> + </select> + <input type="submit" value="Start" /> + </form> + </div> {% endblock %} diff --git a/app/templates/admin/switch_user_page.html b/app/templates/admin/switch_user_page.html index 0149786..7d4a4a2 100644 --- a/app/templates/admin/switch_user_page.html +++ b/app/templates/admin/switch_user_page.html @@ -5,6 +5,8 @@ {% endblock %} {% block content %} + <h2>Log in as another user</h2> + {% from "macros/forms.html" import render_field, render_submit_field %} <form method="POST" action=""> {{ form.hidden_tag() }} |
