mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 14:02:29 +00:00
some experimentation with frontend
This commit is contained in:
12
crates/frontend/templates/components/calendar_list.html
Normal file
12
crates/frontend/templates/components/calendar_list.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<h2>Welcome {{ owner }}!</h2>
|
||||
<ul>
|
||||
{% for calendar in calendars %}
|
||||
<li>
|
||||
{% if let Some(name) = calendar.displayname %}
|
||||
{{ name }}
|
||||
{% else %}
|
||||
{{ calendar.id }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user