Self hosted FLOSS fitness/workout, nutrition and weight tracker
add close buttons to modals
Jacob Stoebel5733c16dd0ea
diff --git a/wger/core/templates/index.html b/wger/core/templates/index.htmlindex 1a166603f..baa19e6bc 100644--- a/wger/core/templates/index.html+++ b/wger/core/templates/index.html@@ -41,6 +41,9 @@ day in your current workout:{% endblocktrans %} <strong>{{current_workout}}</str</p>{% endif %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/core/templates/mobile/index.html b/wger/core/templates/mobile/index.htmlindex 72c17efde..fc496a8d0 100644--- a/wger/core/templates/mobile/index.html+++ b/wger/core/templates/mobile/index.html@@ -35,6 +35,9 @@{% endif %}{% endif %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -79,6 +82,9 @@{% endif %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -129,6 +135,9 @@ its default duration in your settings.{% endblocktrans %}{% endif %}</div></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/core/templates/mobile/template.html b/wger/core/templates/mobile/template.htmlindex 928bd8058..244e729a0 100644--- a/wger/core/templates/mobile/template.html+++ b/wger/core/templates/mobile/template.html@@ -130,6 +130,9 @@{% endfor %}</div></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/calendar/month.html b/wger/manager/templates/calendar/month.htmlindex 4a23d6064..a9f318db4 100644--- a/wger/manager/templates/calendar/month.html+++ b/wger/manager/templates/calendar/month.html@@ -144,6 +144,9 @@ day in your current workout:{% endblocktrans %} <strong>{{current_workout}}</str</p>{% endif %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/mobile/schedule/view.html b/wger/manager/templates/mobile/schedule/view.htmlindex b34e23672..680bfff2d 100644--- a/wger/manager/templates/mobile/schedule/view.html+++ b/wger/manager/templates/mobile/schedule/view.html@@ -37,6 +37,9 @@alt="{% trans 'Delete' %}">{% trans 'Delete' %}</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -230,6 +233,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -294,6 +300,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/mobile/tags/render_day.html b/wger/manager/templates/mobile/tags/render_day.htmlindex e6ceaacaf..796686eb9 100644--- a/wger/manager/templates/mobile/tags/render_day.html+++ b/wger/manager/templates/mobile/tags/render_day.html@@ -37,6 +37,9 @@{% trans "Delete" %}</a></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -79,6 +82,9 @@</a>{% endfor %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.htmlindex 786dbf696..5e01f920e 100644--- a/wger/manager/templates/mobile/workout/view.html+++ b/wger/manager/templates/mobile/workout/view.html@@ -208,6 +208,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -273,6 +276,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/schedule/view.html b/wger/manager/templates/schedule/view.htmlindex 8325e4c32..cab7285c2 100644--- a/wger/manager/templates/schedule/view.html+++ b/wger/manager/templates/schedule/view.html@@ -299,6 +299,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -363,6 +366,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/workout/timer.html b/wger/manager/templates/workout/timer.htmlindex 1de6f2a7d..f58c2750a 100644--- a/wger/manager/templates/workout/timer.html+++ b/wger/manager/templates/workout/timer.html@@ -445,6 +445,9 @@ $(document).ready(function() {<div class="modal-body">{% trans session_form.notes.help_text %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -469,6 +472,9 @@ $(document).ready(function() {<div class="modal-body">{% trans session_form.impression.help_text %}</div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.htmlindex a13a1fc5d..748725271 100644--- a/wger/manager/templates/workout/view.html+++ b/wger/manager/templates/workout/view.html@@ -215,6 +215,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -279,6 +282,9 @@ an appointment for each training day with the appropriate exercises.{% endblockt</a></p></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>diff --git a/wger/nutrition/templates/mobile/plan/view.html b/wger/nutrition/templates/mobile/plan/view.htmlindex 0419cde2f..a7b1b8f8e 100644--- a/wger/nutrition/templates/mobile/plan/view.html+++ b/wger/nutrition/templates/mobile/plan/view.html@@ -92,6 +92,9 @@ $(document).ready(function() {{% trans "Add item to meal" %}</a></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>@@ -164,6 +167,9 @@ $(document).ready(function() {{% trans "Edit" %}</a></div>+ <div class="modal-footer">+ <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</button>+ </div></div></div></div>