summaryrefslogtreecommitdiff
path: root/templates/session-complete.html
blob: 8cd18b3db9db7b515d4304be72d8a92134d6861e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends "base.html" %}

{% block title %} — Session Complete{% endblock %}

{% block content %}
<section class="session-complete">
  <h2>Session Complete</h2>

  <div class="progression-results">
    {% for result in results %}
    <div class="result-entry {{ result.status }}">
      <span class="exercise-name">{{ result.exercise_name }}</span>
      <span class="result-text">{{ result.text }}</span>
    </div>
    {% endfor %}
  </div>

  {% if has_increases %}
  <p class="summary increase">
    Weight increased on {{ increase_count }} exercise{{ increase_plural }}.
  </p>
  {% endif %}

  {% if has_stalls %}
  <p class="summary stall">
    {{ stall_count }} stall{{ stall_plural }} detected. Extended recovery is indicated.
  </p>
  {% endif %}

  <div class="recovery-info">
    <h3>Recovery</h3>
    <p>Your next session is prescribed for <strong>{{ next_date }}</strong>.</p>
    <p class="recovery-reason">{{ recovery_reason }}</p>
  </div>

  <a href="/" class="btn-primary">RETURN TO DASHBOARD</a>
</section>
{% endblock %}

{% block quote %}
<blockquote>
  &ldquo;The muscles grow during rest, not during training. Training is merely
  the stimulus; rest is where adaptation occurs.&rdquo;
  <cite>&mdash; Mike Mentzer</cite>
</blockquote>
{% endblock %}
Copyright 2019--2026 Marius PETER