From 943ef2e8e436a32ce5dc956c4d855866cd644cc1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 5 Dec 2011 23:06:10 -0600 Subject: Convert to and enable staticfiles contrib application This moves our site static files into the sitestatic directory if they are shared resources, and also moves a handful of things (such as the artwork logos) into application-specific static/ directories. This allows the staticfiles contrib app to work after a few settings tweaks, a run of collectstatic, and massaging the hardcoded '/media/' prefix out of our templates. Django 1.4 is going to make this a lot easier to move things to a CDN and provides better template tags; for now this is setting the stage before we can move to that. Signed-off-by: Dan McGee --- templates/base.html | 14 +++++++------- templates/devel/clock.html | 4 ++-- templates/devel/index.html | 4 ++-- templates/devel/packages.html | 4 ++-- templates/mirrors/mirror_details.html | 4 ++-- templates/mirrors/mirrors.html | 3 ++- templates/mirrors/status.html | 4 ++-- templates/news/add.html | 2 +- templates/packages/details.html | 2 +- templates/packages/differences.html | 4 ++-- templates/packages/groups.html | 3 ++- templates/packages/opensearch.xml | 2 +- templates/packages/packages_list.html | 3 ++- templates/packages/signoffs.html | 4 ++-- templates/packages/stale_relations.html | 4 ++-- templates/releng/iso_overview.html | 4 ++-- templates/releng/result_list.html | 4 ++-- templates/todolists/list.html | 3 ++- templates/todolists/public_list.html | 4 ++-- templates/todolists/view.html | 4 ++-- templates/visualize/index.html | 10 +++++----- 21 files changed, 47 insertions(+), 43 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index a120c537..0da77cf3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,13 +3,13 @@ {% block title %}Arch Linux{% endblock %} - - - - - - - + + + + + + + {% block head %}{% endblock %} diff --git a/templates/devel/clock.html b/templates/devel/clock.html index d2eb0a8d..72a57d0f 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -40,8 +40,8 @@

Developer World Clocks

{% load cdn %}{% jquery %} - - + + - + + - + + - + + + + - + + + diff --git a/templates/packages/details.html b/templates/packages/details.html index ef6ee982..1e3a2944 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -233,7 +233,7 @@

{% load cdn %}{% jquery %} - + diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 6c06ae25..33455d26 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -58,8 +58,8 @@

Filter Differences View

{% load cdn %}{% jquery %} - - + + + + + + - + + - + + - + + - + + + + + + {% endblock %} diff --git a/templates/todolists/view.html b/templates/todolists/view.html index c9ea919a..6516f73e 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -59,8 +59,8 @@

Todo List: {{ list.name }}

{% load cdn %}{% jquery %} - - + + - - - - + + + + +