Added graphs to show workouts & PR's per week on dashboard. However there is no tooltip on hover and I duplicated the svg spark line template (May combine the two)
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="w-full mb-4 grid grid-cols-1 xl:grid-cols-2 gap-4">
|
||||
{% for graph in dashboard_graphs %}
|
||||
<div class="bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8">
|
||||
{{ render_partial('partials/svg_line_graph.html', **graph) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="bg-white shadow rounded-lg pt-4 p-3 md:p-4 w-full mb-4">
|
||||
<div class="flex flex-wrap">
|
||||
<div class="w-full lg:w-1/4 sm:w-full px-3 mb-6 md:mb-0">
|
||||
|
||||
Reference in New Issue
Block a user