aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/admin/user.html11
-rw-r--r--pyaggr3g470r/templates/management.html13
2 files changed, 19 insertions, 5 deletions
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index a13a5248..fb60d8b1 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -7,8 +7,15 @@
<div class="jumbotron">
<a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">Edit this user</a>
<h2>Membership</h2>
- <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
- <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ <div class="row">
+ <div class="col-md-6">
+ <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
+ <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ </div>
+ <div class="col-md-6">
+ <img src="{{ user.email | gravatar }}" />
+ </div>
+ </div>
</div>
<div class="jumbotron">
{% if user.feeds.all()|count == 0 %}
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index ad2faada..2f95daaa 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -11,9 +11,16 @@
</div>
<div class="jumbotron">
<h1>Your Profile</h1>
- <p>Update your <a href="/profile/">profile</a>.</p>
- <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
- <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ <div class="row">
+ <div class="col-md-6">
+ <p>Update your <a href="/profile/">profile</a>.</p>
+ <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
+ <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ </div>
+ <div class="col-md-6">
+ <img src="{{ user.email | gravatar }}" />
+ </div>
+ </div>
</div>
<div class="jumbotron">
<h1>Import/export feeds</h1>
bgstack15