multilang-asr-captioner / static /submit_video.html
marquesafonso's picture
improve submit form styling
8530b58
raw
history blame
2.31 kB
<!DOCTYPE html>
<html>
<head>
<style>
/* CSS Styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
color: #333;
line-height: 1.6;
}
form {
max-width: 600px;
margin: 20px auto;
padding: 20px;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input[type=file],
input[type=number],
input[type=text] {
width: 95%;
padding: 10px;
margin-bottom: 10px;
border-radius: 4px;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
input[type=submit] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 15px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 18px;
}
input[type=submit]:hover {
background-color: #45a049;
}
label {
margin-top: 10px;
display: block;
}
/* Additional Responsiveness */
@media (max-width: 768px) {
form {
width: 90%;
}
}
</style>
</head>
<body>
<form action="/process_video/" enctype="multipart/form-data" method="post">
Video File: <input type="file" name="video_file"><br>
Subtitles File: <input type="file" name="srt_file"><br>
Max words per line: <input type="number" name="max_words_per_line" value="8"><br>
Font size: <input type="number" name="fontsize" value="36"><br>
Font: <input type="text" name="font" value="FuturaPTHeavy"><br>
Background color: <input type="text" name="bg_color" value="#070a13b3"><br>
Text color: <input type="text" name="text_color" value="white"><br>
<input type="submit">
</form>
</body>
</html>