Commit 6e553f5c authored by Alexander Yuzhin's avatar Alexander Yuzhin

[SE mobile] Fix add link layout for android

parent ed783dea
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div id="addlink-root-view"> <div id="addlink-root-view">
<div class="page" data-page="add-link"> <div class="page" data-page="add-link">
<div class="page-content"> <div class="page-content">
<div class="list-block"> <div class="list-block" style="<%= android ? 'margin-bottom: 0' : '' %>">
<ul> <ul>
<li> <li>
<a id="add-link-type" class="item-link smart-select"> <a id="add-link-type" class="item-link smart-select">
...@@ -30,25 +30,33 @@ ...@@ -30,25 +30,33 @@
</div> </div>
</a> </a>
</li> </li>
<div id="add-link-range" class="item-content"> <% if (android) { %>
<div class="item-inner"> </ul>
<div class="item-title label"><%= scope.textRange %></div> </div>
<div class="item-after"> <div class="list-block" style="margin-top: 0">
<div class="item-input"> <ul>
<input type="text" class="field right range" placeholder="<%= scope.textRequired %>"> <% } %>
</div> <li>
<div id="add-link-range" class="item-content">
<div class="item-inner">
<div class="item-title label"><%= scope.textRange %></div>
<% if (!android) { %><div class="item-after"><% } %>
<div class="item-input">
<input type="text" class="field right range" placeholder="<%= scope.textRequired %>">
</div>
<% if (!android) { %></div><% } %>
</div> </div>
</div> </div>
</div> </li>
<li> <li>
<div id="add-link-url" class="item-content"> <div id="add-link-url" class="item-content">
<div class="item-inner"> <div class="item-inner">
<div class="item-title label"><%= scope.textLink %></div> <div class="item-title label"><%= scope.textLink %></div>
<div class="item-after"> <% if (!android) { %><div class="item-after"><% } %>
<div class="item-input"> <div class="item-input">
<input type="url" class="field right" placeholder="<%= scope.textRequired %>"> <input type="url" class="field right" placeholder="<%= scope.textRequired %>">
</div> </div>
</div> <% if (!android) { %></div><% } %>
</div> </div>
</div> </div>
</li> </li>
...@@ -56,11 +64,11 @@ ...@@ -56,11 +64,11 @@
<div id="add-link-display" class="item-content"> <div id="add-link-display" class="item-content">
<div class="item-inner"> <div class="item-inner">
<div class="item-title label"><%= scope.textDisplay %></div> <div class="item-title label"><%= scope.textDisplay %></div>
<div class="item-after"> <% if (!android) { %><div class="item-after"><% } %>
<div class="item-input"> <div class="item-input">
<input type="text" class="field right"> <input type="text" class="field right">
</div> </div>
</div> <% if (!android) { %></div><% } %>
</div> </div>
</div> </div>
</li> </li>
...@@ -68,11 +76,11 @@ ...@@ -68,11 +76,11 @@
<div id="add-link-tip" class="item-content"> <div id="add-link-tip" class="item-content">
<div class="item-inner"> <div class="item-inner">
<div class="item-title label"><%= scope.textTip %></div> <div class="item-title label"><%= scope.textTip %></div>
<div class="item-after"> <% if (!android) { %><div class="item-after"><% } %>
<div class="item-input"> <div class="item-input">
<input type="text" class="field right"> <input type="text" class="field right">
</div> </div>
</div> <% if (!android) { %></div><% } %>
</div> </div>
</div> </div>
</li> </li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment