client/posts: improve file dropper appearance

This commit is contained in:
rr-
2017-02-21 18:54:46 +01:00
parent 1e58899b03
commit d00d282bff
3 changed files with 18 additions and 17 deletions

View File

@ -14,11 +14,13 @@
<% } %>
</label>
<% if (ctx.allowUrls) { %>
<input type='text' name='url' placeholder='Alternatively, paste an URL here.'/>
<% if (ctx.lock) { %>
<button>Confirm</button>
<% } else { %>
<button>Add URL</button>
<% } %>
<div class='url-holder'>
<input type='text' name='url' placeholder='Alternatively, paste an URL here.'/>
<% if (ctx.lock) { %>
<button>Confirm</button>
<% } else { %>
<button>Add URL</button>
<% } %>
</div>
<% } %>
</div>