Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Cleanup

Roland Geider3d5fab816092
diff --git a/wger/exercises/templates/exercise/view.html b/wger/exercises/templates/exercise/view.html
index 7b56161a8..9b43bbd3e 100644
--- a/wger/exercises/templates/exercise/view.html
+++ b/wger/exercises/templates/exercise/view.html
@@ -43,7 +43,7 @@ $(document).ready(function() {
{% block content %}
{% if exercise.status == exercise.STATUS_PENDING %}
-<div class="card mb-4">
+<div class="card text-white bg-dark mb-4">
<div class="card-header">
{% trans "Exercise is pending review" %}
</div>
@@ -63,6 +63,10 @@ $(document).ready(function() {
<span class="{% fa_class 'times' %}"></span>
{% trans "Decline" %}
</a>
+ <a href="{% url 'exercise:exercise:delete' exercise.id %}" class="wger-modal-dialog btn btn-secondary">
+ <span class="{% fa_class 'trash' %}"></span>
+ {% trans "Delete" %}
+ </a>
{% endif %} {# end check permissions #}
</div>
</div>
diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.html
index b518f3441..dd2df73ec 100644
--- a/wger/manager/templates/workout/view.html
+++ b/wger/manager/templates/workout/view.html
@@ -213,7 +213,7 @@ an appointment for each training day with the appropriate exercises.{% endblockt
{% block options %}
<div class="btn-group" role="group" >
<div class="btn-group" role="group">
- <button id="btnGroupWorkout" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <button id="btnGroupWorkout" type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="{% fa_class 'cog' %}"></span>
{% trans "Options" %}
</button>