create wallpaper for body and make app listen on 0.0.0.0
This commit is contained in:
BIN
beertap/static/background.jpg
Normal file
BIN
beertap/static/background.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 184 KiB |
8
beertap/static/css/style.css
Normal file
8
beertap/static/css/style.css
Normal 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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user