diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-26 11:22:21 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-26 11:22:21 -0400 |
commit | da2751757bc8b6638b6dd6af35d961f05957a105 (patch) | |
tree | 4027323ffeef1682067aaf4ade4486a66dde9ced /templates | |
parent | 817313b03d6990e419e6c922e12572ea71666c9c (diff) |
mirror changes from commit '943ef2e8e4'
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 8 | ||||
-rw-r--r-- | templates/devel/clock.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 | 3 | ||||
-rw-r--r-- | templates/todolists/view.html | 4 | ||||
-rw-r--r-- | templates/visualize/index.html | 10 |
20 files changed, 42 insertions, 37 deletions
diff --git a/templates/base.html b/templates/base.html index cf65ce8e..f5e8609a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,10 +3,10 @@ <head> <title>{% block title %}Parabola GNU/Linux-libre{% 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="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="search" type="application/opensearchdescription+xml" href="{% url opensearch-packages as osp %}{{ osp }}" title="Parabola Packages" /> {% block head %}{% endblock %} </head> diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 2eafd529..9fcae41b 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 }}media/archweb.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#clocks-table:has(tbody tr)").tablesorter( diff --git a/templates/devel/packages.html b/templates/devel/packages.html index bd126593..e0865fee 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 0f071b8c..dd0f87f5 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 c9ab46db..e4e208e9 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 f315f7c3..e0e2ac86 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 fd75253c..9e95072b 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 d0e60ab2..db6d3ebb 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -228,7 +228,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 0412f8c2..4931973c 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -87,8 +87,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 941ec8de..20752398 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 e54507ee..971266b0 100644 --- a/templates/packages/opensearch.xml +++ b/templates/packages/opensearch.xml @@ -3,7 +3,7 @@ <ShortName>Parabola Packages</ShortName> <Description>Search the Parabola package repositories.</Description> <Tags>gnu linuxlibre parabola 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 ed376705..1b894c8e 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 c24774a9..d7c0fef6 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 6cff8d3d..3e635f56 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 8280f100..5a4445b7 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 845d330d..512e1bf3 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 38d491d9..2e24fe9f 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 fcb77c65..e9dd3882 100644 --- a/templates/todolists/public_list.html +++ b/templates/todolists/public_list.html @@ -65,7 +65,8 @@ </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]]}); diff --git a/templates/todolists/view.html b/templates/todolists/view.html index d48c362d..20b4e436 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -57,8 +57,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 1854eb58..9b39a039 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 = { |