summaryrefslogtreecommitdiff
path: root/templates/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/list.html3
-rw-r--r--templates/todolists/public_list.html4
-rw-r--r--templates/todolists/view.html4
3 files changed, 6 insertions, 5 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index 7d229271..b829a12b 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -43,7 +43,8 @@
</table>
</div>
{% load cdn %}{% jquery %}
-<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// I'm not sure why it didn't autodetect digit, but it has to be explicit
diff --git a/templates/todolists/public_list.html b/templates/todolists/public_list.html
index c3054863..b1d0453b 100644
--- a/templates/todolists/public_list.html
+++ b/templates/todolists/public_list.html
@@ -65,11 +65,11 @@
</div>
{% endif %}
{% load cdn %}{% jquery %}
-<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".results").tablesorter({widgets: ['zebra'], sortList: [[0,0], [1,0]]});
});
-
</script>
{% endblock %}
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index c9ea919a..6516f73e 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -59,8 +59,8 @@
</table>
</div>
{% load cdn %}{% jquery %}
-<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
-<script type="text/javascript" src="/media/archweb.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a.status-link').click(todolist_flag);