aboutsummaryrefslogtreecommitdiff
path: root/static/anews.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/anews.html')
-rw-r--r--static/anews.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/static/anews.html b/static/anews.html
index 127760a..08bfdfa 100644
--- a/static/anews.html
+++ b/static/anews.html
@@ -22,16 +22,16 @@
<h1>{{ .Title }}</h1>
<div style="margin-top:50px;">
- <table align="center" style="text-align: left;">
+ <table style="text-align: left;">
{{ range $i, $e := .NewsItems }}
<tr>
<td>
+ <div class="box" style="width:800px; padding: 25px; margin-bottom: 25px;">
{{ if $.Board.ModCred }}<a href="/{{ $.Key }}/newsdelete/{{ $e.Time }}">[Delete] </a>{{end}}
- <a href="/news/{{.Time}}">{{unixtoreadable $e.Time}} - {{$e.Title}}</a>
- {{ if eq $i 0 }}
- <br><p>{{$e.Content}}</p>
- {{ end }}
+ <a href="/news/{{.Time}}">{{unixtoreadable $e.Time}} - {{$e.Title}}</a>
+ <br><p style="margin-left: 25px;">{{$e.Content}}</p>
+ </div>
</td>
</tr>
{{ end }}