Poprawienie diva dla FlashView, tak żeby nie zasłaniał przycisków.
[redakcja.git] / project / templates / explorer / editor.html
index ff37c24..eecfb57 100644 (file)
@@ -52,9 +52,9 @@
        </script>
 
        <script type="text/html" charset="utf-8" id="flash-view-template">
        </script>
 
        <script type="text/html" charset="utf-8" id="flash-view-template">
-               <div class="flashview" style="position: relative; margin-left: auto; margin-right: auto; width: 400px; background-color: yellow">
+               <div class="flashview">
                <% if (shownMessage) { %>
                <% if (shownMessage) { %>
-                       <p style="margin: 0; padding: 0.2em 0.5em; line-height: 1.8em" class="<%= shownMessage.type %>"><%= shownMessage.text %></p>
+                       <p style="margin: 0; padding: 0.2em 0.5em; line-height: 1.8em; background-color: yellow" class="<%= shownMessage.type %>"><%= shownMessage.text %></p>
                <% } %>
                </div>
        </script>
                <% } %>
                </div>
        </script>
         <div class="image-gallery-header">
         <p>
         <button type="button" class="image-gallery-prev-button">Previous</button>
         <div class="image-gallery-header">
         <p>
         <button type="button" class="image-gallery-prev-button">Previous</button>
-        <input type="input" class="image-gallery-current-page" />
+        <input type="input" class="image-gallery-current-page"
+            size="6"
+            value="<%= (currentPage + 1) %>" />
+        <button type="button" class="image-gallery-jump-button">Go</button>
         <button type="button" class="image-gallery-next-button">Next</button>
         <button type="button" class="image-gallery-next-button">Next</button>
+
+        <button type="button" class="image-gallery-zoom-in">+</button>
+        <select class="image-gallery-current-zoom">
+            <option>50%</option>
+            <option selected="selected">100%</option>
+            <option>150%</option>
+            <option>200%</option>
+        </select>
+        <button type="button" class="image-gallery-zoom-out">-</button>
         </p>
         </div>
 
         </p>
         </div>
 
-        <div>
+        <div class="image-gallery-page-list">
             <% for(var i=0; i < model.data.length; i++) { %>
             <% for(var i=0; i < model.data.length; i++) { %>
-                <p class="image-gallery-page-container"><%= model.data[i] %></p>
+                <div class="image-gallery-page-container" ui:model="<%= model.data[i] %>">
+                </div>
             <% }; %>
        </div>
         
             <% }; %>
        </div>
         
 {% endblock maincontent %}
 
 {% block extrabody %}
 {% endblock maincontent %}
 
 {% block extrabody %}
-       <div style="position: absolute; left: 0; right: 0; top: 0; height: 20px; z-index: 1000" id="flashview"></div>
+       <div style="position: absolute; left: 35%; right: 35%; top: 0; height: 20px; z-index: 1000" id="flashview"></div>
 {% endblock %}
\ No newline at end of file
 {% endblock %}
\ No newline at end of file