Self hosted FLOSS fitness/workout, nutrition and weight tracker
Change further templates to use new icons
Roland Geider4812a5e27f5f
diff --git a/wger/core/templates/user/login.html b/wger/core/templates/user/login.htmlindex 8ce5375db..e9b5968c8 100644--- a/wger/core/templates/user/login.html+++ b/wger/core/templates/user/login.html@@ -25,22 +25,18 @@{% block sidebar %}<h4>{% trans "No account?" %}</h4><p>- <a href="{% url 'core:user:registration' %}" {% auto_link_css flavour %}>- <img src="{% static 'images/icons/register.svg' %}"- width="32"- height="32"- alt="{% trans 'Register' %}">- {% trans "Register" %}</a>+ <a href="{% url 'core:user:registration' %}" class="btn btn-block btn-default">+ <span class="{% fa_class 'sign-in' %}"></span>+ {% trans "Register" %}+ </a></p><h4>{% trans "Forgot password?" %}</h4><p>- <a href="{% url 'core:user:password_reset' %}" {% auto_link_css flavour %}>- <img src="{% static 'images/icons/reset-password.svg' %}"- width="32"- height="32"- alt="{% trans 'Reset password' %}">- {% trans "Reset password" %}</a>+ <a href="{% url 'core:user:password_reset' %}" class="btn btn-block btn-default">+ <span class="{% fa_class 'key' %}"></span>+ {% trans "Reset password" %}+ </a></p>{% if not hide_persona %}@@ -54,10 +50,10 @@</a><p>- {% blocktrans %}Persona (BrowserID) replaces multiple passwords, you don't+ <small>{% blocktrans %}Persona (BrowserID) replaces multiple passwords, you don'tneed to remember a new password for this site. For more information, pleasetake a look at the <a href="https://login.persona.org/" target="_blank">the- Persona website</a>.{% endblocktrans %}+ Persona website</a>.{% endblocktrans %}</small></p>{% endif %}{% endblock %}diff --git a/wger/exercises/templates/exercise/view.html b/wger/exercises/templates/exercise/view.htmlindex 2ad517166..228c85fd0 100644--- a/wger/exercises/templates/exercise/view.html+++ b/wger/exercises/templates/exercise/view.html@@ -67,17 +67,11 @@ $(document).ready(function() {<div class="btn-group btn-group-justified" role="group"><a href="{% url 'exercise:exercise:accept' exercise.id %}" class="btn btn-default">- <img src="{% static 'images/icons/status-on.svg' %}"- width="32"- height="32"- alt="{% trans 'Accept' %}">+ <span class="{% fa_class 'check' %}"></span>{% trans "Accept" %}</a><a href="{% url 'exercise:exercise:decline' exercise.id %}" class="btn btn-default">- <img src="{% static 'images/icons/status-off.svg' %}"- width="32"- height="32"- alt="{% trans 'Decline' %}">+ <span class="{% fa_class 'times' %}"></span>{% trans "Decline" %}</a></div>@@ -150,16 +144,19 @@ $(document).ready(function() {<div class="titleBox"><a href="{{ image.image.url }}"target="_blank"- class=" no-hover">- {% trans "Download" %}</a>+ class=" no-hover"+ title="{% trans 'Download' %}">+ <span class="{% fa_class 'download' %}"></span></a>{% if perms.exercises.change_exerciseimage %}|<a href="{% url 'exercise:image:delete' exercise.pk image.pk %}"- class="wger-modal-dialog no-hover">- {% trans 'Delete' %}</a> |+ class="wger-modal-dialog no-hover"+ title="{% trans 'Delete' %}">+ <span class="{% fa_class 'trash' %}"></span></a> |<a href="{% url 'exercise:image:edit' image.pk %}"- class="no-hover">- {% trans 'Edit' %}</a>+ class="no-hover"+ title="{% trans 'Edit' %}">+ <span class="{% fa_class 'pencil-square-o' %}"></span></a>{% endif %}<br>@@ -226,19 +223,11 @@ $(document).ready(function() {<span class="editoptions"><a href="{% url 'exercise:comment:delete' comment.id %}"title="{% trans 'Delete' %}">- <img src="{% static 'images/icons/trash.svg' %}"- width="16"- height="16"- alt="{% trans 'Delete' %}">- </a>+ <span class="{% fa_class 'trash' %}"></span></a><a href="{% url 'exercise:comment:edit' comment.id %}"title="{% trans 'Edit' %}"class="wger-modal-dialog">- <img src="{% static 'images/icons/edit.svg' %}"- width="16"- height="16"- alt="{% trans 'Edit' %}">- </a>+ <span class="{% fa_class 'pencil-square-o' %}"></span></a></span>{% endif %}</li>@@ -351,10 +340,7 @@ $(document).ready(function() {<h4>{% trans "Options" %}</h4><p><a href="{% url 'exercise:exercise:correct' exercise.id %}" {% auto_link_css flavour %}>- <img src="{% static 'images/icons/edit.svg' %}"- width="32"- height="32"- alt="{% trans 'Submit a correction' %}">+ <span class="{% fa_class 'pencil-square-o' %}"></span>{% trans "Submit a correction" %}</a></p>diff --git a/wger/gym/templates/gym/new_user.html b/wger/gym/templates/gym/new_user.htmlindex 2750497f5..0e8630064 100644--- a/wger/gym/templates/gym/new_user.html+++ b/wger/gym/templates/gym/new_user.html@@ -48,14 +48,9 @@ file, which contains all the user data, and keep it in a safe place. The passworcannot be recovered later.{% endblocktrans %}</p>-<h4>{% trans "Options" %}</h4><p>-<a href="{% url 'gym:gym:new-user-data-export' %}" {% auto_link_css flavour %}>- <img src="{% static 'images/icons/save.svg' %}"- width="32"- height="32"- alt="{% trans 'Export user data' %}">- {% trans "Export user data" %}-</a>+ <a href="{% url 'gym:gym:new-user-data-export' %}" {% auto_link_css flavour %}>+ {% trans "Export user data" %}+ </a></p>{% endblock %}diff --git a/wger/manager/templates/calendar/month.html b/wger/manager/templates/calendar/month.htmlindex 4a23d6064..788f166e8 100644--- a/wger/manager/templates/calendar/month.html+++ b/wger/manager/templates/calendar/month.html@@ -135,10 +135,7 @@ day in your current workout:{% endblocktrans %} <strong>{{current_workout}}</str<p><em>{% trans "No workouts found." %}</em></p><p><a href="{% url 'manager:workout:add' %}" class="btn btn-block btn-default">- <img src="{% static 'images/icons/add.svg' %}"- width="22"- height="22"- alt="">+ <span class="{% fa_class 'plus' %}"></span>{% trans "Add one now." %}</a></p>@@ -160,11 +157,8 @@ you can click on them to see the details.{% endblocktrans %}</p><p><a href="{% url 'manager:workout:calendar' owner_user %}">- <img src="{% static 'images/icons/calendar.svg' %}"- width="32"- height="32"- alt="{% trans 'Go to current month' %}">- {% trans "Go to current month" %}</a>+ <span class="{% fa_class 'calendar' %}"></span>+ {% trans "Go to current month" %}</a></p>