Commit 2cb0eea9 authored by Daniel W Bond's avatar Daniel W Bond

changes related to template readability and indenting

parent f51c7124
......@@ -31,12 +31,14 @@
{% regroup majors by first_letter as majors_by_letter %}
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center"><h3>
<div class="col-md-10 col-md-offset-1 text-center">
<h3>
&middot;
{% for letter in majors_by_letter %}
<a href="#{{ letter.grouper }}">{{ letter.grouper }}</a> &middot;
{% endfor %}
</h3></div>
</h3>
</div>
</div>
<div class="row">
......@@ -46,20 +48,19 @@
<div class="row">
{% for major in letter.list %}
<div class="col-md-6 text-center">
{% if major.name|length > 39 %}
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{% if major.name|length > 39 %}
<small>{{ major.name }}</small></a>
{% else %}
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{% else %}
{{ major.name }}
{% endif %}
</a>
{% endif %}
</div>
{% if forloop.counter|divisibleby:2 %}
</div>
<br />
<div class="row">
{% endif %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %}
</div>
<br />
......
......@@ -47,15 +47,19 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="alert alert-info text-center"><strong><em>
{% if notOnFloor %}
You don't live on this floor. Depending on individual privacy settings, not all students may be displayed.
{% elif notInBuilding %}
You don't live in this building. Depending on individual privacy settings, not all students may be displayed.
{% else %}
Don't see someone you know who lives here? Tell them about SRCT Roomlist!
{% endif %}
</em></strong></div>
<div class="alert alert-info text-center">
<p><strong><em>
{% if notOnFloor %}
You don't live on this floor.
Depending on individual privacy settings, not all students may be displayed.
{% elif notInBuilding %}
You don't live in this building.
Depending on individual privacy settings, not all students may be displayed.
{% else %}
Don't see someone you know who lives here? Tell them about SRCT Roomlist!
{% endif %}
</em></strong></p>
</div>
</div>
</div>
......
......@@ -47,15 +47,19 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="alert alert-info text-center"><strong><em>
{% if notOnFloor %}
You don't live on this floor. Depending on individual privacy settings, not all students may be displayed.
{% elif notInBuilding %}
You don't live in this building. Depending on individual privacy settings, not all students may be displayed.
{% else %}
Don't see one of your roommates? Tell them about SRCT Roomlist!
{% endif %}
</em></strong></div>
<div class="alert alert-info text-center">
<p><strong><em>
{% if notOnFloor %}
You don't live on this floor.
Depending on individual privacy settings, not all students may be displayed.
{% elif notInBuilding %}
You don't live in this building.
Depending on individual privacy settings, not all students may be displayed.
{% else %}
Don't see one of your roommates? Tell them about SRCT Roomlist!
{% endif %}
</em></strong></p>
</div>
</div>
</div>
......
......@@ -40,7 +40,9 @@
<div class="row">
{% for building in buildings %}
<div class="col-sm-3 text-center">
<a href="{{ building.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">{{ building.name }}</a>
<a href="{{ building.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{{ building.name }}
</a>
</div>
{% if forloop.counter|divisibleby:4 %}
</div>
......
......@@ -3,34 +3,32 @@
<hr>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="col-md-6">
Email the developers:
<a href="mailto:roomlist@lists.srct.gmu.edu">
roomlist@lists.srct.gmu.edu
</a>
<br />
<a href="{% url 'about' %}" target="_blank">About</a> &middot;
<a href="{% url 'privacy' %}" target="_blank">Privacy</a> &middot;
<a href="http://srct.gmu.edu/documents/usage_policy" target="_blank">Terms of Service</a> &middot;
<a href="http://srct.gmu.edu/contact/" target="_blank">Contact</a>
</div>
<div class="col-md-6">
<span class="pull-right">
A <a href="http://srct.gmu.edu/projects" target="_blank">project</a> of
<a href="http://www.gmu.edu/" target="_blank">Mason</a>
<a href="http://srct.gmu.edu/" target="_blank"><strong>SRCT</strong></a>, a
<a href="https://getconnected.gmu.edu/organization/srct" target="_blank">registered student org</a>.
</span>
<br />
<span class="pull-right">
Read and
<a href="https://git.gmu.edu//srct/roomlist/milestones/" target="_blank">contribute</a>
to our
<a href="https://www.gnu.org/licenses/quick-guide-gplv3.html" target="_blank">freely-licensed</a>
<a href="http://git.gmu.edu/srct/roomlist/" target="_blank">source code</a>.</p>
</span>
</div>
<div class="col-md-6">
Email the developers:
<a href="mailto:roomlist@lists.srct.gmu.edu">
roomlist@lists.srct.gmu.edu
</a>
<br />
<a href="{% url 'about' %}" target="_blank">About</a> &middot;
<a href="{% url 'privacy' %}" target="_blank">Privacy</a> &middot;
<a href="http://srct.gmu.edu/documents/usage_policy" target="_blank">Terms of Service</a> &middot;
<a href="http://srct.gmu.edu/contact/" target="_blank">Contact</a>
</div>
<div class="col-md-6">
<span class="pull-right">
A <a href="http://srct.gmu.edu/projects" target="_blank">project</a> of
<a href="http://www.gmu.edu/" target="_blank">Mason</a>
<a href="http://srct.gmu.edu/" target="_blank"><strong>SRCT</strong></a>, a
<a href="https://getconnected.gmu.edu/organization/srct" target="_blank">registered student org</a>.
</span>
<br />
<span class="pull-right">
Read and
<a href="https://git.gmu.edu//srct/roomlist/milestones/" target="_blank">contribute</a>
to our
<a href="https://www.gnu.org/licenses/quick-guide-gplv3.html" target="_blank">freely-licensed</a>
<a href="http://git.gmu.edu/srct/roomlist/" target="_blank">source code</a>.</p>
</span>
</div>
</div>
</div>
......
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