bloat/templates/usersearch.tmpl

25 lines
639 B
Cheetah
Raw Normal View History

2020-01-30 15:32:37 +00:00
{{with .Data}}
2020-02-18 22:15:37 +00:00
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
2020-01-30 15:32:37 +00:00
<div class="page-title"> Search {{EmojiFilter .User.DisplayName .User.Emojis}}'s statuses </div>
<form class="search-form" action="/usersearch/{{.User.ID}}" method="GET">
<span class="post-form-field>
<label for="query"> Query </label>
2020-05-29 10:41:59 +00:00
<input id="query" name="q" value="{{.Q | HTMLEscape}}">
2020-01-30 15:32:37 +00:00
</span>
<button type="submit"> Search </button>
</form>
{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{end}}
<div class="pagination">
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
{{template "footer.tmpl"}}
{{end}}