From 5b0796a60825950e9b2d9793401b4a66d54cd29a Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Fri, 7 Apr 2023 22:02:56 -0700 Subject: [PATCH 1/4] Add donation links and tidy up CSS --- Makefile.PL | 1 + public/css/main.css | 5 +++++ templates/main/index.html.ep | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 7f281c2..100b08b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,6 +10,7 @@ WriteMakefile( 'Email::MIME' => '1.952', 'Email::Sender::Simple' => '2.500', 'File::ChangeNotify' => '0.31', + 'Net::LDAPS' => '0.68', }, test => {TESTS => 't/*.t'} ); diff --git a/public/css/main.css b/public/css/main.css index 7654d6e..9e51fe8 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -152,6 +152,7 @@ textarea.big { pre { white-space: pre-wrap; + overflow-wrap: break-word; } #header-content a:link { @@ -175,3 +176,7 @@ img.stats { width: 100%; display: block; } + +.inline { + display: inline; +} diff --git a/templates/main/index.html.ep b/templates/main/index.html.ep index 41b7c21..e3886fa 100644 --- a/templates/main/index.html.ep +++ b/templates/main/index.html.ep @@ -50,6 +50,12 @@ pay it forward! Donate to your favorite charity and support the causes you believe in.

+

+ If you do want to donate, you can do so via XMR or BTC: +

+ XMR:
89T7fWoFz7fR8g8GeJ5HRDM6xejUKM27u7otsuBLKyNW9KphXpRAyNjcsNDZeBhMPdDxCYHJwGyPxfXHLKHdiqfC4yWtzS1
+
+ BTC:
bc1qwqq698u8sp5zs90srugx8gwa5vkmvmqhjk8vvr

Made with love <3 (and fur) by
From c25c49cef68876abcbd8f2f3cb7bc07e96552c60 Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Fri, 7 Apr 2023 22:05:40 -0700 Subject: [PATCH 2/4] Add keycloak account page link --- templates/account/accountPage.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/account/accountPage.html.ep b/templates/account/accountPage.html.ep index a3b895f..9415e2c 100644 --- a/templates/account/accountPage.html.ep +++ b/templates/account/accountPage.html.ep @@ -17,6 +17,12 @@ ldap.unix.dog and manage your account information that way.

+

+ In addition, please visit the + Keycloak account console to manage 2FA and WebAuthn security + keys. +

%= form_for account => begin

%= label_for username => 'Enter your username to get started:' From 94d6733a6d83f4594723d334d873f0cebdb087ef Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Fri, 7 Apr 2023 22:10:48 -0700 Subject: [PATCH 3/4] Fix CSS for icon --- public/css/main.css | 5 +++++ templates/layouts/default.html.ep | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/public/css/main.css b/public/css/main.css index 9e51fe8..18d93de 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -180,3 +180,8 @@ img.stats { .inline { display: inline; } + +#favicon { + align-self: center; +} + diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index c5794ba..57d91ac 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -20,7 +20,7 @@

- UNIX.dog + UNIX.dog

UNIX.dog