From 2b2e511a15414f6c28f15990b75442424f9cc3b9 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 31 May 2026 11:29:58 -0400 Subject: refactor: initial hardening tweaks store images in localStorage --- src/templates/index.html | 27 ++++----------------------- src/templates/partials/upload_error.html | 4 ---- src/templates/partials/upload_result.html | 12 ------------ 3 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 src/templates/partials/upload_error.html delete mode 100644 src/templates/partials/upload_result.html (limited to 'src/templates') diff --git a/src/templates/index.html b/src/templates/index.html index 194a2af..3af58ad 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -7,17 +7,6 @@ likha-pdf - - @@ -25,7 +14,7 @@

likha-pdf

simple markdown to pdf export.

-
+ @@ -34,19 +23,11 @@
- - - uploading… + +
-
-

or upload a markdown file

- - -
-

pdf options

@@ -133,7 +114,7 @@
- converting… +
diff --git a/src/templates/partials/upload_error.html b/src/templates/partials/upload_error.html deleted file mode 100644 index d219783..0000000 --- a/src/templates/partials/upload_error.html +++ /dev/null @@ -1,4 +0,0 @@ -
-

upload failed

-
{{ message }}
-
diff --git a/src/templates/partials/upload_result.html b/src/templates/partials/upload_result.html deleted file mode 100644 index 116c74c..0000000 --- a/src/templates/partials/upload_result.html +++ /dev/null @@ -1,12 +0,0 @@ -
-

image uploaded

-

{{ filename }}

-

{{ markdown_snippet }}

- -
-- cgit v1.2.3