diff options
Diffstat (limited to 'static/index.html')
-rw-r--r-- | static/index.html | 20 |
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;"> |