Commit 7b7338b0 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

detail_floor created, pending links

parent 04cc1bcd
......@@ -2,19 +2,37 @@
{% block title %} SRCT RoomList • {{ floor.building.name }} {{ floor.number }}{% endblock %}
{% block content %}
{% load humanize %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>GMU</strong>ROOMLIST</h1>
<p class="lead"><strong>{{ floor.building.name }}{{ floor.number }}</strong></p>
<h1><strong>SRCT</strong>ROOMLIST</h1>
<p class="lead"><strong>{{ floor.building.name }} {{ floor.number|ordinal }}</strong></p>
</div>
</div>
</div>
{% load gravatar %}
<div class="row">
{% for student in students %}
{{ student }}
<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>
{% endfor %}
</div>
<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>
{% endblock %}
......@@ -62,6 +62,7 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'django.contrib.humanize',
# apps
'api',
'housing',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment