aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorSam2013-05-23 00:23:13 +0000
committerSam2013-05-23 00:23:13 +0000
commit0352c52231ca677385ba833a8f6d542cbd3378ba (patch)
treec72d57feb4dd2c9d5a49e67dd6734b8b6f41147d /wqflask/wqflask
parent7eb9f5d12389df0ef7440a82df0be9bd1119847e (diff)
downloadgenenetwork2-0352c52231ca677385ba833a8f6d542cbd3378ba.tar.gz
Added a template
Diffstat (limited to 'wqflask/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 %}