summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2017-02-21 18:29:32 +0100
committerrr- <rr-@sakuya.pl>2017-02-21 18:59:12 +0100
commit34366b72fbc8583c8eb8478dde0d65c4b9321b18 (patch)
tree392929e92270fe28734cc582c7b0da393bbeac21 /client/html
parent5dfdfd49e9f812844560c4185abd568d14df86c8 (diff)
client/file-dropper: add ability to lock URLs
Diffstat (limited to 'client/html')
-rw-r--r--client/html/file_dropper.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/html/file_dropper.tpl b/client/html/file_dropper.tpl
index 9e7715d..2ce0ff5 100644
--- a/client/html/file_dropper.tpl
+++ b/client/html/file_dropper.tpl
@@ -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>