diff options
author | knotteye <knotteye@airmail.cc> | 2021-07-01 17:56:04 -0500 |
---|---|---|
committer | knotteye <knotteye@airmail.cc> | 2021-07-01 17:56:04 -0500 |
commit | 4e3848cadbb3fd89b94a7ef24838173939d198db (patch) | |
tree | 06ea5434986b2b9c00e392a7d44b93d7eae23668 /static/index.html | |
parent | 638a03b458b71564b1db439e6386d7dbf2a5181c (diff) |
Add a list of local boards and server news
Diffstat (limited to 'static/index.html')
-rw-r--r-- | static/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html index 19c5da2..de06c6c 100644 --- a/static/index.html +++ b/static/index.html @@ -25,6 +25,34 @@ <div style="margin-top:50px;"> <table align="center" style="text-align: left;"> <th> + <tr>Local boards</tr> + </th> + + {{ range .Boards }} + <tr> + <td><a href="{{.Location}}">{{.Name}} - {{.PrefName}}</a></td> + </tr> + {{ end }} + </table> + </div> + + <div style="margin-top:50px;"> + <table align="center" style="text-align: left;"> + <th> + <tr>{{ .PreferredUsername }} news</tr> + </th> + + {{ range .NewsItems }} + <tr> + <td><p><em><b>{{.Time}} - {{.Title}}</b></em><br>{{.Content}}</p></td> + </tr> + {{ end }} + </table> + </div> + + <div style="margin-top:50px;"> + <table align="center" style="text-align: left;"> + <th> <tr>Current known instances</tr> </th> |