From e5809dc6d1c9f49da95c6ad5ef989293d03587c3 Mon Sep 17 00:00:00 2001 From: Sergio Vera Date: Mon, 23 Dec 2024 15:39:46 +0100 Subject: [PATCH] Streamline adjustments --- .../webserver/embedded/images/eye-solid.svg | 2 +- .../embedded/views/partials/actions.html | 52 +++++++++---------- .../embedded/views/partials/cover.html | 2 +- .../views/partials/delete-button.html | 2 +- .../embedded/views/partials/docs-list.html | 8 +-- .../views/partials/highlight-toggle.html | 6 +-- .../views/partials/latest-highlights.html | 2 +- 7 files changed, 38 insertions(+), 36 deletions(-) diff --git a/internal/webserver/embedded/images/eye-solid.svg b/internal/webserver/embedded/images/eye-solid.svg index 787eaa8..9aba237 100644 --- a/internal/webserver/embedded/images/eye-solid.svg +++ b/internal/webserver/embedded/images/eye-solid.svg @@ -1,4 +1,4 @@ - + diff --git a/internal/webserver/embedded/views/partials/actions.html b/internal/webserver/embedded/views/partials/actions.html index f338d81..f931f89 100644 --- a/internal/webserver/embedded/views/partials/actions.html +++ b/internal/webserver/embedded/views/partials/actions.html @@ -1,30 +1,30 @@ -
+
{{if eq .Document.Format "EPUB"}} -
- - - -
+
+ + + +
{{else}} -
diff --git a/internal/webserver/embedded/views/partials/delete-button.html b/internal/webserver/embedded/views/partials/delete-button.html index 1195952..446f3a0 100644 --- a/internal/webserver/embedded/views/partials/delete-button.html +++ b/internal/webserver/embedded/views/partials/delete-button.html @@ -1,4 +1,4 @@ -