From 3682fb285b9f131a56aed2c6cab8d303c6aae5ae Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 30 Sep 2010 13:15:20 -0500 Subject: Move most inline JS into script file We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee --- templates/devel/index.html | 10 +-------- templates/mirrors/status.html | 31 +--------------------------- templates/news/add.html | 13 +----------- templates/packages/details.html | 9 +------- templates/packages/differences.html | 41 +------------------------------------ templates/todolists/view.html | 25 ++-------------------- 6 files changed, 7 insertions(+), 122 deletions(-) (limited to 'templates') diff --git a/templates/devel/index.html b/templates/devel/index.html index f285f7f..009a683 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -190,16 +190,8 @@ {% load cdn %}{% jquery %} + + {% endblock %} diff --git a/templates/packages/details.html b/templates/packages/details.html index f84b85e..09df176 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -212,15 +212,8 @@ {% load cdn %}{% jquery %} + {% endblock %} diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 2c1460e..49f23b7 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -59,47 +59,8 @@ {% load cdn %}{% jquery %} + +