Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
877428d3
Commit
877428d3
authored
Feb 09, 2015
by
Daniel W Bond
Browse files
naming conventions for templates
parent
4d7b7340
Changes
3
Hide whitespace changes
Inline
Side-by-side
roomlist/housing/templates/detail_building.html
0 → 100644
View file @
877428d3
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList
•
{{ building.name }} {% endblock %}
{% block content %}
<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"
>
{{ building.name }}
</p>
</div>
</div>
</div>
<ul
style=
"list-style-type: none"
>
{% for room in room_list %}
<li>
{{ room.number }}
</li>
<li>
<ul>
<li>
{{ room.bedA }}
</li>
{% if room.bedB %}
<li>
{{ room.bedB }}
</li>
{% endif %}
{% if room.bedC %}
<li>
{{ room.bedC }}
</li>
{% endif %}
{% if room.bedD %}
<li>
{{ room.bedD }}
</li>
{% endif %}
</ul>
</li>
{% endfor %}
</ul>
{% endblock %}
roomlist/housing/templates/detail_floor.html
0 → 100644
View file @
877428d3
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList
•
{{ floor.building.name }} {{ floor.number }}{% endblock %}
{% block content %}
<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"
>
{{ floor.building.name }}{{ floor.number }}
</p>
</div>
</div>
</div>
{% for room in rooms %}
{{ room.number }}
{% endfor %}
{% endblock %}
roomlist/housing/templates/list_buildings.html
0 → 100644
View file @
877428d3
{% extends 'layouts/base.html' %}
{% block title %}
SRCT RoomList
•
Homepage
{% endblock %}
{% block content %}
<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"
>
Building List
</p>
</div>
</div>
</div>
<legend>
Rappahannock
</legend>
<ul>
{% for building in rappahannock %}
<li>
<a
href=
"/housing/buildings/{{ building.name }}"
>
{{ building.name }}
</a>
- {{ building.address }} {{ building.address.zip_code }}, {{ building.address.state}}
</li>
{% endfor %}
</ul>
<legend>
Shenandoah
</legend>
<ul>
{% for building in shenandoah %}
<li>
<a
href=
"/housing/buildings/{{ building.name }}"
>
{{ building.name }}
</a>
- {{ building.address }} {{ building.address.zip_code }}, {{ building.address.state}}
</li>
{% endfor %}
</ul>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment