SanctuaryCommander/blueprints/upload_photo/upload_photo.html

31 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Video Commander</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" type="text/css" href="../static/style.css">
<script src="../static/script.js"></script>
</head>
<body>
<div class="container">
<h1 class="text-center">Upload a Static Photo</h1>
<hr>
<div class="alert alert-info text-center" role="alert">
Upload a single static photo, single photos are good if you want something that doesn't distract during services.
</div>
<form method="POST" enctype="multipart/form-data" action="/upload/photo">
<div class="form-group">
<label for="fileToUpload">File to Upload</label>
<input type="file" class="form-control" name="file" id="fileToUpload" />
</div>
<div class="form-group">
<label for="buttonName">Button Name</label>
<input type="text" class="form-control" name="buttonName" id="buttonName" />
</div>
<button type="submit" class="btn btn-primary form-control">Submit</button>
</form>
</div>
</body>
</html>