diff options
author | FChannel <> | 2021-07-03 18:39:34 -0700 |
---|---|---|
committer | FChannel <> | 2021-07-03 18:39:34 -0700 |
commit | cf86acee94652ac7cd8e8f313e6abf6c9901c398 (patch) | |
tree | e8e9d1157e2d64eb8d8f3baa1f8694bd3e7e108d /static/anews.html | |
parent | ab6edbbe8044d5a3c7d9456bd15e3a74af35111a (diff) |
add some styling to news pull request
Diffstat (limited to 'static/anews.html')
-rw-r--r-- | static/anews.html | 10 |
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 }} |