detailStudent.html 1.13 KB
Newer Older
1 2
{% extends 'layouts/base.html' %}

Daniel W Bond's avatar
Daniel W Bond committed
3
{% block title %} GMU RoomList | {{ student.user.first_name }} {{ student.user.last_name }}  {% endblock %}
4 5 6

{% block content %}

Daniel W Bond's avatar
Daniel W Bond committed
7 8
{% load gravatar %}

9 10
<div class="page-header" id="banner">
  <div class="row">
Daniel W Bond's avatar
Daniel W Bond committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
    <div class="col-md-8 col-md-offset-2 text-center">
      <img class="img-circle img-responsive center center-block" src="{% gravatar_url student.user.email 175 %}" alt="{{ student.user.first_name }} Gravatar picture">
      <h1>{{ student.user.first_name }} {{ student.user.last_name }}</h1>
    </div>
  </div>
</div>

<div class="row">
  <div class="col-md-8 col-md-offset-2">
    <div class="panel panel-default">
      <div class="panel-body">
        <table class="table table-hover text-center">
          <tbody>
            <tr>
Daniel W Bond's avatar
Daniel W Bond committed
25
              <td><strong>Room</strong>: {{ student.room }}</td>
Daniel W Bond's avatar
Daniel W Bond committed
26 27 28
            </tr>

            <tr>
Daniel W Bond's avatar
Daniel W Bond committed
29
              <td><strong>Major</strong>: Biology</td>
Daniel W Bond's avatar
Daniel W Bond committed
30 31 32
            </tr>

            <tr>
Daniel W Bond's avatar
Daniel W Bond committed
33
              <td><strong>Email</strong>: {{ student.user.email }}</td>
Daniel W Bond's avatar
Daniel W Bond committed
34 35 36 37 38
            </tr>

          </tbody>
        </table>
      </div>
39 40 41 42 43
    </div>
  </div>
</div>

{% endblock %}