mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2025-12-15 23:18:47 +00:00
upload.php html and temporary style
This commit is contained in:
parent
6577bc3bd3
commit
4eeda2e474
40
main.css
40
main.css
@ -3,21 +3,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* form.search {
|
/* Styles for titlebar */
|
||||||
width: 80%;
|
|
||||||
height: 150px;
|
|
||||||
border: white solid 1px;
|
|
||||||
border-bottom: #727272 solid 2px;
|
|
||||||
} */
|
|
||||||
|
|
||||||
/* div.upload {
|
|
||||||
width: 5%;
|
|
||||||
height: 150px;
|
|
||||||
border: white solid 1px;
|
|
||||||
border-bottom: #727272 solid 2px;
|
|
||||||
display: block;
|
|
||||||
float: left;
|
|
||||||
} */
|
|
||||||
|
|
||||||
form.search {
|
form.search {
|
||||||
/* border: white solid 1px; */
|
/* border: white solid 1px; */
|
||||||
@ -54,4 +40,28 @@ img.upload {
|
|||||||
/* margin-bottom: -17px; */
|
/* margin-bottom: -17px; */
|
||||||
margin-top: 45px;
|
margin-top: 45px;
|
||||||
float: right;
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Styles for upload.php */
|
||||||
|
|
||||||
|
form.upload-form {
|
||||||
|
/* border: white solid 1px; */
|
||||||
|
border-left: #727272 solid 2px;
|
||||||
|
border-right: #727272 solid 2px;
|
||||||
|
margin: 0 25% 0 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-form input, .upload-form textarea, .upload-form select {
|
||||||
|
display: block;
|
||||||
|
margin-left: 20px;
|
||||||
|
/* margin-bottom: 30px; */
|
||||||
|
/* border: white solid 1px; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-form h3 {
|
||||||
|
color: #FF3D53;
|
||||||
|
/* border: white solid 1px; */
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
43
upload.php
43
upload.php
@ -14,11 +14,44 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- submit.php will read the variables from the url and add it to the database -->
|
<!-- submit.php will read the variables from the url and add it to the database -->
|
||||||
<form class="upload-form" action="submit.php">
|
<form class="upload-form" onsubmit="validateUpload()">
|
||||||
<input type="text" name="url">
|
|
||||||
<input type="text" name="name">
|
<h3>Youtube URL *</h3>
|
||||||
<textarea name="description" id="" cols="30" rows="10"></textarea>
|
<input type="text" name="url" id="url">
|
||||||
<textarea name="tags" cols="30" rows="10"></textarea>
|
|
||||||
|
<h3>Name *</h3>
|
||||||
|
<input type="text" name="name" id="name">
|
||||||
|
|
||||||
|
<h3>Username *</h3>
|
||||||
|
<input type="text" name="username">
|
||||||
|
|
||||||
|
<h3>Description</h3>
|
||||||
|
<textarea name="description" cols="30" rows="10"></textarea>
|
||||||
|
|
||||||
|
<h3>Event Date</h3>
|
||||||
|
<input type="date" name="video-date">
|
||||||
|
|
||||||
|
<h3>Video Length</h3>
|
||||||
|
<input type="text" name="length">
|
||||||
|
|
||||||
|
<h3>Characters (Seperated by commas) *</h3>
|
||||||
|
<input type="text" name="characters">
|
||||||
|
|
||||||
|
<h3>Players (Seperated by commas) *</h3>
|
||||||
|
<input type="text" name="players">
|
||||||
|
|
||||||
|
<h3>Select Game *</h3>
|
||||||
|
<select name="game">
|
||||||
|
<option disabled selected value>-- Game --</option>
|
||||||
|
<option value="Street Fighter">Street Fighter</option>
|
||||||
|
<option value="Mortal Kombat">Mortal Kombat</option>
|
||||||
|
<option value="Super Smash Bros">Super Smash Bros</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<h3>Stage Name *</h3>
|
||||||
|
<input type="text" name="stage">
|
||||||
|
|
||||||
|
|
||||||
<input type="submit" name="submit" value="Submit">
|
<input type="submit" name="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user