Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use bower_components paths in mobile template

Roland Geider7c9e46849f8e
diff --git a/wger/core/templates/mobile/template.html b/wger/core/templates/mobile/template.html
index 4f31343eb..e8c13145c 100644
--- a/wger/core/templates/mobile/template.html
+++ b/wger/core/templates/mobile/template.html
@@ -49,18 +49,18 @@
<link rel="icon" href="{% static 'images/favicon.png' %}" type="image/png">
{% compress css %}
- <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.min.css' %}">
+ <link rel="stylesheet" type="text/css" href="{% static 'bower_components/bootstrap/dist/css/bootstrap.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap-custom.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/workout-manager-common.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/workout-manager-mobile.css' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'css/shariff.min.css' %}">
+ <link rel="stylesheet" type="text/css" href="{% static 'bower_components/shariff/build/shariff.min.css' %}">
{% endcompress %}
{% compress js %}
- <script src="{% static 'js/jquery.js' %}"></script>
+ <script src="{% static 'bower_components/jquery/dist/jquery.js' %}"></script>
<script src="{% static 'js/jquery-ui.js' %}"></script>
- <script src="{% static 'js/bootstrap.min.js' %}"></script>
- <script src="{% static 'js/d3.js' %}"></script>
+ <script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js' %}"></script>
+ <script src="{% static 'bower_components/d3/d3.js' %}"></script>
<script src="{% static 'js/workout-manager.js' %}"></script>
<script src="{% static 'js/workout-manager-mobile.js' %}"></script>
<script src="{% static 'js/exercises.js' %}"></script>
@@ -197,7 +197,7 @@
{% endif %}
</div>
-<script src="{% static 'js/shariff.min.js' %}"></script>
+<script src="{% static 'bower_components/shariff/build/shariff.min.js' %}"></script>
<script src="https://login.persona.org/include.js" type="text/javascript"></script>
</body>
{% endspaceless_config %}