diff --git a/rowers/models.py b/rowers/models.py index af0b3374..83e699e3 100644 --- a/rowers/models.py +++ b/rowers/models.py @@ -358,9 +358,9 @@ class FavoriteForm(ModelForm): model = FavoriteChart fields = ['xparam','yparam1','yparam2', 'plottype','workouttype','reststrokes','notes'] - widgets = { - 'notes': forms.Textarea, - } +# widgets = { +# 'notes': forms.Textarea, +# } # To generate favorite chart forms on the fly diff --git a/rowers/templates/favoritecharts.html b/rowers/templates/favoritecharts.html index 0ce6512d..efe81047 100644 --- a/rowers/templates/favoritecharts.html +++ b/rowers/templates/favoritecharts.html @@ -5,6 +5,11 @@ {% block content %}
{% csrf_token %} +
+
+

+
+
{{ favorites_formset.management_form }} {% for favorites_form in favorites_formset %} @@ -18,11 +23,6 @@

 

-
-
-

-
-
@@ -37,4 +37,5 @@ }); + {% endblock %} diff --git a/rowers/templates/flexchart.html b/rowers/templates/flexchart.html deleted file mode 100644 index 479cc35b..00000000 --- a/rowers/templates/flexchart.html +++ /dev/null @@ -1,95 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} -{% load rowerfilters %} - -{% block title %} Flexible Plot {% endblock %} - -{% block content %} - - - - - {{ interactiveplot |safe }} - - - - - - - -

 

- -
- - -
-
- Time -
-
- Distance -
- -
- -
-
- Pace -
-
- HR -
-
- SPM -
-
- Power -
-
- -
- -
- - - {{ the_div|safe }} - -
- -{% endblock %} \ No newline at end of file diff --git a/rowers/templates/flexchart3.html b/rowers/templates/flexchart3.html deleted file mode 100644 index 37aaac5c..00000000 --- a/rowers/templates/flexchart3.html +++ /dev/null @@ -1,208 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} -{% load rowerfilters %} -{% load tz %} - -{% block title %} Flexible Plot {% endblock %} - -{% localtime on %} -{% block content %} - -{{ js_res | safe }} -{{ css_res| safe }} - - - - - -{{ the_script |safe }} - - - - - - - -

 

- -
- - -
- - - - - - -
- -
-
-
- {% csrf_token %} - {% if workstrokesonly %} - - - {% else %} - - - {% endif %} -
- If your data source allows, this will show or hide strokes taken during rest intervals. -
-
- Line Plot -
- -
- -
- -
- - - {{ the_div|safe }} - -
- -
-
- {% if maxfav >= 0 %} - Manage Favorites - {% else %} -   - {% endif %} -
-
- {% if favoritenr > 0 %} - < - {% else %} - < - {% endif %} -
-
-
- {% csrf_token %} - - {% if workstrokesonly %} - - {% else %} - - {% endif %} - -
-
-
- {% if favoritenr < maxfav %} - > - {% else %} - > - {% endif %} -
-
- -{% endblock %} -{% endlocaltime %}