Presentation
This commit is contained in:
parent
b4158dcd83
commit
3e2fd5f302
@ -27,6 +27,7 @@ function respond(){
|
||||
<td>Target:</td>
|
||||
<td>
|
||||
<select name="target" id="target" required>
|
||||
<option value="" disabled selected hidden>Streaming Destination</option>
|
||||
<option value="Restream">Restream</option>
|
||||
<option value="Facebook">Facebook</option>
|
||||
<option value="YouTube">YouTube</option>
|
||||
@ -39,13 +40,13 @@ function respond(){
|
||||
<td>Date & Time:</td>
|
||||
<td><input type="datetime-local" name="datetime" title="Click on the date to get a popup" required></td></tr>
|
||||
<tr>
|
||||
<td>Video File:</td>
|
||||
<td><input type="file" name="file" required accept=".mp4"></td></tr>
|
||||
<td class="left">Video File:</td>
|
||||
<td class="right"><input type="file" name="file" required accept=".mp4"></td></tr>
|
||||
<tr>
|
||||
<td class="left">Notify email:</td>
|
||||
<td class="right"><input type="email" name="email" title="Not required"></td></tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr><td></td><td><input type="submit" value="Schedule Stream" name="schedule"></td></tr>
|
||||
<tr><td></td><td class="right"><input type="submit" value="Schedule Stream" name="schedule"></td></tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr><td align=center colspan="2" id="response"></td></tr>
|
||||
</form>
|
||||
|
||||
@ -27,21 +27,17 @@ print('<!DOCTYPE html>
|
||||
<link rel="stylesheet" href="page.css">
|
||||
<div class="container">
|
||||
<div class="incontainer">
|
||||
<table>
|
||||
<tr><td></td><td align="center"><h1>Stream Upload</h1></td></tr>');
|
||||
<table class="single">
|
||||
<tr><td align="center"><h1>Stream Upload</h1></td></tr>');
|
||||
if(isset($_POST['login'])){
|
||||
print('
|
||||
<tr><td></td><td><b>Invalid User or Password</b></td></tr>');
|
||||
<tr><td><h4>Invalid User or Password</h4></td></tr>');
|
||||
}
|
||||
print('
|
||||
<form action="login.php" method="post">
|
||||
<tr>
|
||||
<td>User:</td>
|
||||
<td><input type="text" name="user" required title="string of 0-9, a-z, A-Z" pattern="[a-zA-Z0-9]+"></td></tr>
|
||||
<tr>
|
||||
<td class="left">Password:</td>
|
||||
<td class="right"><input type="password" name="password" required></td></tr>
|
||||
<tr><td></td><td><input type="submit" name="login" value="Login"></td></tr>
|
||||
<tr><td><input type="text" name="user" placeholder="Username" required title="string of 0-9, a-z, A-Z" pattern="[a-zA-Z0-9]+"></td></tr>
|
||||
<tr><td><input type="password" name="password" placeholder="Password" required></td></tr>
|
||||
<tr><td><input type="submit" name="login" value="Login"></td></tr>
|
||||
</form>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -33,17 +33,29 @@ body {
|
||||
height:100vh;
|
||||
}
|
||||
.incontainer {
|
||||
width:450px;
|
||||
width:525px;
|
||||
max-width:450px;
|
||||
}
|
||||
p {
|
||||
flex-wrap:nowrap;
|
||||
}
|
||||
h4 {
|
||||
text-align:center;
|
||||
color:red;
|
||||
background-color:light-red;
|
||||
padding:.7em;
|
||||
}
|
||||
table {
|
||||
width:100%;
|
||||
}
|
||||
.single {
|
||||
margin:auto;
|
||||
width:325px;
|
||||
}
|
||||
.left {
|
||||
width:125px;
|
||||
width:200px;
|
||||
padding-right:10px;
|
||||
text-align:right;
|
||||
}
|
||||
.right {
|
||||
width:325px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user