+ <div class="htmlview">
+ </div>
+ </script>
+
+ <script type="text/html" charset="utf-8" id="flash-view-template">
+ <div class="flashview">
+ <% if (shownMessage) { %>
+ <p style="margin: 0; padding: 0.2em 0.5em; line-height: 1.8em; background-color: yellow" class="<%= shownMessage.type %>"><%= shownMessage.text %></p>
+ <% } %>
+ </div>
+ </script>
+
+ <script type="text/html" charset="utf-8" id="image-gallery-view-template">
+ <div class="image-gallery-view-template">
+
+ <div class="image-gallery-header">
+ <p>
+ <button type="button" class="image-gallery-prev-button">Previous</button>
+ <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-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>
+
+ <div class="image-gallery-page-list">
+ <% for(var i=0; i < model.data.length; i++) { %>
+ <div class="image-gallery-page-container" ui:model="<%= model.data[i] %>">
+ </div>
+ <% }; %>
+ </div>
+
+ </div>
+ </script>
+
+ <script type="text/html" charset="utf-8" id="button-toolbar-view-template">
+ <div class="buttontoolbarview">
+ <div class="buttontoolbarview-tabs">
+ <% for (var i=0; i < buttons.length; i++) { %>
+ <a href="#" class="buttontoolbarview-tab" ui:groupindex="<%= i %>"><%= buttons[i].name %></a>
+ <% }; %>
+ </div>
+ <div class="buttontoolbarview-groups">
+ <% for (var i=0; i < buttons.length; i++) { %>
+ <div class="buttontoolbarview-group" ui:groupIndex="<%= i %>" style="display: none">
+ <% for (var j=0; j < buttons[i].buttons.length; j++) { %>
+ <% if (buttons[i].buttons[j].scriptlet_id) { %>
+ <a href="#" class="buttontoolbarview-button" ui:groupindex="<%= i %>" ui:buttonindex="<%= j %>">
+ <%= buttons[i].buttons[j].label %>
+ </a>
+ <% } %>
+ <% } %>
+ </div>
+ <% }; %>
+ </div>
+ </div>