Self hosted FLOSS fitness/workout, nutrition and weight tracker
Improvements to edit popups and dialogs
Roland Geiderc4184dc0d3ff
diff --git a/wger/manager/templates/mobile/base.html b/wger/manager/templates/mobile/base.htmlindex be871365f..f1df6fdea 100644--- a/wger/manager/templates/mobile/base.html+++ b/wger/manager/templates/mobile/base.html@@ -2,7 +2,7 @@{% load i18n %}{% block template %}{% if not user.is_authenticated or user.get_profile.is_temporary %}- <div data-role="popup" id="popupGuestUser" class="ui-content">+ <div data-role="popup" data-overlay-theme="a" id="popupGuestUser" class="ui-content">{% trans "You are using a guest account, data entered will be deleted after a week."%}{% if not has_demo_data %}<a href="{% url 'demo-entries' %}"diff --git a/wger/manager/templates/mobile/schedule/overview.html b/wger/manager/templates/mobile/schedule/overview.htmlindex a2f6d90bc..240451fa5 100644--- a/wger/manager/templates/mobile/schedule/overview.html+++ b/wger/manager/templates/mobile/schedule/overview.html@@ -44,7 +44,8 @@ function custom_modal_init()<tr><td colspan="3"><a href="{% url 'schedule-add' %}" data-role="button">- {% trans "No schedules found." %} {% trans "Add one now." %}+ {% trans "No schedules found." %}<br>+ {% trans "Add one now." %}</a></td></tr>diff --git a/wger/manager/templates/mobile/tags/render_day.html b/wger/manager/templates/mobile/tags/render_day.htmlindex 1cdd94743..df32e9f98 100644--- a/wger/manager/templates/mobile/tags/render_day.html+++ b/wger/manager/templates/mobile/tags/render_day.html@@ -28,7 +28,7 @@{% endfor %}- <div data-role="popup" id="editoptions-day-{{ day.id }}">+ <div data-role="popup" id="editoptions-day-{{ day.id }}" data-overlay-theme="a"><div><h3>{{day.description}}</h3><ul data-role="listview">@@ -88,9 +88,9 @@data-mini="true"data-iconshadow="false"></a>- <div data-role="popup" id="editoptions-set-{{ set.id }}">+ <div data-role="popup" id="editoptions-set-{{ set.id }}" data-overlay-theme="a"><div>- <h3>{{ set.id }}</h3>+ <h3>{% trans "Options" %}</h3><ul data-role="listview"><li><a href="{% url 'wger.manager.views.set.delete' set.id %}"@@ -103,6 +103,17 @@{% trans "Delete" %}</a></li>+ <li>+ <a href="{% url 'wger.manager.views.set.edit' set.id %}"+ title="{% trans 'Delete' %}">+ <img src="{% static 'images/icons/edit.svg' %}"+ width="16"+ height="16"+ alt="{% trans 'Edit' %}"+ class="ui-li-icon ui-corner-none">+ {% trans "Edit" %}+ </a>+ </li></ul></div></div>diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.htmlindex 248c028ec..a27cacf43 100644--- a/wger/manager/templates/mobile/template.html+++ b/wger/manager/templates/mobile/template.html@@ -66,7 +66,7 @@data-icon="info"data-iconpos="notext"></a>{% endif %}- <h4>{% trans "Mobile version still BETA!" %}</h4>+ <h4>{% trans "~ BETA ~" %}</h4></header><div data-role="panel" id="main-panel-navigation" data-display="overlay">