Add some minor UI tweaks
This commit is contained in:
parent
299df65290
commit
f4afd2eb6b
4 changed files with 16 additions and 16 deletions
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 300px;
|
||||
min-height: 300px;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.upload-box span {
|
||||
|
@ -155,4 +155,4 @@
|
|||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
}, false)
|
||||
|
||||
const labelClicked = (e) => {
|
||||
if (uploadInProgress === true) {
|
||||
if (uploadInProgress === true || file != null) {
|
||||
e.preventDefault()
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -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"}}
|
||||
|
|
Loading…
Reference in a new issue