detail_building.html 835 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% 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 %}