aboutsummaryrefslogtreecommitdiff
path: root/templates/usersearch.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/usersearch.tmpl')
-rw-r--r--templates/usersearch.tmpl21
1 files changed, 11 insertions, 10 deletions
diff --git a/templates/usersearch.tmpl b/templates/usersearch.tmpl
index 78fa7b8..5011b99 100644
--- a/templates/usersearch.tmpl
+++ b/templates/usersearch.tmpl
@@ -1,26 +1,27 @@
{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
-<div class="page-title"> Search {{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}}'s statuses </div>
+<h1>Search {{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}} @{{.User.Acct}}'s statuses</h1>
-<form class="search-form" action="/usersearch/{{.User.ID}}" method="GET">
- <span class="post-form-field">
- <label for="query"> Query </label>
- <input id="query" name="q" value="{{.Q}}">
- </span>
- <button type="submit"> Search </button>
+<form action="/usersearch/{{.User.ID}}" method="GET">
+ <p>
+ <label>
+ Query <input type="text" name="q" value="{{.Q}}">
+ </label>
+ <button type="submit"> Search </button>
+ </p>
</form>
{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{else}}
-{{if .Q}}<div class="no-data-found">No data found</div>{{end}}
+{{if .Q}}<p>No data found</p>{{end}}
{{end}}
-<div class="pagination">
+<nav class="pagination">
{{if .NextLink}}
<a href="{{.NextLink}}">[next]</a>
{{end}}
-</div>
+</nav>
{{template "footer.tmpl"}}
{{end}}