modified: app.py
modified: db.py modified: routes/journal_routes.py modified: static/css/style.css modified: static/js/main.js modified: templates/base.html modified: templates/day.html modified: templates/future.html modified: templates/index.html new file: templates/monat.html modified: templates/week.html
This commit is contained in:
@@ -33,10 +33,19 @@
|
||||
{% for e in entries %}
|
||||
<li class="note-item {{ 'is-done' if e.status == 'done' else '' }}">
|
||||
<span class="bullet">{{ '✓' if e.status == 'done' else '›' }}</span>
|
||||
<span class="note-text">{{ e.note_text }}</span>
|
||||
<form method="post" action="{{ url_for('journal.future') }}" class="inline">
|
||||
<input type="hidden" name="toggle_id" value="{{ e.id }}">
|
||||
</form>
|
||||
<div class="note-text">
|
||||
<div>{{ e.note_text|linkify }}</div>
|
||||
{% if e.refs|refs %}
|
||||
<div class="refs">
|
||||
{% for r in e.refs|refs %}
|
||||
<a class="ref" href="{{ ref_href(r.type, r.value) }}" target="_blank" rel="noopener">
|
||||
{{ ref_type_label(r.type) }} {{ r.value }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<span class="note-date">{{ e.month_date.strftime('%m/%Y') }}</span>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user