create wallpaper for body and make app listen on 0.0.0.0

This commit is contained in:
beertap
2022-07-17 15:21:02 +02:00
parent 650ac394c6
commit d76c628394
5 changed files with 17 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

View File

@@ -0,0 +1,8 @@
body {
background: url('/static/background.jpg') no-repeat center center fixed;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

View File

@@ -14,7 +14,7 @@
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/static/css/style.css" type="text/css" />
<title>{% block title %}Base{% endblock %}</title>
</head>

View File

@@ -2,7 +2,14 @@
{% block title %}Beertap{% endblock %}
{% block content %}
<form method="POST">
<br />
<br />
<br />
<br />
<br />
<br />
<div class="btn-group d-flex" role="group" aria-label="order_buttons">
<button type="submit" name="submit_button" value="option_1" class="btn btn-primary w-100 py-5">Left</button>
<button type="submit" name="submit_button" value="option_2" class="btn btn-secondary w-100 py-5">Right</button>