Ajout select option de tri.
authorBenoît Pin <pin@cri.ensmp.fr>
Tue, 8 Jul 2014 15:18:26 +0000 (17:18 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Tue, 8 Jul 2014 15:18:26 +0000 (17:18 +0200)
skins/portfolio_style.css.dtml
skins/portfolio_view.pt

index f79d860..4d62859 100755 (executable)
@@ -345,10 +345,14 @@ div.lightbox {
   background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
   position:relative;
   z-index:3;
   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;
 }
 
   white-space:nowrap;
 }
 
+.image_toolbar span {
+       vertical-align:9px;
+}
+
 /*
 .image_toolbar img {
   margin-left: 4px;
 /*
 .image_toolbar img {
   margin-left: 4px;
index 84ee219..a168fca 100644 (file)
         <div id="lightbox_toolbar" class="image_toolbar"
              tal:define="ModifyPortalContent modules/Products/CMFCore/permissions/ModifyPortalContent"
              tal:condition="python:mtool.checkPermission(ModifyPortalContent, here)">
         <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"
           <input type="image" width="17" height="27" alt="delete" title="delete"
                  name="delete"
                  tal:attributes="src string:$portal_url/trash_btn.gif"