From b04e0e5e817bb3ac6af7ff5cf5e7a3de7a99e859 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 8 Sep 2024 16:33:16 +0200 Subject: [PATCH 1/5] Rename cover in current-articles.html --- web/templates/current-articles.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/current-articles.html b/web/templates/current-articles.html index 55e3c38..177bae4 100644 --- a/web/templates/current-articles.html +++ b/web/templates/current-articles.html @@ -16,7 +16,7 @@
-

Cover

+

Titelseite

From 8597f1b8492e94d017acb9510623c8d5e5a56041 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 9 Sep 2024 21:08:53 +0200 Subject: [PATCH 2/5] Recover somehow deleted port command line argument in .air.toml --- .air.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.air.toml b/.air.toml index 612e376..1672ee6 100644 --- a/.air.toml +++ b/.air.toml @@ -14,6 +14,7 @@ args_bin = [ "-log tmp/cpolis.log", "-pdfs tmp/pdfs", "-pics tmp/pics", + "-port 8080", "-rss tmp/orientexpress_alle.rss", "-title 'Freimaurer Distrikt Niedersachsen und Sachsen-Anhalt'", "-web web", From e554174c28ab868319a09ca57834c9383f931007 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 9 Sep 2024 22:01:26 +0200 Subject: [PATCH 3/5] Correct size of tag field in add-tag.html --- web/templates/add-tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/add-tag.html b/web/templates/add-tag.html index 29532af..7e898e0 100644 --- a/web/templates/add-tag.html +++ b/web/templates/add-tag.html @@ -2,7 +2,7 @@

Neuer Tag

- +
From 9e0182ed0318ebb7a55d66a173f1cc1f22ff83c0 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 9 Sep 2024 22:03:03 +0200 Subject: [PATCH 4/5] Remove white background from to-be-deleted.html and to-be-published.html because it conflicts with dark mode --- web/templates/to-be-deleted.html | 10 +++++----- web/templates/to-be-published.html | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/templates/to-be-deleted.html b/web/templates/to-be-deleted.html index ae15f1a..61d07f4 100644 --- a/web/templates/to-be-deleted.html +++ b/web/templates/to-be-deleted.html @@ -3,24 +3,24 @@
Titel -
+
{{.Title}}
Beschreibung -
+
{{.Description}}
Artikel -
-
+
+
{{.Content}}
Tags -
+
{{range .Tags}} {{.Name}}
diff --git a/web/templates/to-be-published.html b/web/templates/to-be-published.html index 21957c2..37be607 100644 --- a/web/templates/to-be-published.html +++ b/web/templates/to-be-published.html @@ -3,24 +3,24 @@
Titel -
+
{{.Article.Title}}
Beschreibung -
+
{{.Article.Description}}
Artikel -
+
{{.Content}}
Tags -
+
{{if .Article.IsInIssue}} Orient Express
From 4004bcb8f03b0ca3f076fafac84efe9f1fa83b30 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 9 Sep 2024 22:03:31 +0200 Subject: [PATCH 5/5] Make interface responsive --- web/static/css/input.css | 2 +- web/templates/add-user.html | 4 ++-- web/templates/edit-self.html | 2 +- web/templates/edit-user.html | 4 ++-- web/templates/hub.html | 6 +++--- web/templates/index.html | 6 +++--- web/templates/login.html | 6 ++++-- 7 files changed, 16 insertions(+), 14 deletions(-) diff --git a/web/static/css/input.css b/web/static/css/input.css index 815ea0b..e2fe988 100644 --- a/web/static/css/input.css +++ b/web/static/css/input.css @@ -20,7 +20,7 @@ textarea { } .btn-area { - @apply flex gap-4 mt-4; + @apply grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-1 mt-4; } .btn { diff --git a/web/templates/add-user.html b/web/templates/add-user.html index a3c9cf7..d6aeae9 100644 --- a/web/templates/add-user.html +++ b/web/templates/add-user.html @@ -2,7 +2,7 @@

Neuer Benutzer

-
+
@@ -25,7 +25,7 @@
-
+
diff --git a/web/templates/edit-self.html b/web/templates/edit-self.html index ee4bdf0..334da84 100644 --- a/web/templates/edit-self.html +++ b/web/templates/edit-self.html @@ -2,7 +2,7 @@

Profil bearbeiten

-
+
diff --git a/web/templates/edit-user.html b/web/templates/edit-user.html index d998f7b..335f7eb 100644 --- a/web/templates/edit-user.html +++ b/web/templates/edit-user.html @@ -2,7 +2,7 @@

Profil von {{.FirstName}} {{.LastName}} bearbeiten

-
+
@@ -29,7 +29,7 @@
-
+
diff --git a/web/templates/hub.html b/web/templates/hub.html index 451d645..43f9e05 100644 --- a/web/templates/hub.html +++ b/web/templates/hub.html @@ -5,7 +5,7 @@ {{if lt . 4}}

Artikel

-
+
{{if lt . 3}} @@ -36,7 +36,7 @@ {{if lt . 4}}

Benutzer

-
+
{{if eq . 0}}