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;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"}}
|
||||||
|
|
Loading…
Reference in a new issue