aboutsummaryrefslogtreecommitdiff
path: root/ui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ui/templates')
-rw-r--r--ui/templates/base.tmpl.html14
-rw-r--r--ui/templates/comments.tmpl.html16
-rw-r--r--ui/templates/messages.tmpl.html9
3 files changed, 0 insertions, 39 deletions
diff --git a/ui/templates/base.tmpl.html b/ui/templates/base.tmpl.html
deleted file mode 100644
index a080925..0000000
--- a/ui/templates/base.tmpl.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{{define "base"}}
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>{{template "title" .}} | newsstand.nyc</title>
- <link rel="stylesheet" href="https://unpkg.com/@blaze/css@x.x.x/dist/blaze/blaze.css">
- <script src="https://unpkg.com/htmx.org@1.9.9" integrity="sha384-QFjmbokDn2DjBjq+fM+8LUIVrAgqcNW2s0PjAxHETgRn9l4fvX31ZxDxvwQnyMOX" crossorigin="anonymous"></script>
-</head>
-<body>
- {{template "messages" .}}
- {{template "main" .}}
-</body>
-</html>
-{{end}}
diff --git a/ui/templates/comments.tmpl.html b/ui/templates/comments.tmpl.html
deleted file mode 100644
index b069bbd..0000000
--- a/ui/templates/comments.tmpl.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{define "comments"}}
-<div id="post-comments">
- {{range $comment := .comments }}
- <span class="comment-author">by <a href="/u/{{$comment.username}}">{{$comment.username}}</a></span>
- <span class="comment-created-at">{{$comment.created_at}}</span>
- <span class="actions">
- <span class="action-flag">Flag</span>
- <span class="action-hide">Hide</span>
- <span class="action-reply">Reply</span>
- </span>
- <div class="c-alert c-alert--info" role="alert">
- {{ $comment.body }}
- </div>
- {{ end }}
-</div>
-{{end}}
diff --git a/ui/templates/messages.tmpl.html b/ui/templates/messages.tmpl.html
deleted file mode 100644
index dd5bfb1..0000000
--- a/ui/templates/messages.tmpl.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{define "messages"}}
-<div id="messages">
- {{ if .message }}
- <div class="c-alert c-alert--info" role="alert">
- {{ .message }}
- </div>
- {{ end }}
-</div>
-{{end}}