diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-20 11:28:12 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-20 11:28:12 -0500 |
commit | 3e085183bf39c59fdcd0b9e67b5a02653a51d30e (patch) | |
tree | 7af2d1bfd11b1cbde4fd1afeab26ad3986ad1d53 | |
parent | 6de0cfbd23aae69036439db817cc26740d8796cd (diff) |
Move all script blocks into {% script_block %} sectionrelease_2013-04-20
I added this a while back, but didn't roll it out to all templates.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/devel/clock.html | 3 | ||||
-rw-r--r-- | templates/devel/index.html | 2 | ||||
-rw-r--r-- | templates/devel/packages.html | 3 | ||||
-rw-r--r-- | templates/devel/profile.html | 2 | ||||
-rw-r--r-- | templates/mirrors/mirror_details.html | 3 | ||||
-rw-r--r-- | templates/mirrors/status.html | 3 | ||||
-rw-r--r-- | templates/packages/details.html | 2 | ||||
-rw-r--r-- | templates/packages/differences.html | 2 | ||||
-rw-r--r-- | templates/packages/groups.html | 3 | ||||
-rw-r--r-- | templates/packages/packages_list.html | 3 | ||||
-rw-r--r-- | templates/packages/signoffs.html | 3 | ||||
-rw-r--r-- | templates/packages/stale_relations.html | 3 | ||||
-rw-r--r-- | templates/public/keys.html | 2 | ||||
-rw-r--r-- | templates/registration/login.html | 2 | ||||
-rw-r--r-- | templates/releng/iso_overview.html | 3 | ||||
-rw-r--r-- | templates/releng/release_list.html | 2 | ||||
-rw-r--r-- | templates/releng/result_list.html | 3 | ||||
-rw-r--r-- | templates/todolists/list.html | 3 | ||||
-rw-r--r-- | templates/todolists/view.html | 3 | ||||
-rw-r--r-- | templates/visualize/index.html | 2 |
20 files changed, 52 insertions, 0 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 83fbb70b..2c5bfacf 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -56,6 +56,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/devel/index.html b/templates/devel/index.html index 6d304409..c067b69b 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -294,7 +294,9 @@ </table> </div>{# #dash-by-developer #} {% endcache %} +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/devel/packages.html b/templates/devel/packages.html index a62ae1ab..0e6b1752 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -73,6 +73,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/devel/profile.html b/templates/devel/profile.html index 9806552a..acdc22a9 100644 --- a/templates/devel/profile.html +++ b/templates/devel/profile.html @@ -24,7 +24,9 @@ </form> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 1c9a970e..d3e85b00 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -117,6 +117,9 @@ <div id="charts-container"></div> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "d3-3.0.6.min.js" %}"></script> <script type="text/javascript" src="{% static "archweb.js" %}"></script> diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 26e81e79..283ff681 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -99,6 +99,9 @@ </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/details.html b/templates/packages/details.html index 0a47217c..bfa2de16 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -229,7 +229,9 @@ </div> </div> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 61906fef..3d3f6edf 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -93,7 +93,9 @@ </table> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/groups.html b/templates/packages/groups.html index 66110637..c135791f 100644 --- a/templates/packages/groups.html +++ b/templates/packages/groups.html @@ -29,6 +29,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/packages_list.html b/templates/packages/packages_list.html index 37fd2c1c..3dcc03dc 100644 --- a/templates/packages/packages_list.html +++ b/templates/packages/packages_list.html @@ -40,6 +40,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 2879c30b..6fbbd00e 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -77,6 +77,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/packages/stale_relations.html b/templates/packages/stale_relations.html index cb7799d4..14fac397 100644 --- a/templates/packages/stale_relations.html +++ b/templates/packages/stale_relations.html @@ -107,6 +107,9 @@ </form> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/public/keys.html b/templates/public/keys.html index 91b53075..c7272db3 100644 --- a/templates/public/keys.html +++ b/templates/public/keys.html @@ -132,7 +132,9 @@ </tbody> </table> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "d3-3.0.6.min.js" %}"></script> <script type="text/javascript" src="{% static "archweb.js" %}"></script> diff --git a/templates/registration/login.html b/templates/registration/login.html index edbb77ea..82f74f58 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -21,7 +21,9 @@ </form> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html index 196f0c0a..1a35ead4 100644 --- a/templates/releng/iso_overview.html +++ b/templates/releng/iso_overview.html @@ -36,6 +36,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/releng/release_list.html b/templates/releng/release_list.html index 5f248264..7197cc8d 100644 --- a/templates/releng/release_list.html +++ b/templates/releng/release_list.html @@ -39,7 +39,9 @@ </tbody> </table> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index 67e5934d..281df083 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -33,6 +33,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 5f7e333d..56f9874d 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -46,6 +46,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/todolists/view.html b/templates/todolists/view.html index a96297cf..fc4b29ea 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -100,6 +100,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/visualize/index.html b/templates/visualize/index.html index 2b79d601..446bdebe 100644 --- a/templates/visualize/index.html +++ b/templates/visualize/index.html @@ -23,7 +23,9 @@ </div> <div id="visualize-archrepo" class="visualize-chart"></div> </div> +{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %} <script type="text/javascript" src="{% static "d3-3.0.6.min.js" %}"></script> <script type="text/javascript" src="{% static "archweb.js" %}"></script> |