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; justify-content: center;
align-items: center; align-items: center;
min-width: 300px; min-width: 300px;
min-height: 300px; min-height: 200px;
} }
.upload-box span { .upload-box span {
@ -155,4 +155,4 @@
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg); transform: rotate(360deg);
} }
} }

View file

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

View file

@ -32,7 +32,7 @@
</form> </form>
</div> </div>
</label> </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> </div>
{{end}} {{end}}
{{define "scripts"}} {{define "scripts"}}