client/file-dropper: add ability to lock URLs

This commit is contained in:
rr-
2017-02-21 18:29:32 +01:00
parent 5dfdfd49e9
commit 34366b72fb
2 changed files with 28 additions and 3 deletions

View File

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