@@ -44,7 +44,7 @@
_="on clearNewSetInputs set my.placeholder to ''" {% endif %}>
-
+
@@ -56,7 +56,7 @@
@@ -64,7 +64,7 @@
diff --git a/templates/partials/sparkline.html b/templates/partials/sparkline.html
index e6077cf..43220c0 100644
--- a/templates/partials/sparkline.html
+++ b/templates/partials/sparkline.html
@@ -1,44 +1,46 @@
{% set fill = "#dcfce7" %}
{% set stroke = "#bbf7d0" %}
{% set stroke_width = 4 %}
-{% set margin = 0 %} {# space allocated for axis labels and ticks #}
+{% set margin = 2 %}
{% macro path(data_points, vb_height) %}
{% for value, position, message in data_points %}
- {% set x = position * vb_width %}
- {% set y = vb_height - value %}
+ {% set x = (position * vb_width)+margin %}
+ {% set y = (vb_height - value)+margin %}
{% if loop.first %}M{{ x }} {{ y }}{% else %} L{{ x }} {{ y }}{% endif %}
{% endfor %}
{% endmacro %}
{% macro circles(data_points, vb_height) %}
{% for value, position, message in data_points %}
- {% set x = position * vb_width %}
- {% set y = vb_height - value %}
+ {% set x = (position * vb_width)+margin %}
+ {% set y = (vb_height - value)+margin %}
+ add .hidden to #popover-{{ unique_id }}">
+
{% endfor %}
{% endmacro %}
-{% macro closed_path(points, vb_width, vb_height) %}
- {{ path(points, vb_width, vb_height) }} L {{ vb_width + 2*margin }} {{ vb_height + 2*margin }} L {{ 2*margin }} {{ vb_height + 2*margin }} Z
-{% endmacro %}
+
+{% macro random_int() %}{% for n in [0,1,2,3,4,5] %}{{ [0,1,2,3,4,5,6,7,8,9]|random }}{% endfor %}{% endmacro %}
+
+
+{% set parts = [random_int()] %}
+{% set unique_id = parts|join('-') %}
-
+
-
-
+
+
diff --git a/templates/partials/workout_modal.html b/templates/partials/workout_modal.html
index 3fd20f2..9fc668c 100644
--- a/templates/partials/workout_modal.html
+++ b/templates/partials/workout_modal.html
@@ -10,12 +10,12 @@
then remove me
then toggle .hide-scrollbar on document.body'>
-