From f674897505d7d54ce156e5dfd0388722d3b12de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Ko=CC=88cher?= Date: Sat, 14 Apr 2012 14:51:56 +0200 Subject: [PATCH] Split static files in application specific directories and use django 1.4 staticfiles app. --- extras/website/_templates/layout.html | 5 +-- .../static/images/icons/layer-visible-off.png | Bin .../static/images/icons/layer-visible-on.png | Bin .../{ => agenda}/static/javascript/agenda.js | 0 .../static/javascript/jquery.once.js | 0 .../static/javascript/jquery.tmpl.js | 0 .../{ => agenda}/static/styles/agenda.css | 8 ++--- .../agenda/templates/agenda/item_row.html | 9 +++--- .../agenda/templates/agenda/overview.html | 15 ++++----- .../application/base_application.html | 3 +- .../templates/application/poll_view.html | 3 +- .../templates/application/view.html | 27 ++++++++-------- .../templates/projector/Application.html | 11 ++++--- .../static/javascript/assignment.js | 0 .../static/styles/assignment.css | 4 +-- .../templates/assignment/base_assignment.html | 7 +++-- .../templates/assignment/overview.html | 6 ++-- .../assignment/templates/assignment/view.html | 28 ++++++++--------- .../templates/projector/Assignment.html | 19 ++++++------ openslides/openslides_settings.py | 16 +++++++++- .../static/images/icons/im-user.png | Bin .../static/images/icons/meeting-chair.png | Bin .../static/javascript/participant.js | 0 .../static/styles/participant.css | 8 ++--- .../participant/base_participant.html | 5 +-- .../templates/participant/group_overview.html | 5 +-- .../templates/participant/login.html | 3 +- .../templates/participant/overview.html | 9 +++--- .../static/images/icons/clock.png | Bin .../static/images/icons/go-down.png | Bin .../static/images/icons/go-up.png | Bin .../images/icons/media-playback-pause.png | Bin .../images/icons/media-playback-start.png | Bin .../images/icons/media-skip-backward.png | Bin .../static/images/icons/view-restore.png | Bin .../static/images/icons/zoom-in.png | Bin .../static/images/icons/zoom-out.png | Bin .../static/images/logo-projector.png | Bin .../static/images/presentation-header-bg.png | Bin .../javascript/jquery-ui-1.8.18.custom.min.js | 0 .../static/javascript/projector-control.js | 0 .../static/javascript/projector.js | 0 .../static/styles/projector-control.css | 8 ++--- .../static/styles/projector.css | 0 .../ui-bg_diagonals-thick_18_b81900_40x40.png | Bin .../ui-bg_diagonals-thick_20_666666_40x40.png | Bin .../images/ui-bg_flat_10_000000_40x100.png | Bin .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin .../images/ui-bg_glass_65_ffffff_1x400.png | Bin .../ui-bg_gloss-wave_35_f6a828_500x100.png | Bin .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin .../images/ui-icons_222222_256x240.png | Bin .../images/ui-icons_228ef1_256x240.png | Bin .../images/ui-icons_ef8c08_256x240.png | Bin .../images/ui-icons_ffd27a_256x240.png | Bin .../images/ui-icons_ffffff_256x240.png | Bin .../ui-lightness/jquery-ui-1.8.18.custom.css | 0 .../projector/templates/base-projector.html | 11 ++++--- .../templates/projector/base_projector.html | 3 +- .../templates/projector/control.html | 29 +++++++++--------- openslides/static/styles/base.css | 10 +++--- openslides/static/styles/tabledrag.css | 8 ++--- openslides/templates/base.html | 11 ++++--- openslides/urls.py | 1 - 66 files changed, 151 insertions(+), 121 deletions(-) rename openslides/{ => agenda}/static/images/icons/layer-visible-off.png (100%) rename openslides/{ => agenda}/static/images/icons/layer-visible-on.png (100%) rename openslides/{ => agenda}/static/javascript/agenda.js (100%) rename openslides/{ => agenda}/static/javascript/jquery.once.js (100%) rename openslides/{ => agenda}/static/javascript/jquery.tmpl.js (100%) rename openslides/{ => agenda}/static/styles/agenda.css (69%) rename openslides/{ => assignment}/static/javascript/assignment.js (100%) rename openslides/{ => assignment}/static/styles/assignment.css (76%) rename openslides/{ => participant}/static/images/icons/im-user.png (100%) rename openslides/{ => participant}/static/images/icons/meeting-chair.png (100%) rename openslides/{ => participant}/static/javascript/participant.js (100%) rename openslides/{ => participant}/static/styles/participant.css (71%) rename openslides/{ => projector}/static/images/icons/clock.png (100%) rename openslides/{ => projector}/static/images/icons/go-down.png (100%) rename openslides/{ => projector}/static/images/icons/go-up.png (100%) rename openslides/{ => projector}/static/images/icons/media-playback-pause.png (100%) rename openslides/{ => projector}/static/images/icons/media-playback-start.png (100%) rename openslides/{ => projector}/static/images/icons/media-skip-backward.png (100%) rename openslides/{ => projector}/static/images/icons/view-restore.png (100%) rename openslides/{ => projector}/static/images/icons/zoom-in.png (100%) rename openslides/{ => projector}/static/images/icons/zoom-out.png (100%) rename openslides/{ => projector}/static/images/logo-projector.png (100%) rename openslides/{ => projector}/static/images/presentation-header-bg.png (100%) rename openslides/{ => projector}/static/javascript/jquery-ui-1.8.18.custom.min.js (100%) rename openslides/{ => projector}/static/javascript/projector-control.js (100%) rename openslides/{ => projector}/static/javascript/projector.js (100%) rename openslides/{ => projector}/static/styles/projector-control.css (85%) rename openslides/{ => projector}/static/styles/projector.css (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_flat_10_000000_40x100.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-icons_222222_256x240.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-icons_228ef1_256x240.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-icons_ef8c08_256x240.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-icons_ffd27a_256x240.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/images/ui-icons_ffffff_256x240.png (100%) rename openslides/{ => projector}/static/styles/ui-lightness/jquery-ui-1.8.18.custom.css (100%) diff --git a/extras/website/_templates/layout.html b/extras/website/_templates/layout.html index 01160932d..e11924f43 100644 --- a/extras/website/_templates/layout.html +++ b/extras/website/_templates/layout.html @@ -1,4 +1,5 @@ {% extends '!layout.html' %} +{% load staticfiles %} {% block extrahead %} {{ super() }} @@ -37,14 +38,14 @@ name="keywords">