aboutsummaryrefslogtreecommitdiff
path: root/static/manage.html
diff options
context:
space:
mode:
authoranomalous69 <81135357+anomalous69@users.noreply.github.com>2021-10-12 17:02:27 +1300
committerFChannel <>2022-06-19 12:53:29 -0700
commit65e79e6a743f447f320595dafec530212a568b9d (patch)
tree2a48657731b3be3a64e6e5c7f50a59e83dd42aca /static/manage.html
parentaa4ee29c36ebb876afafc9aaf4803cd052206585 (diff)
Move square brackets out of <a>v0.0.16
Diffstat (limited to 'static/manage.html')
-rw-r--r--static/manage.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/static/manage.html b/static/manage.html
index dc25468..c3d818c 100644
--- a/static/manage.html
+++ b/static/manage.html
@@ -9,20 +9,20 @@
<!-- <div><a href="/{{ .Key }}/deleteboard?name={{ .Board.Name }}">[Delete Board]</a></div> -->
<ul style="display: inline-block; padding: 0;">
{{ if .IsLocal }}
- <li style="display: inline-block;"><a href="#following">[ Subscribed ]</a></li>
- <li style="display: inline-block;"><a href="#followers">[ Subscribers ]</a></li>
+ <li style="display: inline-block;">[<a href="#following"> Subscribed </a>]</li>
+ <li style="display: inline-block;">[<a href="#followers"> Subscribers </a>]</li>
{{ end }}
- <li style="display: inline-block;"><a href="#reported">[ Reported ]</a></li>
+ <li style="display: inline-block;">[<a href="#reported"> Reported </a>]</li>
</ul>
</div>
-<a href="/{{ .Board.Name }}">[Return]</a>
+[<a href="/{{ .Board.Name }}">Return</a>]
{{ $actor := .Board.Actor.Id }}
{{ $board := .Board }}
{{ $key := .Key }}
{{ if .IsLocal }}
<div id="following" class="box2" style="margin-bottom: 25px; margin-top: 5px; padding: 12px;">
<h4 style="margin: 0; margin-bottom: 5px;">Following</h4>
- {{ if .AutoSubscribe }}<a title="Auto Follow is On" href="/autosubscribe?board={{ .Board.Name }}">[Toggle Auto Follow Off]{{ else }}<a title="Auto Follow is Off" href="/autosubscribe?board={{ .Board.Name }}">[Toggle Auto Follow On]{{ end }}</a>
+ [{{ if .AutoSubscribe }}<a title="Auto Follow is On" href="/autosubscribe?board={{ .Board.Name }}">Toggle Auto Follow Off{{ else }}<a title="Auto Follow is Off" href="/autosubscribe?board={{ .Board.Name }}">Toggle Auto Follow On{{ end }}</a>]
<form id="follow-form" action="/{{ .Key }}/{{ .Board.Name }}/follow" method="post" enctype="application/x-www-form-urlencoded" style="margin-top: 5px;">
<input id="follow" name="follow" style="margin-bottom: 5px;" size="35" placeholder="https://fchan.xyz/g"></input>
<input type="submit" value="Follow"><br>
@@ -31,7 +31,7 @@
<div style="margin-bottom: 12px; color: grey;">also https://fchan.xyz/g/following or https://fchan.xyz/g/followers</div>
<ul style="display: inline-block; padding: 0; margin: 0; list-style-type: none;">
{{ range .Following }}
- <li><a href="/{{ $key }}/{{ $board.Name }}/follow?follow={{ . }}&actor={{ $actor }}">[Unsubscribe]</a><a href="{{ . }}">{{ . }}</a></li>
+ <li>[<a href="/{{ $key }}/{{ $board.Name }}/follow?follow={{ . }}&actor={{ $actor }}">Unsubscribe</a>]<a href="{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
</div>
@@ -51,7 +51,7 @@
<ul style="display: inline-block; padding: 0; margin: 0; list-style-type: none;">
{{ $domain := .Domain }}
{{ range .Reported }}
- <li><a id="rpost" post="{{ .ID }}" href=""></a> - <b>{{ .Count }}</b><span> "{{ .Reason }}" </span> <a href="/delete?id={{ .ID }}&board={{ $board.Name }}&manage=t">[Remove Post]</a> <a href="/deleteattach?id={{ .ID }}&board={{ $board.Name }}&manage=t">[Remove Attachment]</a> <a href="/report?id={{ .ID }}&close=1&board={{ $board.Name }}">[Close]</a></li>
+ <li><a id="rpost" post="{{ .ID }}" href=""></a> - <b>{{ .Count }}</b><span> "{{ .Reason }}" </span> [<a href="/delete?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Post</a>] [<a href="/deleteattach?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Attachment</a>] [<a href="/report?id={{ .ID }}&close=1&board={{ $board.Name }}">Close</a>]</li>
{{ end }}
</ul>
</div>