use picocss

This commit is contained in:
steven 2025-04-10 01:17:42 -04:00
parent eaae9de31c
commit 9bab0c69af
4 changed files with 155 additions and 146 deletions

View file

@ -17,11 +17,13 @@
{%- endif %}
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" href="clock.svg" type="image/svg+xml">
<style>*{font-family:monospace;}</style>
<meta name="color-scheme" content="dark light">
<link rel="stylesheet" href="https://static.stevenalexander.org/picocss/css/pico.min.css">
</head>
<body>
<h1><a href="https://25live.collegenet.com/pro/louisville#!/home/event/{{ data.event_id }}/details">{{ data.event_name }}</a>{{ " ("+data.event_title+")" if data.event_title }}</h1>
<h2>
<main class="container">
<h2><a href="https://25live.collegenet.com/pro/louisville#!/home/event/{{ data.event_id }}/details">{{ data.event_name }}</a>{{ " ("+data.event_title+")" if data.event_title }}</h2>
<h3>
{%- if "Rsrv" in data.profile.profile_name %}
{%- if data.profile.reservation.append is defined %}
Start: {{ data.profile.reservation[0].event_start_dt }}<br>
@ -33,9 +35,9 @@
{%- else %}
{{ data.profile.profile_name }}
{%- endif %}
</h2>
</h3>
{%- if data.profile.append is not defined %}
<h2>
<h3>
{%- if data.profile.reservation.append is defined %}
{%- if data.profile.reservation[0].space_reservation.append is defined %}
{%- for space in data.profile.reservation[0].space_reservation %}
@ -53,23 +55,23 @@
<a href="{{ data.profile.reservation.space_reservation.space_id }}">{{ data.profile.reservation.space_reservation.space.formal_name }}</a>
{%- endif %}
{%- endif %}
</h2>
</h3>
{%- endif %}
{%- if data.event_text %}
<h2>Description</h2>
<h3>Description</h3>
{%- if data.event_text.append is defined %}
{%- for i in data.event_text %}
{%- if i.text_type_id == 1 %}
<h3>{{ i.text | safe }}</h3>
<h4>{{ i.text | safe }}</h4>
{%- endif %}
{%- endfor %}
{%- elif data.event_text.text_type_id == 1 %}
<h3>{{ data.event_text.text | safe }}</h3>
<h4>{{ data.event_text.text | safe }}</h4>
{%- endif %}
{%- endif %}
<h2>Contact(s)</h2>
<h3>Contact(s)</h3>
{%- for i in data.role %}
<h3>{{ i.role_name }}: {{ i.contact.contact_first_name }} {{ i.contact.contact_middle_name }} {{ i.contact.contact_last_name }}</h3>
<h4>{{ i.role_name }}: {{ i.contact.contact_first_name }} {{ i.contact.contact_middle_name }} {{ i.contact.contact_last_name }}</h4>
{%- if i.contact.email %}
<p>Email: {{ i.contact.email }}</p>
{%- endif %}
@ -81,17 +83,18 @@
{%- endif %}
{%- endfor %}
{%- if data.custom_attribute %}
<h2>Custom Attribute(s)</h2>
<h3>Custom Attribute(s)</h3>
{%- if data.custom_attribute.append is defined %}
{%- for i in data.custom_attribute %}
<h3>{{ i.attribute_name }}</h3>
<h4>{{ i.attribute_name }}</h4>
<p>{{ i.attribute_value }}</p>
{%- endfor %}
{%- else %}
<h3>{{ data.custom_attribute.attribute_name }}</h3>
<h4>{{ data.custom_attribute.attribute_name }}</h4>
<p>{{ data.custom_attribute.attribute_value }}</p>
{%- endif %}
{%- endif %}
<h2>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</h2>
</main>
<footer class=container>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</footer>
</body>
</html>