summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-14 21:24:54 -0700
committerMike Crute <mike@crute.us>2023-08-14 21:24:54 -0700
commit0b12194c52d0af5eb5339cb96905d86d175d6a12 (patch)
tree573ddd5c61899ae12d829465d4cf262843a24a03 /templates
parent746e5d91e7c23fe702040cfb5b10b60d7537dbfa (diff)
downloadwebsocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.tar.bz2
websocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.tar.xz
websocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.zip
Support indexing clients
Diffstat (limited to 'templates')
-rw-r--r--templates/client_index.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/client_index.tpl b/templates/client_index.tpl
new file mode 100644
index 0000000..0223de9
--- /dev/null
+++ b/templates/client_index.tpl
@@ -0,0 +1,9 @@
1<html>
2<head><title>Index of /clients/</title></head>
3<body>
4<h1>Index of /clients/</h1><hr><pre>
5{{- range .Models }}
6<a href="{{ .Filename }}">{{ .Filename }}</a> {{ .LastModified }} {{ .ByteSize }}
7{{- end -}}
8</pre><hr></body>
9</html>