From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/admin/ind_user_manager.html | 111 ++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 gn2/wqflask/templates/admin/ind_user_manager.html (limited to 'gn2/wqflask/templates/admin/ind_user_manager.html') diff --git a/gn2/wqflask/templates/admin/ind_user_manager.html b/gn2/wqflask/templates/admin/ind_user_manager.html new file mode 100644 index 00000000..b821e5d5 --- /dev/null +++ b/gn2/wqflask/templates/admin/ind_user_manager.html @@ -0,0 +1,111 @@ +{% extends "base.html" %} +{% block title %}User Manager{% endblock %} +{% block content %} + + +
+ + + {{ flash_me() }} + + + + + + + + + + + + + + + + + + + {% if user.confirmed_at %} + + {% else %} + + {% endif %} + + + + + + {% if user.superuser %} + + {% else %} + + {% endif %} + + + + + + {% if user.most_recent_login %} + + {% else %} + + {% endif %} + + + + + + + + +
Name{{ user.full_name }}
Organization{{ user.organization }}
Confirmed{{ timeago(user.confirmed_at + "Z") }}Unconfirmed
SuperuserMade a superuser {{ timeago(user.superuser_info['timestamp'] + "Z") }} by + {{ user.crowner.name_and_org }}. + + + + Make Superuser + + +
Most recent login{{ timeago(user.most_recent_login.timestamp.isoformat() + "Z") }} from {{ user.most_recent_login.ip_address }}Never
+ + Become this user for debugging + +
+ + +
+ + + +{% endblock %} + +{% block js %} + + + + +{% endblock %} -- cgit v1.2.3