aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/partials
diff options
context:
space:
mode:
authorkj_sh6042026-05-31 11:29:58 -0400
committerkj_sh6042026-05-31 11:29:58 -0400
commit2b2e511a15414f6c28f15990b75442424f9cc3b9 (patch)
tree99a6cc4ad40dd2309bb4a0b2c875e1719dbfe449 /src/templates/partials
parent4626e9f40c4678622ef53cc0d9d3fa89768c08f0 (diff)
refactor: initial hardening tweaks
store images in localStorage
Diffstat (limited to 'src/templates/partials')
-rw-r--r--src/templates/partials/upload_error.html4
-rw-r--r--src/templates/partials/upload_result.html12
2 files changed, 0 insertions, 16 deletions
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 @@
-<article>
- <h4>upload failed</h4>
- <pre>{{ message }}</pre>
-</article>
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 @@
-<article>
- <h4>image uploaded</h4>
- <p><a href="{{ preview_url }}" target="_blank" rel="noreferrer">{{ filename }}</a></p>
- <p><code id="uploaded-markdown">{{ markdown_snippet }}</code></p>
- <button
- type="button"
- data-insert-markdown="{{ markdown_snippet }}"
- class="insert-markdown"
- >
- insert into markdown
- </button>
-</article>