diff options
Diffstat (limited to 'templates/todolists')
-rw-r--r-- | templates/todolists/list.html | 3 | ||||
-rw-r--r-- | templates/todolists/public_list.html | 4 | ||||
-rw-r--r-- | templates/todolists/view.html | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 7d22927..b829a12 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 c305486..b1d0453 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 c9ea919..6516f73 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); |