From 62b3afeeedfe054345f86093e2d243e956c1e3c9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 26 Feb 2020 11:27:31 +0100 Subject: The project is now using Poetry. --- src/web/templates/admin/create_user.html | 26 ------------ src/web/templates/admin/dashboard.html | 68 -------------------------------- 2 files changed, 94 deletions(-) delete mode 100644 src/web/templates/admin/create_user.html delete mode 100644 src/web/templates/admin/dashboard.html (limited to 'src/web/templates/admin') diff --git a/src/web/templates/admin/create_user.html b/src/web/templates/admin/create_user.html deleted file mode 100644 index 40aad468..00000000 --- a/src/web/templates/admin/create_user.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "layout.html" %} -{% block head%} -{{super()}} -{% endblock %} -{% block content %} -
-
-

{{ message | safe }}

-
- {{ form.hidden_tag() }} - - {{ form.nickname.label }} - {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} {{ error }}
{% endfor %} - - {{ form.password.label }} - {{ form.password(class_="form-control") }} {% for error in form.password.errors %} {{ error }}
{% endfor %} - - {{ form.automatic_crawling.label }} - {{ form.automatic_crawling(class_="form-control") }} {% for error in form.automatic_crawling.errors %} {{ error }}
{% endfor %} - -
- {{ form.submit(class_="btn btn-default") }} -
-
-
-{% endblock %} diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html deleted file mode 100644 index 350a2e47..00000000 --- a/src/web/templates/admin/dashboard.html +++ /dev/null @@ -1,68 +0,0 @@ -{% extends "layout.html" %} -{% block head%} -{{super()}} -{% endblock %} -{% block content %} -
-

{{ _('Registered users') }}

- - - - - - - - - - - - {% for user in users %} - - - - - - - - {% endfor %} - -
#{{ _('Nickname') }}{{ _('Member since') }}{{ _('Last seen') }}{{ _('Actions') }}
{{ loop.index }} - {% if user.is_public_profile %} - {{ user.nickname }} - {% else %} - {{ user.nickname }} - {% endif %} - {% if user.id == current_user.id %} (It's you!){% endif %} - {{ user.date_created | datetime }}{{ user.last_seen | datetime }} - - {% if user.id != current_user.id %} - - {% if user.is_active %} - - {% else %} - - {% endif %} - - - {% endif %} -
-{{ _('Add a new user') }} -
- -{% endblock %} -- cgit