From 8945e55251c5df351036b9de6dbfbdcfe854af92 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Mon, 13 May 2024 11:24:16 +0100 Subject: [PATCH] Developing, yo --- faxSrc/assets/css/main.scss | 4 ++ faxSrc/assets/htmx/editor.html | 61 +++++++++++++++++++++++ faxSrc/assets/htmx/login.html | 31 ++++++------ faxSrc/controllers/authentication.go | 73 ++++++++++++++++++++++++++++ faxSrc/controllers/editor.go | 15 ++++++ faxSrc/controllers/sendFax.go | 6 +++ faxSrc/go.mod | 5 +- faxSrc/go.sum | 2 + faxSrc/main.go | 46 +++++++++++------- faxSrc/models/authentication.go | 21 ++++++++ faxSrc/views/editorPage.go | 2 +- faxSrc/views/loginPage.go | 19 ++++++++ 12 files changed, 250 insertions(+), 35 deletions(-) create mode 100644 faxSrc/assets/htmx/editor.html create mode 100644 faxSrc/controllers/authentication.go create mode 100644 faxSrc/controllers/editor.go create mode 100644 faxSrc/views/loginPage.go diff --git a/faxSrc/assets/css/main.scss b/faxSrc/assets/css/main.scss index cfbfaa4..b6405a0 100644 --- a/faxSrc/assets/css/main.scss +++ b/faxSrc/assets/css/main.scss @@ -105,6 +105,10 @@ code { height: 100%; } +#login-box-boundaries { + height: 100%; +} + textarea { scrollbar-width: none; width: 100%; diff --git a/faxSrc/assets/htmx/editor.html b/faxSrc/assets/htmx/editor.html new file mode 100644 index 0000000..0126264 --- /dev/null +++ b/faxSrc/assets/htmx/editor.html @@ -0,0 +1,61 @@ +
+
+ +
+ FAX + +
+ +
+ +
+ +
->
+
+
+ + \ No newline at end of file diff --git a/faxSrc/assets/htmx/login.html b/faxSrc/assets/htmx/login.html index 0126264..3988c27 100644 --- a/faxSrc/assets/htmx/login.html +++ b/faxSrc/assets/htmx/login.html @@ -1,40 +1,38 @@
-
- FAX - +
+ LOGIN +
+
+
- -
- -
- -
->