summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/unicode/index.html19
-rwxr-xr-xwebserver.js4
2 files changed, 11 insertions, 12 deletions
diff --git a/modules/unicode/index.html b/modules/unicode/index.html
index fb46ba2..25eba88 100644
--- a/modules/unicode/index.html
+++ b/modules/unicode/index.html
@@ -24,10 +24,14 @@ body {
.table > div > span.space-spacer {
width: 1em;
}
-/* .table {
- max-height: 300px;
- overflow-y: scroll;
-} */
+h3.table {
+ display: inline-block;
+ margin: 10px 0 10px 0;
+ user-select: none;
+}
+details {
+ margin-top: 15px;
+}
.invisible {
display: none;
}
@@ -206,10 +210,9 @@ window.addEventListener("load", function() {
</div>
</div>
- <h3>Codepoints <span id="codepoints_num"></span></h3>
- <div id="codepoints" class="table"></div>
+ <details open><summary><h3 class="table">Codepoints <span id="codepoints_num"></span></h3></summary><div id="codepoints" class="table"></div></details>
- <h3>Found in descriptions <span id="search_num"></span></h3>
- <div id="search" class="table"></div>
+ <details open><summary><h3 class="table">Found in descriptions <span id="search_num"></span></h3></summary><div id="search" class="table"></div></details>
</body>
</html>
+<!-- vim: set sw=4 ts=4 noet: -->
diff --git a/webserver.js b/webserver.js
index a6d9c6f..40b7e28 100755
--- a/webserver.js
+++ b/webserver.js
@@ -319,10 +319,6 @@ app.get("/google*.html", function (req, res) {
});
});
-app.get("/dr", function (req, res) {
- res.sendFile(cmn.webfilesdir + "/duckroll.html");
-});
-
app.get(["/gpg", "/pgp", "/gpg.asc", "/pgp.asc"], function (req, res) {
res.type("text/plain");
res.sendFile(cmn.webfilesdir + "/pgp.asc");