diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 01:47:07 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 01:47:07 -0800 |
commit | f163a242792cd325c9414587d52f3d8584f28df1 (patch) | |
tree | b57ad121cc3f4ffc2bc55f4d63bfaaf6026dd239 /templates/messages.html | |
download | phoneof-f163a242792cd325c9414587d52f3d8584f28df1.tar.gz phoneof-f163a242792cd325c9414587d52f3d8584f28df1.zip |
initial commit
Diffstat (limited to 'templates/messages.html')
-rw-r--r-- | templates/messages.html | 12 |
1 files changed, 12 insertions, 0 deletions
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" }} +<div id="chat-container" class="chat-container"> + {{ range $message := .Messages }} + <div class="message {{if $message.FrenSent}}fren{{end}}"> + <div class="message-text {{if $message.FrenSent}}fren{{end}}"> + <p>{{$message.Message}}</p> + <div class="time timestamp">{{$message.Time.Format "2006-01-02T15:04:05Z07:00"}}</div> + </div> + </div> + {{ end }} +</div> +{{ end }} |