detailStudent.html 1.79 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>
29
              <td><strong>Major</strong>: {{ student.major.major_name }}</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
    </div>
  </div>
</div>

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<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>
              <td><i class="fa fa-facebook fa-lg"></i></td>
              <td>link</td>
            </tr>

            <tr>
              <td><i class="fa fa-google fa-lg"></i></td>
              <td>link</td>
            </tr>

            <tr>
              <td><i class="fa fa-twitter fa-lg"></i></td>
              <td>link</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

70
{% endblock %}