diff options
author | FChannel <> | 2022-06-18 11:48:08 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | f3d1683d6562afb30522afb98fb3a22456473275 (patch) | |
tree | ab05f4c90674c7dfe5d66d2b83e25dfbf33b5bdc /views | |
parent | e13f8001c69375a83efd3ff1bedb367b6851226a (diff) |
fix for report page and archive page formatting
Diffstat (limited to 'views')
-rw-r--r-- | views/archive.html | 4 | ||||
-rw-r--r-- | views/report.html | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/views/archive.html b/views/archive.html index a5184a4..4df3a57 100644 --- a/views/archive.html +++ b/views/archive.html @@ -27,7 +27,7 @@ <td>[<a href="/poparchive?id={{ $e.Id }}&board={{ $board.Name }}">Pop</a>]</td> {{ end }} <td>{{ shortURL $board.Actor.Outbox $e.Id }}</td> - <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td> + <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis; padding-left: 5px;">{{ shortExcerpt $e }}</td> <td style="text-align: center;">[<a href="/{{ $board.Actor.Name }}/{{ shortURL $board.Actor.Outbox $e.Id }}">View</a>]</td> </tr> {{ else }} @@ -36,7 +36,7 @@ <td>[<a href="/poparchive?id={{ $e.Id }}">Pop</a>]</td> {{ end }} <td>{{ shortURL $board.Actor.Outbox $e.Id }}</td> - <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td> + <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis; padding-left: 5px;">{{ shortExcerpt $e }}</td> <td style="text-align: center;">[<a href="/{{ $board.Actor.Name }}/{{ shortURL $board.Actor.Outbox $e.Id }}">View</a>]</td> </tr> {{ end }} diff --git a/views/report.html b/views/report.html index d691349..17f29cf 100644 --- a/views/report.html +++ b/views/report.html @@ -1,4 +1,7 @@ -{{ template "partials/top" .page }} +<div style="max-width: 800px; margin: 0 auto;"> + <h1 style="text-align: center;">/{{ .page.Board.Name }}/ - {{ .page.Board.PrefName }}</h1> + <p style="text-align: center;">{{ .page.Board.Summary }}</p> +</div> <div style="height: 500px; width: 420px; margin: 0 auto; margin-top:75px;"> <a href="{{ .page.Board.Actor.Id }}/{{ shortURL .page.Board.Actor.Outbox .page.Board.InReplyTo }}">[Back]</a> |