add: littleweb full

This commit is contained in:
trisua 2025-07-08 13:35:23 -04:00
parent 3fc0872867
commit d67e7c9c33
32 changed files with 1699 additions and 71 deletions

View file

@ -94,6 +94,8 @@
atto[\"hooks::spotify_time_text\"](); // spotify durations
atto[\"hooks::verify_emoji\"]();
fix_atto_links();
if (document.getElementById(\"tokens\")) {
trigger(\"me::render_token_picker\", [
document.getElementById(\"tokens\"),
@ -163,6 +165,40 @@
(icon (text "x"))
(str (text "dialog:action.cancel"))))))
(dialog
("id" "littleweb")
(div
("class" "inner flex flex-col gap-2")
(a
("class" "button w-full lowered justify-start")
("href" "/net")
(icon (text "globe"))
(str (text "littleweb:label.browser")))
(a
("class" "button w-full lowered justify-start")
("href" "/services")
(icon (text "panel-top"))
(str (text "littleweb:label.my_services")))
(a
("class" "button w-full lowered justify-start")
("href" "/domains")
(icon (text "panel-top"))
(str (text "littleweb:label.my_domains")))
(hr ("class" "margin"))
(div
("class" "flex gap-2 justify-between")
(div null?)
(button
("class" "lowered red")
("type" "button")
("onclick", "document.getElementById('littleweb').close()")
(icon (text "x"))
(str (text "dialog:action.cancel"))))))
(dialog
("id" "web_api_prompt")
(div