From 4da3f19c1a4e872704abc367159584d3e5a2a6d5 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Thu, 12 Oct 2023 21:16:57 -0400 Subject: [PATCH] [fix] various ios pwa styling issues --- assets/manifest.json | 4 +- templates/base.html | 402 ++++++++++++++++++++----------------- templates/login.html | 10 + templates/reader-base.html | 123 +++++++----- 4 files changed, 308 insertions(+), 231 deletions(-) diff --git a/assets/manifest.json b/assets/manifest.json index 01f6606..8965f24 100644 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -2,5 +2,7 @@ "short_name": "Book Manager", "name": "Book Manager", "theme_color": "#1F2937", - "display": "standalone" + "display": "standalone", + "scope": "/", + "start_url": "/" } diff --git a/templates/base.html b/templates/base.html index 3dd035d..7953bf8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,192 +1,51 @@ + + + + - - Book Manager - {{block "title" .}}{{end}} - - -
-
-
- - - - - - -
-

{{block "header" .}}{{end}}

-
- - - - - - - - -
-
- -
- {{block "content" .}}{{end}} -
-
- - + + +
+
+ + + + + + +
+

{{block "header" .}}{{end}}

+
+ + + + + + + + +
+
+ +
+
+ {{block "content" .}}{{end}} +
+
diff --git a/templates/login.html b/templates/login.html index b114640..e775650 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,6 +1,16 @@ + + + + - - + + + + Book Manager - {{block "title" .}}{{end}} - +
-
- +
+
+ + + + + + - - - - - -
- -
- -
-
-
-
-

Title

-

- {{ or .Data.Title "N/A" }} -

+ +
+
+ + + +
+
+
+
+
+

Title

+

+ {{ or .Data.Title "N/A" }} +

+
-
-
-
-

Author

-

- {{ or .Data.Author "N/A" }} -

+
+
+

Author

+

+ {{ or .Data.Author "N/A" }} +

+