44live/templates/space.html

45 lines
1.7 KiB
HTML
Raw 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">
<meta property="og:title" content="{{ data.space_name }}{{ " ("+data.building_name+")" if data.building_name }}">
<title>{{ data.space_name }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
2025-03-06 00:33:46 -05:00
<link rel="icon" type="image/x-icon" href="/location.svg">
2025-04-04 00:14:43 -04:00
<style>*{font-family:monospace;}b{white-space:pre-wrap;}img{max-width:100%;}</style>
2025-03-06 00:33:46 -05:00
</head>
<body>
<h1><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 }}</h1>
<h2>Hours</h2>
<h3>
{%- for i in data.hours %}
{{ i.day_name[:3] }}: {{ i.open }} - {{ i.close }}<br>
{%- endfor %}
</h3>
{% if data.instructions %}
<h2>Instructions</h2>
<h3>{{ data.instructions|safe }}</h3>
{% endif %}
{%- if data.comments %}
<h2>Comments</h2>
<h3>{{ data.comments|safe }}</h3>
{%- endif %}
<h2>Layout(s)</h2>
{%- if data.layout %}
{%- if data.layout.append is defined %}
{%- for i in data.layout %}
{%- if i.layout_photo_id %}
<h3>{{ i.layout_name }} ({{ i.layout_capacity }} capacity)</h3>
<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 %}
<h3>{{ data.layout.layout_name }} ({{ data.layout.layout_capacity }} capacity)</h3>
<img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ data.layout.layout_photo_id }}">
{%- endif %}
{%- endif %}
2025-04-04 00:14:43 -04:00
<h2>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</h2>
2025-03-06 00:33:46 -05:00
</body>
</html>