detail_floor.html 1.17 KB
Newer Older
1
2
3
4
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList • {{ floor.building.name }} {{ floor.number }}{% endblock %}
{% block content %}

5
6
{% load humanize %}

7
8
9
<div class="page-header" id="banner">
  <div class="row">
    <div class="col-lg-12 text-center">
10
11
      <h1><strong>SRCT</strong>ROOMLIST</h1>
      <p class="lead"><strong>{{ floor.building.name }} {{ floor.number|ordinal }}</strong></p>
12
13
14
15
    </div>
  </div>
</div>

16
17
{% load gravatar %}

18
<div class="row">
19

20
  {% for student in students %}
21
22
23
24
25
26
  <div class="col-sm-3 text-center">
    <img class="img-circle img-responsive center center-block" src="{% gravatar_url student.user.email 100 %}" alt="{{ student.user.first_name }} Gravatar picture">
    <h4><a href="#">{{ student.user.first_name }} {{ student.user.last_name }}</a></h4>
    <h5><em>{{ student.major.name }}</em></h5>
    <h5><strong><a href="#">{{ student.room }}</a></strong></h5>
  </div>
27
28
  {% endfor %}
</div>
29

30
31
32
33
34
35
36
37
<br />

<div class="row">
  <div class="col-md-8 col-md-offset-2">
    <div class="alert alert-info text-center"><strong><em>Depending on individual privacy settings, not all students may be displayed.</em></strong></div>
  </div>
</div>

38
{% endblock %}