From: Benoît Pin <pin@cri.ensmp.fr>
Date: Tue, 8 Jul 2014 15:18:26 +0000 (+0200)
Subject: Ajout select option de tri.
X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/306427e14c2c27ce070e789bdbc039e6d95a3fdc?ds=inline;hp=5ac1a7bd1194ca74a3953032da277517cdef3170

Ajout select option de tri.
---

diff --git a/skins/portfolio_style.css.dtml b/skins/portfolio_style.css.dtml
index f79d860..4d62859 100755
--- a/skins/portfolio_style.css.dtml
+++ b/skins/portfolio_style.css.dtml
@@ -345,10 +345,14 @@ div.lightbox {
   background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
   position:relative;
   z-index:3;
-  font-size:27px;
+  font-size:12px;
   white-space:nowrap;
 }
 
+.image_toolbar span {
+	vertical-align:9px;
+}
+
 /*
 .image_toolbar img {
   margin-left: 4px;
diff --git a/skins/portfolio_view.pt b/skins/portfolio_view.pt
index 84ee219..a168fca 100644
--- a/skins/portfolio_view.pt
+++ b/skins/portfolio_view.pt
@@ -70,6 +70,14 @@
         <div id="lightbox_toolbar" class="image_toolbar"
              tal:define="ModifyPortalContent modules/Products/CMFCore/permissions/ModifyPortalContent"
              tal:condition="python:mtool.checkPermission(ModifyPortalContent, here)">
+          <span>
+            <span i18n:translate="" tal:omit-tag="">sort:</span>
+            <select name="sort">
+              <option value="position" i18n:translate="">manual</option>
+              <option value="DateTimeOriginal" i18n:translate="">shooting</option>
+              <option value="modified" i18n:translate="">modification</option>
+            </select>
+          </span>
           <input type="image" width="17" height="27" alt="delete" title="delete"
                  name="delete"
                  tal:attributes="src string:$portal_url/trash_btn.gif"