]> git.datanom.net - wpp.git/blobdiff - app/templates/user.html
Base user framework finished
[wpp.git] / app / templates / user.html
diff --git a/app/templates/user.html b/app/templates/user.html
new file mode 100644 (file)
index 0000000..f90b69b
--- /dev/null
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+
+{% block title %}
+{{ title }}
+{% endblock %}
+
+{% block content %}
+    {% include 'menu.html' %}
+    {% include 'flash.html' %}
+    <div class="well well-large" style="height: 140px;">
+        {% if user.avatar %}
+        <div class="pull-right">
+            <img src="{{ user.avatar(128) }}" class="img-polaroid">
+        </div>
+        {% endif %}
+        <h3>{{ user.name }}</h3>
+        {% if user.email %}<p>Email: {{ user.email }}</p>{% endif %}
+        {% if user.username %}<p>Username: {{ user.username }}</p>{% endif %}
+        {% if user.password %}<p>Password: {{ user.password }}</p>{% endif %}
+        {% if user.last_seen %}<p><em>Last seen: {{ user.last_seen }}</em></p>{% endif %}
+    </div>
+{% endblock %}
This page took 0.029124 seconds and 5 git commands to generate.