From 4adb221a9d4c19646b17a34422579c08c40069b5 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 18 Apr 2012 22:00:58 +0200 Subject: [PATCH] #92: Projector control: Add projector preview icon for all entries. --- .../agenda/templates/agenda/control_item.html | 2 +- .../projector/default_control_slidefunc.html | 2 +- .../projector/default_control_slidemodel.html | 2 +- .../icons/{document-preview.png => preview.png} | Bin openslides/static/styles/base.css | 11 +++++++++-- 5 files changed, 12 insertions(+), 5 deletions(-) rename openslides/static/images/icons/{document-preview.png => preview.png} (100%) diff --git a/openslides/agenda/templates/agenda/control_item.html b/openslides/agenda/templates/agenda/control_item.html index aa4d2e6c0..a638a3d0c 100644 --- a/openslides/agenda/templates/agenda/control_item.html +++ b/openslides/agenda/templates/agenda/control_item.html @@ -7,7 +7,7 @@
- preview + {% for p in slide.get_ancestors %}   {% endfor %} diff --git a/openslides/projector/templates/projector/default_control_slidefunc.html b/openslides/projector/templates/projector/default_control_slidefunc.html index c0b7ff592..e99658583 100644 --- a/openslides/projector/templates/projector/default_control_slidefunc.html +++ b/openslides/projector/templates/projector/default_control_slidefunc.html @@ -6,7 +6,7 @@
- preview + {{ slides.name }} diff --git a/openslides/projector/templates/projector/default_control_slidemodel.html b/openslides/projector/templates/projector/default_control_slidemodel.html index 8e8e4ec37..915f98b09 100644 --- a/openslides/projector/templates/projector/default_control_slidemodel.html +++ b/openslides/projector/templates/projector/default_control_slidemodel.html @@ -7,7 +7,7 @@
- preview + {{ slide }} {% endfor %} diff --git a/openslides/static/images/icons/document-preview.png b/openslides/static/images/icons/preview.png similarity index 100% rename from openslides/static/images/icons/document-preview.png rename to openslides/static/images/icons/preview.png diff --git a/openslides/static/styles/base.css b/openslides/static/styles/base.css index a2d55773b..25eafd920 100644 --- a/openslides/static/styles/base.css +++ b/openslides/static/styles/base.css @@ -572,10 +572,17 @@ ul.results { color: #585B66; } -.pdficon span { - background-image: url("../images/icons/application-pdf.png"); +/* Icons */ +.icon span { background-repeat: no-repeat; background-position: center; width: 16px; height: 16px; display: inline-block; +} +.right { + float: right +} +.preview { + background:url("../images/icons/preview.png") no-repeat 0px 0px; +}