mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 22:08:45 +00:00
Added prototype send pleroma emoji reactions via reactions page
This commit is contained in:
parent
80170099f8
commit
9cdac3e623
14 changed files with 5128 additions and 2 deletions
|
@ -1,8 +1,20 @@
|
|||
{{with .Data}}
|
||||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
{{$st_id := .ID}}
|
||||
<div class="scrollable-emoji" style="overflow-y: scroll; height:400px;">
|
||||
<div class="pleroma-reactions">
|
||||
{{range $shortcode, $code := .ReactionEmojis}}
|
||||
<form action="/react-with/{{$st_id}}?emoji={{$code}}" method="post" target="_self" title="{{$shortcode}}">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
||||
<input type="submit" value="{{$code}}" class="pleroma-emoji">
|
||||
</form>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{range .Reactions}}
|
||||
<div class="page-title">{{.Name}}</div>
|
||||
{{template "userlist.tmpl" (WithContext .Accounts $.Ctx)}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue