web-apps/apps/presentationeditor/mobile/app/template/EditImage.template

297 lines
13 KiB
Plaintext
Raw Normal View History

2016-11-30 08:38:05 +00:00
<!-- Root view -->
<div id="edit-image-root">
<div class="list-block">
<ul>
<li>
<a id="image-replace" class="item-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textReplace %></div>
</div>
</div>
</a>
</li>
<li>
<a id="image-reorder" class="item-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textReorder %></div>
</div>
</div>
</a>
</li>
<li>
<a id="image-align" class="item-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textAlign %></div>
</div>
</div>
</a>
</li>
2016-11-30 08:38:05 +00:00
</ul>
</div>
<div class="list-block">
<ul>
<li>
<% if (android) { %>
<a id="image-default" class="button button-raised button-fill" style="margin: 20px 16px;"><%= scope.textDefault %></a>
<% } else { %>
<a id="image-default" class="item-link list-button" style="text-align: center;"><%= scope.textDefault %></a>
<% } %>
</li>
<li>
<% if (android) { %>
<a id="image-remove" class="button button-raised button-fill" style="margin: 20px 16px; background-color: #f44336;"><%= scope.textRemove %></a>
2016-11-30 08:38:05 +00:00
<% } else { %>
<a id="image-remove" class="item-link list-button" style="text-align: center; color: #f00"><%= scope.textRemove %></a>
<% } %>
</li>
</ul>
</div>
</div>
<!-- Reorder view -->
<div id="edit-image-reorder-view">
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding"><%= scope.textReorder %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
<div class="page image-reorder">
<div class="page-content">
<div class="list-block">
<ul>
<li>
<a data-type="all-up" class="item-link no-indicator">
<div class="item-content">
<div class="item-media"><i class="icon icon-move-foreground"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textToForeground %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="all-down" class="item-link no-indicator">
<div class="item-content">
<div class="item-media"><i class="icon icon-move-background"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textToBackground %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="move-up" class="item-link no-indicator">
<div class="item-content">
<div class="item-media"><i class="icon icon-move-forward"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textForward %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="move-down" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
<div class="item-media"><i class="icon icon-move-backward"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textBackward %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Replace view -->
<div id="edit-image-replace-view">
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding"><%= scope.textReplace %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
<div class="page">
<div class="page-content">
<div class="list-block">
<ul>
<li>
<a id="edit-image-file" class="item-link no-indicator no-fastclick">
<div class="item-content">
<div class="item-media">
<i class="icon icon-image-library"></i>
</div>
<div class="item-inner">
<div class="item-title"><%= scope.textFromLibrary %></div>
</div>
</div>
</a>
</li>
<li>
<a id="edit-image-url" class="item-link">
<div class="item-content">
<div class="item-media">
<i class="icon icon-link"></i>
</div>
<div class="item-inner">
<div class="item-title"><%= scope.textFromURL %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Url view -->
<div id="edit-image-url-view">
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding"><%= scope.textLinkSettings %></div>
</div>
</div>
<div class="page edit-image-url-link">
<div class="page-content">
<div class="content-block-title"><%= scope.textAddress %></div>
<div class="list-block">
<ul>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-input">
<input type="url" placeholder="<%= scope.textImageURL %>">
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="list-block disabled buttons">
<% if (android) { %>
<a href="#" class="button button-fill button-raised" style="margin: 20px 16px;"><%= scope.textReplaceImg %></a>
<% } else { %>
<ul>
<li>
<a href="#" class="list-button item-link"><%= scope.textReplaceImg %></a>
</li>
</ul>
<% } %>
</div>
</div>
</div>
</div>
<!-- Align view -->
<div id="edit-image-align">
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding"><%= scope.textAlign %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
<div class="page image-align">
<div class="page-content">
<div class="list-block">
<ul>
<li>
<a data-type="align-left" class="item-link no-indicator">
<div class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-left"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignLeft %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="align-center" class="item-link no-indicator">
<div class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-center"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignCenter %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="align-right" class="item-link no-indicator">
<div class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-right"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignRight %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="align-top" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-top"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignTop %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="align-middle" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-middle"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignMiddle %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="align-bottom" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-bottom"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.textAlignBottom %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="list-block">
<ul>
<li>
<a data-type="distrib-hor" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-horizontal"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.txtDistribHor %></div>
</div>
</div>
</a>
</li>
<li>
<a data-type="distrib-vert" class="item-link no-indicator">
<div data-type="move-down" class="item-content">
2017-01-18 07:29:42 +00:00
<div class="item-media"><i class="icon icon-align-vertical"></i></div>
<div class="item-inner">
<div class="item-title"><%= scope.txtDistribVert %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>