From f163a242792cd325c9414587d52f3d8584f28df1 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 3 Jan 2025 01:47:07 -0800 Subject: initial commit --- templates/404.html | 7 +++++++ templates/base.html | 34 ++++++++++++++++++++++++++++++++++ templates/base_empty.html | 3 +++ templates/chat.html | 11 +++++++++++ templates/home.html | 8 ++++++++ templates/messages.html | 12 ++++++++++++ 6 files changed, 75 insertions(+) create mode 100644 templates/404.html create mode 100644 templates/base.html create mode 100644 templates/base_empty.html create mode 100644 templates/chat.html create mode 100644 templates/home.html create mode 100644 templates/messages.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..5210bfb --- /dev/null +++ b/templates/404.html @@ -0,0 +1,7 @@ +{{ define "content" }} +

page not found

+

but hey, at least you found our witty 404 page. that's something, right?

+ +

go back home

+ +{{ end }} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..e97e8d2 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,34 @@ +{{ define "base" }} + + + + phoneof simponic. + + + + + + + + + + + + + + + +
+
+

phoneof

+ home. + | + light mode. +
+
+ {{ template "content" . }} +
+ + + +{{ end }} diff --git a/templates/base_empty.html b/templates/base_empty.html new file mode 100644 index 0000000..6191ab9 --- /dev/null +++ b/templates/base_empty.html @@ -0,0 +1,3 @@ +{{ define "base" }} + {{ template "content" . }} +{{ end }} \ No newline at end of file diff --git a/templates/chat.html b/templates/chat.html new file mode 100644 index 0000000..05957bf --- /dev/null +++ b/templates/chat.html @@ -0,0 +1,11 @@ +{{ define "content" }} +
+
+
+
+ + + +
+
+{{ end }} diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..7e8ecb7 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,8 @@ +{{ define "content" }} +

please use this if you know who i am and know how to use this but need to get ahold of me while im away from computers.

+
+ + + +
+{{ end }} diff --git a/templates/messages.html b/templates/messages.html new file mode 100644 index 0000000..e09ac46 --- /dev/null +++ b/templates/messages.html @@ -0,0 +1,12 @@ +{{ define "content" }} +
+ {{ range $message := .Messages }} +
+
+

{{$message.Message}}

+
{{$message.Time.Format "2006-01-02T15:04:05Z07:00"}}
+
+
+ {{ end }} +
+{{ end }} -- cgit v1.2.3-70-g09d2