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 %} + + +
Name | +{{ user.full_name }} | +|
Organization | +{{ user.organization }} | +|
Confirmed | + + {% if user.confirmed_at %} +{{ timeago(user.confirmed_at + "Z") }} | + {% else %} +Unconfirmed | + {% endif %} +
Superuser | + + {% if user.superuser %} +Made a superuser {{ timeago(user.superuser_info['timestamp'] + "Z") }} by + {{ user.crowner.name_and_org }}. + | + {% else %} ++ + + Make Superuser + + + | + {% endif %} +
Most recent login | + {% if user.most_recent_login %} +{{ timeago(user.most_recent_login.timestamp.isoformat() + "Z") }} from {{ user.most_recent_login.ip_address }} | + {% else %} +Never | + {% endif %} +
+ + Become this user for debugging + + | +