summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-28 10:34:53 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-28 10:34:53 +1000
commit5100a108634cb63ae508669878b05ed5fa20c31a (patch)
tree271946d88c35c7101e1c95f9a03ff034ac2e3ffe /templates
parentfd3f210a36529bdd0d5988052d5fe60ab4fa5682 (diff)
Improve import UI
Diffstat (limited to 'templates')
-rw-r--r--templates/import.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/import.html b/templates/import.html
index 84f0652..3d4afb0 100644
--- a/templates/import.html
+++ b/templates/import.html
@@ -3,7 +3,7 @@
<label class="import-container" onclick="labelClicked(event)">
<div class="import-wrapper">
<form id="import-form" class="import-form" enctype="multipart/form-data" method="POST" action="/import">
- <input id="import-input" type="url" required onchange="urlSelected()" />
+ <input id="import-input" type="text" placeholder="Enter a valid URL or ID" required onchange="urlSelected()" />
<div class="import-details">
<span id="import-message" class="import-message">No URL entered</span>
<div id="import-button-wrapper" class="import-button-wrapper">
@@ -22,6 +22,8 @@
</form>
</div>
</label>
+ <p>ID is of the form provider:video_id</p>
+ <p>Examples:<br />youtube:Hks6Nq7g6P4<br />vimeo:374624356</p>
</div>
{{end}}
{{define "scripts"}}