2016-11-11 13:24:21 +00:00
|
|
|
<!-- Link view -->
|
|
|
|
<div id="edit-link-root">
|
|
|
|
<div class="list-block">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<div id="edit-link-url" class="item-content">
|
|
|
|
<div class="item-inner">
|
2016-11-18 11:56:48 +00:00
|
|
|
<div class="item-title label"><%= scope.textLink %></div>
|
2016-11-11 13:24:21 +00:00
|
|
|
<div class="item-input">
|
2016-11-18 11:56:48 +00:00
|
|
|
<input type="url" placeholder="<%= scope.textLink %>">
|
2016-11-11 13:24:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div id="edit-link-display" class="item-content">
|
|
|
|
<div class="item-inner">
|
2016-11-18 11:56:48 +00:00
|
|
|
<div class="item-title label"><%= scope.textDisplay %></div>
|
2016-11-11 13:24:21 +00:00
|
|
|
<div class="item-input">
|
2016-11-18 11:56:48 +00:00
|
|
|
<input type="text" placeholder="<%= scope.textDisplay %>">
|
2016-11-11 13:24:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div id="edit-link-tip" class="item-content">
|
|
|
|
<div class="item-inner">
|
2016-11-18 11:56:48 +00:00
|
|
|
<div class="item-title label"><%= scope.textTip %></div>
|
2016-11-11 13:24:21 +00:00
|
|
|
<div class="item-input">
|
2016-11-18 11:56:48 +00:00
|
|
|
<input type="text" placeholder="<%= scope.textTip %>">
|
2016-11-11 13:24:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="list-block">
|
|
|
|
<% if (android) { %>
|
2016-11-18 11:56:48 +00:00
|
|
|
<a href="#" id="edit-link-edit" class="button button-raised button-fill disabled" style="margin: 20px 16px;"><%= scope.textEdit %></a>
|
|
|
|
<a href="#" id="edit-link-remove" class="button button-raised button-fill" style="margin: 20px 16px; background-color: #f44336;"><%= scope.textRemove %></a>
|
2016-11-11 13:24:21 +00:00
|
|
|
<% } else { %>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2016-11-18 11:56:48 +00:00
|
|
|
<a href="#" id="edit-link-edit" class="list-button item-link disabled" style="text-align: center;"><%= scope.textEdit %></a>
|
2016-11-11 13:24:21 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2016-11-18 11:56:48 +00:00
|
|
|
<a href="#" id="edit-link-remove" class="list-button item-link" style="text-align: center; color: #f00"><%= scope.textRemove %></a>
|
2016-11-11 13:24:21 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
</div>
|