mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-10-30 03:50:34 +00:00
1d61f1aa27
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
36 lines
1.2 KiB
Cheetah
36 lines
1.2 KiB
Cheetah
{{with .Data}}
|
|
<div>
|
|
{{range .}}
|
|
<div class="user-list-item">
|
|
<div class="user-list-profile-img">
|
|
<a class="img-link" href="/user/{{.ID}}">
|
|
<img class="status-profile-img" src="{{.Avatar}}" title="@{{.Acct}}" alt="@{{.Acct}}" height="48">
|
|
</a>
|
|
</div>
|
|
<div class="user-list-name">
|
|
<bdi class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</bdi>
|
|
<br>
|
|
<a class="img-link" href="/user/{{.ID}}"> <div class="status-uname">{{.Acct}}</div> </a>
|
|
<div class="follow-request-actions">
|
|
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
|
|
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
|
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
|
<input type="submit" value="accept" class="btn-link">
|
|
</form>
|
|
-
|
|
<form class="d-inline" action="/reject/{{.ID}}" method="post" target="_self">
|
|
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
|
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
|
<input type="submit" value="reject" class="btn-link">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br class="hidden">
|
|
{{else}}
|
|
<p>No data found</p>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<p>No data found</p>
|
|
{{end}}
|