about summary refs log tree commit diff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/admin/ind_user_manager.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/admin/ind_user_manager.html b/wqflask/wqflask/templates/admin/ind_user_manager.html
new file mode 100644
index 00000000..9776af0b
--- /dev/null
+++ b/wqflask/wqflask/templates/admin/ind_user_manager.html
@@ -0,0 +1,62 @@
+{% extends "base.html" %}
+{% block title %}User Manager{% endblock %}
+{% block content %}
+<!-- Start of body -->
+    <header class="jumbotron subhead" id="overview">
+        <div class="container">
+            <h1>User Manager</h1>
+        </div>
+    </header>
+
+    <div class="container">
+        <div class="page-header">
+            <h1>{{ user.email }} <small>User #{{ user.id }}</small></h1>
+
+            <span class="badge">{{ numify(user.login_count, "login", "logins").capitalize() }}</span>
+
+            {% if user.active %}
+            <span class="label label-success">Active</span>
+            {% else %}
+            <span class="label label-warning">Inactive</span>
+            {% endif %}
+        </div>
+
+
+
+        <table class="table table-hover">
+<!--        <thead>
+                <tr>
+                    <th>Field</th>
+                    <th>Value</th>
+                </tr>
+            </thead>-->
+
+
+            <tr>
+                <td>Confirmed</td>
+                <td>{{ user.confirmed_at }}</td>
+            </tr>
+
+            <tr>
+                <td>Current login</td>
+                <td>{{ user.current_login_at }} from {{ user.current_login_ip }}</td>
+            </tr>
+
+            <tr>
+                <td>Last login</td>
+                <td>{{ user.last_login_at }} from {{ user.last_login_ip }}</td>
+            </tr>
+
+    <!--        <tr>
+                <td>Number of logins</td>
+                <td>{{ user.login_count }}</td>
+            </tr>-->
+
+        </table>
+
+
+    </div>
+
+<!-- End of body -->
+
+{% endblock %}