first commit
This commit is contained in:
23
src/web/templates/calendar.html
Normal file
23
src/web/templates/calendar.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Calendar - MyOrg Assistant{% endblock %}
|
||||
{% block content %}
|
||||
<h2>📅 Calendar</h2>
|
||||
<h3>Today - {{ today }}</h3>
|
||||
<div class="event-list">
|
||||
{% for event in today_events %}
|
||||
<div class="event-item">
|
||||
<span class="event-time">{% if event.time %}{{ event.time.strftime('%H:%M') }}{% else %}All day{% endif %}</span>
|
||||
{{ event.description }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h3>Upcoming (Next 7 Days)</h3>
|
||||
<div class="event-list">
|
||||
{% for event in upcoming_events %}
|
||||
<div class="event-item">
|
||||
<span>{{ event.date.strftime('%Y-%m-%d') }} {% if event.time %}{{ event.time.strftime('%H:%M') }}{% endif %}</span>
|
||||
{{ event.description }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user