From bd024d4a734c81f20c1a854ab8c7437d81d74d78 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 2 Apr 2024 17:17:47 +0200 Subject: [PATCH] Add minor improvement for smartphone screen --- jarvis/people/templates/gymnasts/details.html | 18 +-- .../templates/gymnasts/tabs/tab_skills.html | 126 +++++++++--------- static/css/jarvis.css | 6 + 3 files changed, 78 insertions(+), 72 deletions(-) diff --git a/jarvis/people/templates/gymnasts/details.html b/jarvis/people/templates/gymnasts/details.html index 3d2e722..eebf61a 100644 --- a/jarvis/people/templates/gymnasts/details.html +++ b/jarvis/people/templates/gymnasts/details.html @@ -9,7 +9,7 @@ {% block content %}
-
+
@@ -56,7 +56,7 @@
-
+
{% if gymnast_nb_known_skills %} {% generate_skill_doughnut gymnast.id %} {% else %} @@ -64,18 +64,18 @@ {% endif %}
-
- {% if gymnast_nb_known_skills %} - {% generate_level_chart_bar gymnast.id %} - {% else %} -

No level/rank information.

- {% endif %} +
+ {% if gymnast_nb_known_skills %} + {% generate_level_chart_bar gymnast.id %} + {% else %} +

No level/rank information.

+ {% endif %}
-
+
-
+
{% if planned_skill %}
@@ -98,9 +98,9 @@ - - - + + + @@ -138,9 +138,9 @@ {{ plan.date | date:"d-m-Y" }} {% if plan.is_past %}{% endif %} - - - + + + {% endfor %} @@ -156,9 +156,9 @@ - - - + + + @@ -184,9 +184,9 @@ - - - + + + {% endfor %} @@ -202,9 +202,9 @@ - - - + + + @@ -228,9 +228,9 @@ - - - + + + {% endfor %} @@ -246,9 +246,9 @@ - - - + + + @@ -272,9 +272,9 @@ - - - + + + {% endfor %} @@ -290,9 +290,9 @@ - - - + + + @@ -316,9 +316,9 @@ - - - + + + {% endfor %} @@ -334,9 +334,9 @@ - - - + + + @@ -360,9 +360,9 @@ - - - + + + {% endfor %} @@ -378,9 +378,9 @@ - - - + + + @@ -408,9 +408,9 @@ - - - + + + {% endfor %} @@ -426,9 +426,9 @@ - - - + + + @@ -456,9 +456,9 @@ - - - + + + {% endfor %} @@ -474,9 +474,9 @@ - - - + + + @@ -505,9 +505,9 @@ - - - + + + {% endfor %} @@ -523,9 +523,9 @@ - - - + + + @@ -553,9 +553,9 @@ - - - + + + {% endfor %} diff --git a/static/css/jarvis.css b/static/css/jarvis.css index 4166e51..23a6714 100644 --- a/static/css/jarvis.css +++ b/static/css/jarvis.css @@ -143,4 +143,10 @@ textarea.form-control { background-image: linear-gradient(to bottom left, #ec250d, #fd5d93, #ec250d); background-size: 210% 210%; background-position: top right; +} + +@media screen and (max-width: 575.98px) { + .not-displayed-on-phone { + display: none; + } } \ No newline at end of file
Label Phase DeadlineDiff.LevelRankDiff.LevelRank
{{ plan.educative.difficulty }}{{ plan.educative.level }}{{ plan.educative.rank }}{{ plan.educative.difficulty }}{{ plan.educative.level }}{{ plan.educative.rank }}
Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.long_label }} {{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Actions Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Actions Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Actions Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}
Actions Notation LabelDiff.LevelRankDiff.LevelRank
{{ skill.notation }} {{ skill.long_label }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}{{ skill.difficulty }}{{ skill.level }}{{ skill.rank }}