2024-01-12 10:57:58 +01:00
|
|
|
{% extends 'layouts/main.html' %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-03-07 17:05:18 +01:00
|
|
|
<div class = "row">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<h1>
|
2024-03-09 14:24:02 +01:00
|
|
|
{% if (current_user.is_authenticated) %}<img class="avatar avatar-xl" src="{{user.profile_image}}" alt="no image"/>{% endif %}
|
2024-03-07 17:05:18 +01:00
|
|
|
{{ title }}
|
|
|
|
|
</h1>
|
|
|
|
|
<h3>{{ utc_dt }}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-2">
|
|
|
|
|
<a href="https://anti-stress-team.de/blog/selbstmanagement/80-spannende-ideen-fuer-deinen-habit-tracker/" role="button" class="btn btn-discovery">Beliebte Habits</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-02-16 09:25:31 +01:00
|
|
|
|
2024-02-20 20:55:06 +01:00
|
|
|
<div class="d-md-flex gap-3">
|
2024-02-20 11:17:06 +01:00
|
|
|
|
2024-03-05 09:44:54 +01:00
|
|
|
{% if current_user.is_authenticated %}
|
2024-02-20 20:55:06 +01:00
|
|
|
{% include 'components/heatmap.html' %}
|
2024-03-05 09:44:54 +01:00
|
|
|
{% endif %}
|
2024-02-20 11:17:06 +01:00
|
|
|
|
2024-03-05 09:44:54 +01:00
|
|
|
{% if current_user.is_authenticated %}
|
2024-02-20 20:55:06 +01:00
|
|
|
{% include 'components/habit_lists.html' %}
|
2024-03-05 09:44:54 +01:00
|
|
|
{% endif %}
|
2024-02-20 11:17:06 +01:00
|
|
|
|
2024-03-05 09:44:54 +01:00
|
|
|
{% if current_user.is_authenticated %}
|
2024-02-28 10:46:26 +01:00
|
|
|
{% include 'components/delete_button.html' %}
|
2024-03-05 09:44:54 +01:00
|
|
|
{% endif %}
|
2024-02-20 11:17:06 +01:00
|
|
|
|
2024-03-05 11:15:43 +01:00
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
|
{% include 'components/delete_list.html' %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2024-02-20 20:55:06 +01:00
|
|
|
</div>
|
2024-02-16 09:25:31 +01:00
|
|
|
|
2024-03-07 14:28:20 +01:00
|
|
|
<script src="../static/script/script-index.js"></script>
|
2024-02-16 09:25:31 +01:00
|
|
|
|
2024-01-12 10:57:58 +01:00
|
|
|
{% endblock %}
|