From fb653292612eddca5b088ed88466c546d1597107 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sat, 20 Jun 2026 09:40:07 -0700 Subject: Initial commit --- templates/404.html | 4 +++ templates/base.html | 46 +++++++++++++++++++++++++++++++++ templates/base_empty.html | 3 +++ templates/canvas.html | 22 ++++++++++++++++ templates/home.html | 53 +++++++++++++++++++++++++++++++++++++ templates/portal.html | 66 +++++++++++++++++++++++++++++++++++++++++++++++ templates/profile.html | 8 ++++++ templates/waddlers.html | 3 +++ 8 files changed, 205 insertions(+) create mode 100644 templates/404.html create mode 100644 templates/base.html create mode 100644 templates/base_empty.html create mode 100644 templates/canvas.html create mode 100644 templates/home.html create mode 100644 templates/portal.html create mode 100644 templates/profile.html create mode 100644 templates/waddlers.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..e4bb5e2 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,4 @@ +{{ define "content" }} +

404 — lost on the ice

+

this page waddled off somewhere. head back home.

+{{ end }} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..3a9f582 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,46 @@ +{{ define "base" }} + + + + penguins.lan~ + + + + + + +
+
+

~penguins.lan

+ +
+
+ +
+ {{ if and .Success (gt (len .Success.Messages) 0) }} + {{ range $message := .Success.Messages }} +
{{ $message }}
+ {{ end }} + {{ end }} + {{ if and .Error (gt (len .Error.Messages) 0) }} + {{ range $error := .Error.Messages }} +
{{ $error }}
+ {{ end }} + {{ end }} + + {{ template "content" . }} +
+
+ + +{{ end }} diff --git a/templates/base_empty.html b/templates/base_empty.html new file mode 100644 index 0000000..adda790 --- /dev/null +++ b/templates/base_empty.html @@ -0,0 +1,3 @@ +{{ define "base" }} + {{ template "content" . }} +{{ end }} diff --git a/templates/canvas.html b/templates/canvas.html new file mode 100644 index 0000000..84e964d --- /dev/null +++ b/templates/canvas.html @@ -0,0 +1,22 @@ +{{ define "content" }} +

~place

+

{{ .Canvas.Rows }}×{{ .Canvas.Cols }}, one pixel at a time. pick a color, click a cell. be nice to your fellow waddlers <3

+ +
+ +
+ +
+

+ + + +{{ end }} diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..aeb2739 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,53 @@ +{{ define "content" }} +

~welcome

+ +

hey there penguin! or, {{ .User.Username }}, i guess.

+

this network does not have access to the outside internet. everything runs off of this battery, phone, and mini AP; i carry it around sometimes.

+ +
+ +
+ +

wanna fuck up this website? the code is available to you to fuck up. go crazy (put in a reverse shell if you want for all i care), but please be courteous <3.

+
+git clone you@penguins.lan:~/penguins.lan
+cd penguins.lan
+vim templates/home.html
+git add . && git commit -m "HAHAHA"
+git push
+
+ +* LONG LIVE THE MARQUEE TAG * THEY CAN'T TAKE IT FROM US * + +
+ +

~waddlers

+

+ chatting + online + offline +

+ + + +
+ +
+ + +
+ +
+ +

~minecraft

+

java edition — join penguins.lan

+

checking…

+ + + + +{{ end }} diff --git a/templates/portal.html b/templates/portal.html new file mode 100644 index 0000000..a2959f1 --- /dev/null +++ b/templates/portal.html @@ -0,0 +1,66 @@ +{{ define "content" }} +

welcome to ~penguins.lan

+ +{{ with .Portal }} + {{ if .Taken }} +
+
+

{{ .RequestedName }} is already taken, last seen {{ .LastSeen }}. is that you?

+ + + +
+
+ {{ end }} +
+
+ + + +
+ + {{ if .DetectedMAC }} +

this device: {{ .DetectedMAC }}.

+ {{ end }} +{{ end }} +{{ end }} + + \ No newline at end of file diff --git a/templates/profile.html b/templates/profile.html new file mode 100644 index 0000000..f0f93d9 --- /dev/null +++ b/templates/profile.html @@ -0,0 +1,8 @@ +hellow +{{ define "content" }} +
+ + + +
+{{ end }} \ No newline at end of file diff --git a/templates/waddlers.html b/templates/waddlers.html new file mode 100644 index 0000000..69d70bd --- /dev/null +++ b/templates/waddlers.html @@ -0,0 +1,3 @@ +{{ range .Users }} +
  • {{ .Username }} — last seen {{ .LastSeen }}
  • +{{ end }} \ No newline at end of file -- cgit v1.3