35 lines
2.0 KiB
HTML
35 lines
2.0 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">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1 class="text-center">Configure a Remote Stream</h1>
|
|
<hr>
|
|
<div class="alert alert-info text-center" role="alert">
|
|
Configure a stream, content that is played from a location on the local network or the Internet.
|
|
</div>
|
|
{% if error %}<div class="alert alert-danger" role="alert">{{ error }}</div>{% endif %}
|
|
<form action="{{ url_for('configure_stream.get_page') }}" method="POST">
|
|
<div class="form-group">
|
|
<label for="buttonName">Button Name</label>
|
|
<input type="text" class="form-control" name="buttonName" id="buttonName" value="{{ name }}" maxlength="120" required />
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="streamURL">Stream URL</label>
|
|
<input type="text" class="form-control" name="streamURL" id="streamURL" value="{{ stream_url }}" required />
|
|
</div>
|
|
<div class="form-check form-switch form-check-input-lg">
|
|
<input type="checkbox" class="form-check-input" name="fullScreen" id="fullScreen" {% if fullscreen %}checked{% endif %}/>
|
|
<label for="fullScreen" class="form-check-label">Play the stream in Full Screen?</label>
|
|
</div>
|
|
<button id="submit" class="btn btn-primary form-control" type="submit">Submit</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |