diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 14 | ||||
-rw-r--r-- | templates/devel/clock.html | 4 | ||||
-rw-r--r-- | templates/devel/index.html | 4 | ||||
-rw-r--r-- | templates/devel/packages.html | 4 | ||||
-rw-r--r-- | templates/mirrors/mirror_details.html | 4 | ||||
-rw-r--r-- | templates/mirrors/mirrors.html | 3 | ||||
-rw-r--r-- | templates/mirrors/status.html | 4 | ||||
-rw-r--r-- | templates/news/add.html | 2 | ||||
-rw-r--r-- | templates/packages/details.html | 2 | ||||
-rw-r--r-- | templates/packages/differences.html | 4 | ||||
-rw-r--r-- | templates/packages/groups.html | 3 | ||||
-rw-r--r-- | templates/packages/opensearch.xml | 2 | ||||
-rw-r--r-- | templates/packages/packages_list.html | 3 | ||||
-rw-r--r-- | templates/packages/signoffs.html | 4 | ||||
-rw-r--r-- | templates/packages/stale_relations.html | 4 | ||||
-rw-r--r-- | templates/releng/iso_overview.html | 4 | ||||
-rw-r--r-- | templates/releng/result_list.html | 4 | ||||
-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 | ||||
-rw-r--r-- | templates/visualize/index.html | 10 |
21 files changed, 47 insertions, 43 deletions
diff --git a/templates/base.html b/templates/base.html index a120c53..0da77cf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,13 +3,13 @@ <head> <title>{% block title %}Arch Linux{% endblock %}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - <link rel="stylesheet" type="text/css" href="/media/archweb.css" media="screen, projection" /> - <link rel="stylesheet" type="text/css" href="/media/archweb-print.css" media="print" /> - <link rel="icon" type="image/x-icon" href="/media/favicon.ico" /> - <link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" /> - <link rel="apple-touch-icon" href="/media/logos/apple-touch-icon-57x57.png" /> - <link rel="apple-touch-icon" sizes="72x72" href="/media/logos/apple-touch-icon-72x72.png" /> - <link rel="apple-touch-icon" sizes="114x114" href="/media/logos/apple-touch-icon-114x114.png" /> + <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}archweb.css" media="screen, projection" /> + <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}archweb-print.css" media="print" /> + <link rel="icon" type="image/x-icon" href="{{ STATIC_URL }}favicon.ico" /> + <link rel="shortcut icon" type="image/x-icon" href="{{ STATIC_URL }}favicon.ico" /> + <link rel="apple-touch-icon" href="{{ STATIC_URL }}logos/apple-touch-icon-57x57.png" /> + <link rel="apple-touch-icon" sizes="72x72" href="{{ STATIC_URL }}logos/apple-touch-icon-72x72.png" /> + <link rel="apple-touch-icon" sizes="114x114" href="{{ STATIC_URL }}logos/apple-touch-icon-114x114.png" /> <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch-packages as osp %}{{ osp }}" title="Arch Linux Packages" /> {% block head %}{% endblock %} </head> diff --git a/templates/devel/clock.html b/templates/devel/clock.html index d2eb0a8..72a57d0 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -40,8 +40,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() { $("#clocks-table:has(tbody tr)").tablesorter( diff --git a/templates/devel/index.html b/templates/devel/index.html index 0f0ded3..530986a 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -288,8 +288,8 @@ {% endcache %} {% 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() { $("#dash-myflagged:not(:has(tbody tr.empty))").tablesorter( diff --git a/templates/devel/packages.html b/templates/devel/packages.html index 9f01167..ed4123b 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -52,8 +52,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() { $(".results").tablesorter({widgets: ['zebra']}); diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 3daf1a2..02aa5ae 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -105,8 +105,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() { $("#available_urls:has(tbody tr)").tablesorter( diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html index bf35608..1207e81 100644 --- a/templates/mirrors/mirrors.html +++ b/templates/mirrors/mirrors.html @@ -41,7 +41,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() { $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [2,0]]}); diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 046c419..54c5941 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -102,8 +102,8 @@ </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() { var headers = { 5: { sorter: 'duration' }, 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' }, 8: { sorter: 'mostlydigit' } }; diff --git a/templates/news/add.html b/templates/news/add.html index bb866dc..dca8fe8 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -33,7 +33,7 @@ <div id="news-preview-data" class="article-content"></div> </div> {% load cdn %}{% jquery %} -<script type="text/javascript" src="/media/archweb.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script> <script type="text/javascript"> $(document).ready(enablePreview); </script> diff --git a/templates/packages/details.html b/templates/packages/details.html index ef6ee98..1e3a294 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -233,7 +233,7 @@ </div><!-- #pkgdetails --> {% load cdn %}{% jquery %} -<script type="text/javascript" src="/media/archweb.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script> <script type="text/javascript"> $(document).ready(ajaxifyFiles); </script> diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 6c06ae2..33455d2 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -58,8 +58,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() { $('.results').tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]}); diff --git a/templates/packages/groups.html b/templates/packages/groups.html index 87316a3..dad8665 100644 --- a/templates/packages/groups.html +++ b/templates/packages/groups.html @@ -28,7 +28,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() { $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]}); diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml index 711b36a..216be3e 100644 --- a/templates/packages/opensearch.xml +++ b/templates/packages/opensearch.xml @@ -3,7 +3,7 @@ <ShortName>Arch Linux Packages</ShortName> <Description>Search the Arch Linux package repositories.</Description> <Tags>linux archlinux package software</Tags> - <Image height="16" width="16" type="image/x-icon">{{domain}}/media/favicon.ico</Image> + <Image height="16" width="16" type="image/x-icon">{{domain}}/static/favicon.ico</Image> <Language>en-us</Language> <InputEncoding>UTF-8</InputEncoding> <OutputEncoding>UTF-8</OutputEncoding> diff --git a/templates/packages/packages_list.html b/templates/packages/packages_list.html index 942e107..599ddcb 100644 --- a/templates/packages/packages_list.html +++ b/templates/packages/packages_list.html @@ -40,7 +40,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() { $(".results").tablesorter({widgets: ['zebra'], sortList: [[2,0]]}); diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index b032e65..26fd88d 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -79,8 +79,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.signoff-link').click(signoff_package); diff --git a/templates/packages/stale_relations.html b/templates/packages/stale_relations.html index d51f7e4..0186d08 100644 --- a/templates/packages/stale_relations.html +++ b/templates/packages/stale_relations.html @@ -106,8 +106,8 @@ </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() { $('#inactive-user:not(:has(tbody tr.empty))').tablesorter({widgets: ['zebra'], headers: { 0: { sorter: false } }, sortList: [[3,0]]}); diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html index 8280f10..5a4445b 100644 --- a/templates/releng/iso_overview.html +++ b/templates/releng/iso_overview.html @@ -30,8 +30,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() { $(".results:not(:has(tbody tr.empty))").tablesorter({widgets: ['zebra']}); diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index 845d330..512e1bf 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -33,8 +33,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() { $(".results:not(:has(tbody tr.empty))").tablesorter({widgets: ['zebra']}); 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); diff --git a/templates/visualize/index.html b/templates/visualize/index.html index b945931..160ff92 100644 --- a/templates/visualize/index.html +++ b/templates/visualize/index.html @@ -30,11 +30,11 @@ </div> {% endcomment %} {% load cdn %}{% jquery %} -<script type="text/javascript" src="/media/d3.min.js"></script> -<script type="text/javascript" src="/media/d3.geom.min.js"></script> -<script type="text/javascript" src="/media/d3.layout.min.js"></script> -<script type="text/javascript" src="/media/archweb.js"></script> -<script type="text/javascript" src="/media/visualize.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}d3.min.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}d3.geom.min.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}d3.layout.min.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}visualize.js"></script> <script type="text/javascript"> $(document).ready(function() { var orderings = { |