Add some minor UI tweaks

This commit is contained in:
James Mills 2020-03-27 21:26:13 +10:00
parent 299df65290
commit f4afd2eb6b
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6
4 changed files with 16 additions and 16 deletions

File diff suppressed because one or more lines are too long

View file

@ -26,7 +26,7 @@
justify-content: center;
align-items: center;
min-width: 300px;
min-height: 300px;
min-height: 200px;
}
.upload-box span {

View file

@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', () => {
}, false)
const labelClicked = (e) => {
if (uploadInProgress === true) {
if (uploadInProgress === true || file != null) {
e.preventDefault()
return false
}

View file

@ -32,7 +32,7 @@
</form>
</div>
</label>
<p>Need to import a video from another source? Click <a href="/import">Import</a></p>
<p>Importing a video? Click <a href="/import">here</a></p>
</div>
{{end}}
{{define "scripts"}}