e132530597
cmd/tailpaste: - better handle the error cases from web cmd/web: - Implement list of pastes - Add contextual navbar for paste list and meta help - Add error page rendering - Add paginated paste listing - Add created_at column - Make paster information less janky on per-paste views Signed-off-by: Xe Iaso <xe@tailscale.com>
13 lines
363 B
Cheetah
13 lines
363 B
Cheetah
{{template "header" .}}
|
|
|
|
<div class="right"><img style="width:32px;height:32px" src="{{.PasterProfilePicURL}}" /></div>
|
|
|
|
<p>Created at {{.CreatedAt}} by {{.PasterDisplayName}}</p>
|
|
|
|
<pre><code>
|
|
{{.Data}}
|
|
</code></pre>
|
|
|
|
<a href="/paste/{{.ID}}">Permalink</a> - <a href="/paste/{{.ID}}/dl">Download</a> - <a href="/paste/{{.ID}}/raw">Raw</a>
|
|
{{template "footer" .}}
|