From: olivier <> Date: Wed, 9 May 2007 11:24:02 +0000 (+0000) Subject: add visualization to web item detail view X-Git-Tag: 1.1~958 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=13df20e2ac24a0bb7df675f407b7cffbedb3b0dc;p=telemeta.git add visualization to web item detail view --- diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index fab852ea..04dc30e2 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -62,6 +62,19 @@ a:link:hover, a:visited:hover { #quick_search_pattern { } +.item_visualization { + float: right; + padding: 1ex; +} +.item_visualization select { + width: 200px; +} + +.item_visualization img { + width: 300px; + border: solid 1px black; +} + /* Styles for tabular listings (stolen from trac) */ table.listing { diff --git a/telemeta/templates/mediaitem_detail.html b/telemeta/templates/mediaitem_detail.html index 3e529c75..bffc580f 100644 --- a/telemeta/templates/mediaitem_detail.html +++ b/telemeta/templates/mediaitem_detail.html @@ -3,6 +3,18 @@ {% block content %} {% if item %}

Item: {{ item.title }}

+
+ +
+ + +
+