1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: Elena Grandi <valhalla@debian.org>
Date: Fri, 7 Feb 2020 12:35:18 +0100
Subject: Correct for different file paths in the debian installed packages.
Forwarded: not-needed
---
src/bepasty/templates/_layout.html | 2 +-
src/bepasty/templates/index.html | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/bepasty/templates/_layout.html b/src/bepasty/templates/_layout.html
index bc681f8..60f1fcb 100644
--- a/src/bepasty/templates/_layout.html
+++ b/src/bepasty/templates/_layout.html
@@ -13,7 +13,7 @@
<!-- Bootstrap styles -->
<link rel="stylesheet" href="{{ url_for('bepasty.xstatic', name='bootstrap', filename='css/bootstrap.min.css') }}" type="text/css">
<!-- jQuery UI styles -->
- <link rel="stylesheet" href="{{ url_for('bepasty.xstatic', name='jquery_ui', filename='themes/smoothness/jquery-ui.css') }}" type="text/css">
+ <link rel="stylesheet" href="{{ url_for('bepasty.xstatic', name='jquery_ui', filename='css/smoothness/jquery-ui.css') }}" type="text/css">
<!-- Font Awesome -->
<link rel="stylesheet" href="{{ url_for('bepasty.xstatic', name='font_awesome', filename='css/font-awesome.min.css') }}">
<!-- Bepasty styles -->
diff --git a/src/bepasty/templates/index.html b/src/bepasty/templates/index.html
index e91cea2..63d3def 100644
--- a/src/bepasty/templates/index.html
+++ b/src/bepasty/templates/index.html
@@ -129,15 +129,15 @@
{% block extra_script %}
<!-- jquery ui widget -->
-<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='js/vendor/jquery.ui.widget.js') }}" type="text/javascript"></script>
+<script src="{{ url_for('bepasty.xstatic', name='jquery_ui', filename='ui/widget.js') }}" type="text/javascript"></script>
<!-- iframe transport for browser without XHR support -->
-<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='js/jquery.iframe-transport.js') }}" type="text/javascript"></script>
+<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='jquery.iframe-transport.js') }}" type="text/javascript"></script>
<!-- basic file upload -->
-<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='js/jquery.fileupload.js') }}" type="text/javascript"></script>
+<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='jquery.fileupload.js') }}" type="text/javascript"></script>
<!-- file upload progress bar -->
-<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='js/jquery.fileupload-process.js') }}" type="text/javascript"></script>
+<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='jquery.fileupload-process.js') }}" type="text/javascript"></script>
<!-- file upload validation -->
-<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='js/jquery.fileupload-validate.js') }}" type="text/javascript"></script>
+<script src="{{ url_for('bepasty.xstatic', name='jquery_file_upload', filename='jquery.fileupload-validate.js') }}" type="text/javascript"></script>
<!-- QuestionBox -->
<script src="{{ url_for('bepasty.xstatic', name='bootbox', filename='bootbox.min.js') }}" type="text/javascript"></script>
<!-- fileuploader -->
|