197 lines
6.9 KiB
HTML
197 lines
6.9 KiB
HTML
{% load humanize %}
|
|
{% load naturalduration %}
|
|
{% load form_tags %}
|
|
<div class="row">
|
|
<div>
|
|
<p>
|
|
<a href="/charts/?date={% current_date "%Y-%m-%d" %}">Today</a> <b>{{counts.today}}</b> |
|
|
<a href="/charts/?date={% current_date "%Y" %}-W{% current_date "%W" %}">This Week</a> <b>{{counts.week}}</b> |
|
|
<a href="/charts/?date={% current_date "%Y-%m" %}">This Month</a> <b>{{counts.month}}</b> |
|
|
<a href="/charts/?date={% current_date "%Y" %}">This Year</a> <b>{{counts.year}}</b> |
|
|
<a href="/charts/">All Time</a> <b>{{counts.alltime}}</b>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md">
|
|
<h3><a href="{% url 'music:tracks_list' %}">Tracks</a></h3>
|
|
{% if Track %}
|
|
{% with scrobbles=Track count=Track_count time=Track_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No tracks today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'foods:food_list' %}">Food</a></h3>
|
|
{% if Food %}
|
|
{% with scrobbles=Food count=Food_count time=Food_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No food today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'birds:birding_location_list' %}">Birding Locations</a></h3>
|
|
{% if BirdingLocation %}
|
|
{% with scrobbles=BirdingLocation count=BirdingLocation_count time=BirdingLocation_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No birding today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'lifeevents:lifeevent_list' %}">Life Events</a></h3>
|
|
{% if life_events_in_progress %}
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Started</th>
|
|
<th scope="col">Title</th>
|
|
<th scope="col">Time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for scrobble in life_events_in_progress %}
|
|
{% include "scrobbles/_row.html" %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<p>No life events in progress</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'moods:mood_list' %}">Moods</a></h3>
|
|
{% if Mood %}
|
|
{% with scrobbles=Mood count=Mood_count time=Mood_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No moods felt today </p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'trails:trail_list' %}">Trails</a></h3>
|
|
{% if Trail %}
|
|
{% with scrobbles=Trail count=Trail_count time=Trail_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No trails hiked today</p>
|
|
{% endif %}
|
|
|
|
</div>
|
|
<div class="col-md">
|
|
|
|
<h3><a href="{% url 'tasks:task_list' %}">Tasks</a></h3>
|
|
{% if Task %}
|
|
{% with scrobbles=Task count=Task_count time=Task_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No tasks today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'videos:video_list' %}">Videos</a></h3>
|
|
{% if Video %}
|
|
{% with scrobbles=Video count=Video_count time=Video_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No videos today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'webpages:webpage_list' %}">Web pages</a></h3>
|
|
{% if WebPage %}
|
|
{% with scrobbles=WebPage count=WebPage_count time=WebPage_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else%}
|
|
<p>No web page read today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'sports:event_list' %}">Sport events</a></h3>
|
|
{% if SportEvent %}
|
|
{% with scrobbles=SportEvent count=SportEvent_count time=SportEvent_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No sports today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'podcasts:podcast_list' %}">Podcasts</a></h3>
|
|
{% if PodcastEpisode %}
|
|
{% with scrobbles=PodcastEpisode count=PodcastEpisode_count time=PodcastEpisode_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No podcasts today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url "videogames:videogame_list" %}">Video games</a></h3>
|
|
{% if VideoGame %}
|
|
{% with scrobbles=VideoGame count=VideoGame_count time=VideoGame_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No video games today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url "boardgames:boardgame_list" %}">Board games</a></h3>
|
|
{% if BoardGame %}
|
|
{% with scrobbles=BoardGame count=BoardGame_count time=BoardGame_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No board games today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'beers:beer_list' %}">Beers</a></h3>
|
|
{% if Beer %}
|
|
{% with scrobbles=Beer count=Beer_count time=Beer_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No beer today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'bricksets:brickset_list' %}">Brick sets</a></h3>
|
|
{% if BrickSet %}
|
|
{% with scrobbles=BrickSet count=BrickSet_count time=BrickSet_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No brick sets today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'puzzles:puzzle_list' %}">Puzzles</a></h3>
|
|
{% if Puzzle %}
|
|
{% with scrobbles=Puzzle count=Puzzle_count time=Puzzle_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No puzzles today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'books:book_list' %}">Books</a></h3>
|
|
{% if Book %}
|
|
{% with scrobbles=Book count=Book_count time=Book_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No books read today</p>
|
|
{% endif %}
|
|
|
|
<h3><a href="{% url 'locations:geolocation_list' %}">Locations</a></h3>
|
|
{% if GeoLocation %}
|
|
{% with scrobbles=GeoLocation count=GeoLocation_count time=GeoLocation_time %}
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
{% endwith %}
|
|
{% else %}
|
|
<p>No locations visited today</p>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|