44live/templates/space.html

47 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2025-03-06 00:33:46 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2025-04-04 00:14:43 -04:00
<meta property="og:site_name" content="44live">
2025-04-07 02:33:02 -04:00
<title>{{ data.space_name }}{{ " ("+data.building_name+")" if data.building_name }}</title>
2025-04-04 00:14:43 -04:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2025-04-07 02:33:02 -04:00
<link rel="icon" href="location.svg" type="image/svg+xml">
2025-04-10 01:17:42 -04:00
<meta name="color-scheme" content="dark light">
<link rel="stylesheet" href="https://static.stevenalexander.org/picocss/css/pico.min.css">
2025-03-06 00:33:46 -05:00
</head>
<body>
2025-04-10 01:17:42 -04:00
<main class="container">
<h2><a href="https://25live.collegenet.com/pro/louisville#!/home/location/{{ data.space_id }}/availability/daily">{{ data.space_name }}</a>{{ " ("+data.building_name+")" if data.building_name }}</h2>
<h3>Hours</h3>
<h4>
2025-03-06 00:33:46 -05:00
{%- for i in data.hours %}
{{ i.day_name[:3] }}: {{ i.open }} - {{ i.close }}<br>
{%- endfor %}
2025-04-10 01:17:42 -04:00
</h4>
2025-03-06 00:33:46 -05:00
{% if data.instructions %}
2025-04-10 01:17:42 -04:00
<h3>Instructions</h3>
<h4>{{ data.instructions|safe }}</h4>
2025-03-06 00:33:46 -05:00
{% endif %}
{%- if data.comments %}
2025-04-10 01:17:42 -04:00
<h3>Comments</h3>
<h4>{{ data.comments|safe }}</h4>
2025-03-06 00:33:46 -05:00
{%- endif %}
2025-04-10 01:17:42 -04:00
<h3>Layout(s)</h3>
2025-03-06 00:33:46 -05:00
{%- if data.layout %}
{%- if data.layout.append is defined %}
{%- for i in data.layout %}
{%- if i.layout_photo_id %}
2025-04-10 01:17:42 -04:00
<h4>{{ i.layout_name }} ({{ i.layout_capacity }} capacity)</h4>
2025-03-06 00:33:46 -05:00
<img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ i.layout_photo_id }}">
{%- endif %}
{%- endfor %}
{%- elif data.layout.layout_photo_id %}
2025-04-10 01:17:42 -04:00
<h4>{{ data.layout.layout_name }} ({{ data.layout.layout_capacity }} capacity)</h4>
2025-03-06 00:33:46 -05:00
<img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ data.layout.layout_photo_id }}">
{%- endif %}
{%- endif %}
2025-04-10 01:17:42 -04:00
</main>
<footer class="container">Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</footer>
2025-03-06 00:33:46 -05:00
</body>
</html>