~jadedctrl/jam-xwx-moe

~jadedctrl/jam-xwx-moe/bloat-fe/instance/ŝablonoj/requestlist.tmpl
 ..
0 {{with .Data}}
1 <div>
2 {{range .}}
3 <div class="user-list-item">
4 <div class="user-list-profile-img">
5 <a class="img-link" href="/user/{{.ID}}">
6 <img class="status-profile-img" src="{{.Avatar}}" title="@{{.Acct}}" alt="avatar" height="48" />
7 </a>
8 </div>
9 <div class="user-list-name">
10 <div>
11 <div class="status-dname"> {{EmojiFilter (HTML .DisplayName) .Emojis | Raw}} </div>
12 <a class="img-link" href="/user/{{.ID}}">
13 <div class="status-uname"> @{{.Acct}} </div>
14 </a>
15 </div>
16 <form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
17 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
18 <input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
19 <input type="submit" value="accept" class="btn-link">
20 </form>
21 -
22 <form class="d-inline" action="/reject/{{.ID}}" method="post" target="_self">
23 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
24 <input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
25 <input type="submit" value="reject" class="btn-link">
26 </form>
27 </div>
28 </div>
29 {{else}}
30 <div class="no-data-found">Neniu datumo trovita</div>
31 {{end}}
32 </div>
33 {{else}}
34 <div class="no-data-found">Neniu datumo trovita</div>
35 {{end}}