Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Group the muscle DIVs in a grid

Roland Geider711b09df22f6
diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.html
index a04946e9e..2d9b2a88b 100644
--- a/wger/manager/templates/mobile/workout/view.html
+++ b/wger/manager/templates/mobile/workout/view.html
@@ -70,25 +70,23 @@
{% trans "Images show combined muscles as trained by the exercises on the workout." %}
</p>
-<div class="ym-grid linearize-level-1">
- <div class="ym-g40 ym-gl">
- <div class="ym-gbox-left">
- <div id="muscle-front"
- class="muscle-background"
- style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">
- </div>
+<div class="ui-grid-a">
+ <div class="ui-block-a">
+ <div id="muscle-front"
+ class="muscle-background"
+ style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">
</div>
</div>
- <div class="ym-g60 ym-gr">
- <div class="ym-gbox-right">
- <div id="muscle-back"
- class="muscle-background"
- style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">
- </div>
+
+ <div class="ui-block-b">
+ <div id="muscle-back"
+ class="muscle-background"
+ style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">
</div>
</div>
</div>
+
<h3>{% trans "Options" %}</h3>
<p>
<a href="{% url wger.manager.pdf.workout_log workout.id %}"