web-apps/apps/spreadsheeteditor/mobile/app/template/EditHyperlink.template
2020-01-23 14:08:59 +03:00

148 lines
6.5 KiB
Plaintext

<!-- Link view -->
<div id="edit-link-root">
<div class="list-block">
<ul>
<li>
<a id="edit-link-type" class="item-link" data-page="#edit-link-type-view">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textLinkType %></div>
<div class="item-after"><%= scope.textExternalLink %></div>
</div>
</div>
</a>
</li>
<li>
<a id="edit-link-sheet" class="item-link" data-page="#edit-link-sheet-view">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textSheet %></div>
<div class="item-after"></div>
</div>
</div>
</a>
</li>
<li id="edit-link-range">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textRange %></div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text" placeholder="Required">
</div>
</div>
</div>
</div>
</li>
<li id="edit-link-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textLink %></div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="url" placeholder="Required">
</div>
</div>
</div>
</div>
</li>
<li id="edit-link-display">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textDisplay %></div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text">
</div>
</div>
</div>
</div>
</li>
<li id="edit-link-tip">
<div class="item-content">
<div class="item-inner">
<div class="item-title"><%= scope.textScreenTip %></div>
<div class="item-after">
<div class="item-input">
<input class="field right" type="text">
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="list-block">
<% if (android) { %>
<a href="#" id="edit-link-edit" class="button button-raised button-fill disabled" style="margin: 20px 16px;"><%= scope.textEditLink %></a>
<a href="#" id="edit-link-remove" class="button button-raised button-fill" style="margin: 20px 16px; background-color: #f44336;"><%= scope.textRemoveLink %></a>
<% } else { %>
<ul>
<li>
<a href="#" id="edit-link-edit" class="list-button item-link disabled" style="text-align: center;"><%= scope.textEditLink %></a>
</li>
<li>
<a href="#" id="edit-link-remove" class="list-button item-link" style="text-align: center; color: #f00"><%= scope.textRemoveLink %></a>
</li>
</ul>
<% } %>
</div>
</div>
<div id="edit-link-type-view">
<div class="navbar">
<div class="navbar-inner" data-page="edit-link-type-view">
<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.textLinkType %></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" data-page="edit-link-type-view">
<div class="page-content">
<div class="list-block">
<ul>
<li>
<label class="label-radio item-content">
<input type="radio" name="link-type" value="1">
<% if (android) { %>
<div class="item-media"><i class="icon icon-form-radio"></i></div>
<% } %>
<div class="item-inner">
<div class="item-title"><%= scope.textExternalLink %></div>
</div>
</label>
</li>
<li>
<label class="label-radio item-content">
<input type="radio" name="link-type" value="2">
<% if (android) { %>
<div class="item-media"><i class="icon icon-form-radio"></i></div>
<% } %>
<div class="item-inner">
<div class="item-title"><%= scope.textInternalLink %></div>
</div>
</label>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="edit-link-sheet-view">
<div class="navbar">
<div class="navbar-inner" data-page="edit-link-sheet-view">
<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.textSheet %></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" data-page="edit-link-sheet-view">
<div class="page-content">
<div class="list-block">
<ul>
</ul>
</div>
</div>
</div>
</div>