diff --git a/src/views/_layout.html b/src/views/_layout.html index a214550..2bb4046 100644 --- a/src/views/_layout.html +++ b/src/views/_layout.html @@ -1,7 +1,8 @@ - +
logsmoe(1) logs.moe logsmoe(1)
+logsmoe(1) logs.moe logsmoe(1)
NAME
share secure logs from the command line
SYNOPSIS
$ curl <%- BASE_URL %> --data-binary 'hello world'
- you can also paste or drag content on this page
+ you can also paste or drag files to this page
DESCRIPTION
- works better with text content
+ works better with text
limited to 20MiB
- everything encrypted
- decryption on browser
- no data collected
+ everything are encrypted
+ decryption only on browser
+ no data or logs are collected
EXAMPLES
$ curl <%- BASE_URL %> --data-binary @debug.log
@@ -25,5 +25,6 @@ EXAMPLES
SEE ALSO
https://github.com/fabricionaweb/logs.moe
+
diff --git a/src/views/view.html b/src/views/view.html
index c6c7f87..d58559f 100644
--- a/src/views/view.html
+++ b/src/views/view.html
@@ -1,2 +1,3 @@
+
still working ⏳
diff --git a/static/styles.css b/static/styles.css
index 0b62cb9..439354b 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -32,13 +32,15 @@ samp {
font: 100 0.8125rem/1.25rem "JetBrains Mono", monospace;
}
-code {
+code,
+noscript {
display: block;
padding: 1em;
overflow-x: auto;
}
pre {
+ /* to position line numbers */
position: relative;
}
@@ -65,6 +67,11 @@ video {
max-height: 100dvh;
}
+/* noscript hides loading */
+noscript + pre {
+ display: none;
+}
+
/* throttle loading */
.loading {
animation: 2.5s step-end fadeIn;
diff --git a/static/view.mjs b/static/view.mjs
index 6e32f24..9ebdce8 100644
--- a/static/view.mjs
+++ b/static/view.mjs
@@ -71,6 +71,9 @@ const selectLines = (preElement) => {
};
addEventListener("DOMContentLoaded", async () => {
+ // delete noscript tag
+ document.querySelector("noscript").remove();
+
const { uuid, k, forcedLanguage } = parseUrl();
const preElement = document.createElement("pre");
let childElement = document.createElement("code");