Skip to content

Commit 1eca016

Browse files
committed
small design improvments
1 parent 1c85996 commit 1eca016

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

library_db/library.db

0 Bytes
Binary file not shown.

library_db/routes/auth/templates/auth/login.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<form action="/login?next={{ next }}"
3131
method="post"
3232
id="form"
33-
class="rounded d-flex flex-column bg-light p-3 {% if darkmode %} bg-dark text-white {% else %} shadow-lg border border-2 {% endif %}">
33+
class="rounded d-flex flex-column bg-light p-3 border shadow-lg {% if darkmode %} bg-dark text-white border-secondary {% else %} border-2 {% endif %}">
3434
<p id="box-title" class="text-center my-0">Login</p>
3535
<hr class="border border-secondary border-1 opacity-50 mt-1" />
3636
<label for="email">Email</label>

library_db/routes/panel/user/templates/user/borrowings.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@
6565
<button name="borrowing_id"
6666
type="submit"
6767
value="{{ borrowing.id }}"
68-
class="d-grid btn btn-danger"
69-
style="height: 28px;
70-
font-size: 12px">
68+
class="d-grid btn btn-danger h-100"
69+
style="font-size: 12px">
7170
<span>Return Book</span>
7271
</button>
7372
</form>

wsgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
app = create_app()
55

66
if __name__ == "__main__":
7-
app.run(request_handler=RequestHandler)
7+
app.run(request_handler=RequestHandler, host="0.0.0.0")

0 commit comments

Comments
 (0)