+ New buttons/fields for submitting data

This commit is contained in:
shockrah 2022-03-24 19:59:01 -07:00
parent 63ac49de5f
commit 1e4a6d5f5d
2 changed files with 8 additions and 2 deletions

View File

@ -76,8 +76,10 @@ video {
border-radius: 0.5em;
}
/* TODO: put this behind some conditional compilation */
.login-form {
max-width: 500px;
margin: 0 auto;
}
#video-meta {
text-align: left;
}

View File

@ -40,7 +40,7 @@
</div>
</div>
<strong id='error' hidden></strong>
<button type="button" class="btn btn-info" onclick="confirm_auth()">Submit</button>
<button type="button" class="btn btn-info" id="verify-login-btn">Submit</button>
</form>
</div>
<div class="content" id="dashboard" hidden>
@ -49,13 +49,17 @@
<div class="form-group">
<label for="video-file">Pick out video file to upload</label>
<input type="file" class="form-control" id="video-file">
<label for="category">What category should this go in?</label>
<input type="text" class="form-control" id="category">
</div>
</form>
<div id="video-meta" hidden>
<p>Video file name: <code id="vmn"></code></p>
<p>Video file size: <code id="vms"></code></p>
<p>Video file type: <code id="vmt"></code></p>
<button type="button" class="btn btn-primary" id="confirm-upload-btn">Upload</button>
</div>
<div id="upload-response"></div>
</div>
</div>
</div>