Add Bootstrap layouts to profile view page

This commit is contained in:
Michael Hall 2018-03-01 17:16:04 -05:00
parent 742680620d
commit 8a63da154c

View file

@ -3,15 +3,19 @@
{% block content %}
{% if user %}
<div class="container">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-6">
<div class="h2"><img class="align-bottom" border="1" src="{{request.user.profile.avatar}}" height="64px"/> {{user.user}}</div>
<h2>Profile: {{user.user}}</h2>
Realname: {{user.realname}} <br>
<p>Full name: <strong>{{user.realname}}</strong></p>
{% if user.weburl %}
Homepage: {{user.weburl}} <br>
<p>Homepage: {{user.weburl}}</p>
{% endif %}
</div>
<div class="col-md-3">
{% if teams %}
<h3>Teams</h3>
<ul>
@ -22,6 +26,9 @@ Homepage: {{user.weburl}} <br>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
</div>
{% else %}