summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-15 23:20:03 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-15 23:20:03 +0100
commit9a97638e0ddd7fbc135c63d7e9055529313ddb3c (patch)
treea251c7e38b9db9bf6c9e1c512384a479e0fc8622
parent69682699e2702295b00caa1573c11a769d79fff0 (diff)
downloadgosten-9a97638e0ddd7fbc135c63d7e9055529313ddb3c.tar.gz
gosten-9a97638e0ddd7fbc135c63d7e9055529313ddb3c.tar.bz2
gosten-9a97638e0ddd7fbc135c63d7e9055529313ddb3c.zip
Slight style changes
-rw-r--r--static/favicon.svg11
-rw-r--r--static/style.css0
-rw-r--r--templ/base.tpl1
-rw-r--r--templ/login.tpl2
4 files changed, 13 insertions, 1 deletions
diff --git a/static/favicon.svg b/static/favicon.svg
new file mode 100644
index 0000000..7f12105
--- /dev/null
+++ b/static/favicon.svg
@@ -0,0 +1,11 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
+<svg width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="#000000">
+
+<g id="SVGRepo_bgCarrier" stroke-width="0"/>
+
+<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
+
+<g id="SVGRepo_iconCarrier"> <circle cx="512" cy="512" r="512" style="fill:#1a5fb4"/> <path d="M661 655.5c-28.5 41.3-74.8 66.6-125 68.3-70.7 0-131.8-52.7-158.2-131.8h146.1c14.6 0 26.4-11.8 26.4-26.4 0-14.6-11.8-26.4-26.4-26.4H367c0-8.7-1.3-17.7-1.3-26.4s0-17.7 1.3-26.4h156.9c14.6 0 26.4-11.8 26.4-26.4s-11.8-26.4-26.4-26.4H378.1c26.4-79.1 87.3-131.8 158.2-131.8 50 1.7 96.3 27.1 124.7 68.3 7.3 12.6 23.4 16.9 36 9.6s16.9-23.4 9.6-36c-1-1.7-2.1-3.2-3.4-4.6-38.1-55-100.3-88.5-167.2-89.9-99.1 0-184.6 74.9-212.8 184.6h-63c-14.6 0-26.4 11.8-26.4 26.4s11.8 26.4 26.4 26.4h54.1v52.8h-54.1c-14.6 0-26.4 11.8-26.4 26.4 0 14.6 11.8 26.4 26.4 26.4h63C352 701.6 436.8 776.5 536 776.5c66.9-1.5 129.1-34.9 167.2-89.9 7.3-12.6 3-28.7-9.6-36-10.7-6.3-24.3-4.2-32.6 4.9z" style="fill:#fff"/> </g>
+
+</svg> \ No newline at end of file
diff --git a/static/style.css b/static/style.css
deleted file mode 100644
index e69de29..0000000
--- a/static/style.css
+++ /dev/null
diff --git a/templ/base.tpl b/templ/base.tpl
index af248dd..eddc987 100644
--- a/templ/base.tpl
+++ b/templ/base.tpl
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" type="image/svg+xml" href="/static/favicon.svg" sizes="16x16 32x32 48x48">
<title>{{block "title" .}}Kosten{{end}}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
diff --git a/templ/login.tpl b/templ/login.tpl
index a0c17d1..7a9a049 100644
--- a/templ/login.tpl
+++ b/templ/login.tpl
@@ -1,6 +1,6 @@
{{define "body"}}
<main class="d-flex align-items-center min-vh-100">
- <form action="/login" method="post" class="container m-auto" style="max-width: 440px;">
+ <form action="/login" method="post" class="container mx-auto" style="max-width: 440px;">
<img src="/static/euro-money.svg" width="96" height="96" class="mb-4"/>
{{inputs_and_errors_for . .Errors}}
{{.CsrfField}}