server WIP
This commit is contained in:
parent
7d00923533
commit
7622cc99ca
6 changed files with 198 additions and 10 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>8seg Web Interface</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<ul class=flashes>
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
There are approximately {{count}} messages in queue.
|
||||
|
||||
<form id="message-form" method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{csrf_token}}"/>
|
||||
<textarea name="message" cols="{{cols}}" rows="{{rows}}" placeholder="Message up to {{cols}} characters per line, displayed line by line">{{message}}</textarea>
|
||||
<button type="submit">Post</button>
|
||||
</form>
|
||||
</body>
|
||||
<style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue