aboutsummaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-19 12:55:02 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-19 12:55:02 -0300
commitbc0c2f99fd41da73b5f47b94d4635ece378620e0 (patch)
tree576cb75c76e22f40fcb24a922218cf8024f67352 /static/index.html
parentafa9e221d07ac0e246daadef33e911bc86fd74eb (diff)
theme news, fix mod page
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/static/index.html b/static/index.html
index 4b175f6..96edb23 100644
--- a/static/index.html
+++ b/static/index.html
@@ -46,24 +46,22 @@
{{ end }}
{{ if .NewsItems }}
- <div style="margin-top:50px;">
- <table style="text-align: left; margin: 25px;">
- <th>
- <tr><h4><a href="/news">{{ .PreferredUsername }} News</a></h4></tr>
- </th>
+ <div class="newsbox" style="margin-top:50px;">
+ <h2><a href="/news">{{ .PreferredUsername }} News</a></h2>
{{ range $i, $e := .NewsItems }}
- <tr>
- <td>{{ if $.Board.ModCred }}<a href="/{{ $.Key }}/newsdelete/{{ $e.Time }}">[Delete] </a>{{end}}
- <a href="/news/{{.Time}}">{{unixtoreadable $e.Time}} - {{$e.Title}}</a>
- <br><p style="margin-left: 25px;">{{$e.Content}}</p>
+ <div class="newsbox-news">
+ <h3><a href="/news/{{.Time}}">{{unixtoreadable $e.Time}} - {{$e.Title}}</a>{{ if $.Board.ModCred }} <a href="/{{ $.Key }}/newsdelete/{{ $e.Time }}">[Delete] </a>{{end}}</h3>
+ <br>
+
+ <p>{{$e.Content}}</p>
</td>
- </tr>
+ </div>
{{ end }}
</table>
</div>
{{ end }}
- <div style="margin-top:50px;">
+ <div class="box2" style="margin-top:50px;">
<h4 style="margin-bottom:5px;">Current known instances</h4>
<span>(always use a proxy)</span>
<table style="text-align: left; margin: 25px;">