From 1000e6f000c54ec14099d6c462c5b3b61d7f746b Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 2 Mar 2021 11:52:36 +0100 Subject: [PATCH] better use of icons on PlannedSession management pages --- rowers/templates/plannedsessioncreate.html | 12 +++++++----- rowers/templates/plannedsessionedit.html | 10 +++++----- rowers/templates/plannedsessions.html | 16 ++++++++-------- rowers/templates/plannedsessionteamcreate.html | 13 +++++++------ rowers/templates/plannedsessionteamedit.html | 13 +++++++------ rowers/templates/plannedsessionview.html | 2 +- 6 files changed, 35 insertions(+), 31 deletions(-) diff --git a/rowers/templates/plannedsessioncreate.html b/rowers/templates/plannedsessioncreate.html index 7f27f935..1258113a 100644 --- a/rowers/templates/plannedsessioncreate.html +++ b/rowers/templates/plannedsessioncreate.html @@ -80,14 +80,16 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit + + - Clone + + - Delete + @@ -138,10 +140,10 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit Template + - Delete + {% endfor %} diff --git a/rowers/templates/plannedsessionedit.html b/rowers/templates/plannedsessionedit.html index b3443795..96050549 100644 --- a/rowers/templates/plannedsessionedit.html +++ b/rowers/templates/plannedsessionedit.html @@ -53,8 +53,8 @@

- Delete - Clone + Delete + Clone

@@ -96,14 +96,14 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit + Clone + href="/rowers/sessions/{{ ps.id }}/clone/user/{{ rower.user.id }}/?when={{ timeperiod }}"> - Delete + {% endfor %} diff --git a/rowers/templates/plannedsessions.html b/rowers/templates/plannedsessions.html index 0ac86245..1b583cc6 100644 --- a/rowers/templates/plannedsessions.html +++ b/rowers/templates/plannedsessions.html @@ -60,7 +60,7 @@ href="/rowers/sessions/manage/session/{{ ps.id }}/user/{{ rower.user.id }}/?when={{ timeperiod }}">   {% else %} -   @@ -92,7 +92,7 @@ {% if ps.manager == request.user %} Edit + href="/rowers/sessions/{{ ps.id }}/edit/user/{{ rower.user.id }}/?when={{ timeperiod }}"> {% else %}   {% endif %} @@ -115,7 +115,7 @@ planned workouts by purchasing the "Coach" or "Self-Coach" plans. {% endif %}

- Print View   @@ -128,7 +128,7 @@ Actual vs Plan chart

- +
  • {% if unmatchedworkouts %} @@ -162,7 +162,7 @@ {% else %} No Name - + {% endif %} {% else %} {% if workout.name != '' %} @@ -176,12 +176,12 @@ {{ workout.duration |durationprint:"%H:%M:%S.%f" }} {{ workout.averagehr }} {{ workout.maxhr }} - + {% endfor %} - - + + {% endif %}

  • diff --git a/rowers/templates/plannedsessionteamcreate.html b/rowers/templates/plannedsessionteamcreate.html index fd0befc0..1089acfc 100644 --- a/rowers/templates/plannedsessionteamcreate.html +++ b/rowers/templates/plannedsessionteamcreate.html @@ -66,6 +66,7 @@ Edit Clone Delete + To Library @@ -85,17 +86,17 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit + - Clone + - Delete + - Save to Library + {% endfor %} @@ -134,10 +135,10 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit Template + - Delete + {% endfor %} diff --git a/rowers/templates/plannedsessionteamedit.html b/rowers/templates/plannedsessionteamedit.html index 160a374e..db7dabf5 100644 --- a/rowers/templates/plannedsessionteamedit.html +++ b/rowers/templates/plannedsessionteamedit.html @@ -61,10 +61,10 @@ {{ form.as_table }}

    - Delete + Delete

    - Clone + Clone

    @@ -88,6 +88,7 @@ Edit Clone Delete + To Library @@ -107,17 +108,17 @@ {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit + - Clone + - Delete + - Save + {% endfor %} diff --git a/rowers/templates/plannedsessionview.html b/rowers/templates/plannedsessionview.html index a95a619f..5a3ccf5b 100644 --- a/rowers/templates/plannedsessionview.html +++ b/rowers/templates/plannedsessionview.html @@ -17,7 +17,7 @@ Edit Session / - Save to template + Save to Library

    {% endif %}

    Session {{ psdict.name.1 }}