web-apps/apps/spreadsheeteditor/mobile/app/template/AddLink.template
2018-06-26 16:11:31 +03:00

103 lines
5.3 KiB
Plaintext

<!-- Link view -->
<div id="addlink-root-view">
<div class="page" data-page="add-link">
<div class="page-content">
<div class="list-block" style="<%= android ? 'margin-bottom: 0' : '' %>">
<ul>
<li>
<a id="add-link-type" class="item-link smart-select">
<select name="linktype">
<option value="ext"><%= scope.textExternalLink %></option>
<option value="int"><%= scope.textInternalLink %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title label"><%= scope.textLinkType %></div>
<div class="item-after"><%= scope.textExternalLink %></div>
</div>
</div>
</a>
</li>
<li>
<a id="add-link-sheet" class="item-link smart-select">
<select>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title label"><%= scope.textSheet %></div>
<div class="item-after">Sheet 5</div>
</div>
</div>
</a>
</li>
<% if (android) { %>
</ul>
</div>
<div class="list-block" style="margin-top: 0">
<ul>
<% } %>
<li>
<div id="add-link-range" class="item-content">
<div class="item-inner" <% if (!android) { %>style="padding-right: 35px;"<% } %>>
<div class="item-title label"><%= scope.textRange %></div>
<% if (!android) { %><div class="item-after" style="max-width: 70%;"><% } %>
<div class="item-input">
<input type="text" class="field right range" placeholder="<%= scope.textRequired %>">
</div>
<% if (!android) { %></div><% } %>
</div>
</div>
</li>
<li>
<div id="add-link-url" class="item-content">
<div class="item-inner" <% if (!android) { %>style="padding-right: 35px;"<% } %>>
<div class="item-title label"><%= scope.textLink %></div>
<% if (!android) { %><div class="item-after" style="max-width: 70%;"><% } %>
<div class="item-input">
<input type="url" class="field right" placeholder="<%= scope.textRequired %>">
</div>
<% if (!android) { %></div><% } %>
</div>
</div>
</li>
<li>
<div id="add-link-display" class="item-content">
<div class="item-inner" <% if (!android) { %>style="padding-right: 35px;"<% } %>>
<div class="item-title label"><%= scope.textDisplay %></div>
<% if (!android) { %><div class="item-after" style="max-width: 70%;"><% } %>
<div class="item-input">
<input type="text" class="field right">
</div>
<% if (!android) { %></div><% } %>
</div>
</div>
</li>
<li>
<div id="add-link-tip" class="item-content">
<div class="item-inner" <% if (!android) { %>style="padding-right: 35px;"<% } %>>
<div class="item-title label"><%= scope.textTip %></div>
<% if (!android) { %><div class="item-after" style="max-width: 70%;"><% } %>
<div class="item-input">
<input type="text" class="field right">
</div>
<% if (!android) { %></div><% } %>
</div>
</div>
</li>
</ul>
</div>
<div class="list-block disabled" id="add-link-insert">
<% if (android) { %>
<a href="#" class="button button-fill button-raised" style="margin: 20px 16px;"><%= scope.textInsert %></a>
<% } else { %>
<ul>
<li>
<a href="#" class="list-button item-link"><%= scope.textInsert %></a>
</li>
</ul>
<% } %>
</div>
</div>
</div>
</div>