diff options
author | FChannel <> | 2021-08-01 18:35:00 -0700 |
---|---|---|
committer | FChannel <> | 2021-08-01 18:35:00 -0700 |
commit | 4450e8da252137b68f067dbc9cfaa5745a8804c5 (patch) | |
tree | 0759a113986b9adddbe4b1cab6e98a50cf5e13ef /static | |
parent | ca7a516f878bba8ab62ffda596ba603b26250917 (diff) |
fix inactive instance check and archive bug
Diffstat (limited to 'static')
-rw-r--r-- | static/archive.html | 12 | ||||
-rw-r--r-- | static/faq.html | 2 | ||||
-rw-r--r-- | static/npost.html | 1 |
3 files changed, 8 insertions, 7 deletions
diff --git a/static/archive.html b/static/archive.html index aa37c94..b08693a 100644 --- a/static/archive.html +++ b/static/archive.html @@ -37,14 +37,14 @@ </ul> <hr> -<table align="center" style="width: 900px;"> +<table align="center" style="table-layout:fixed; width:90%;"> <tr> {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - <td></td> + <th style="width: 45px;"></th> {{ end }} - <th style="width: 100px">No.</th> + <th style="width: 110px">No.</th> <th>Excerpt</th> - <th style="width: 100px;"></th> + <th style="width: 60px;"></th> </tr> {{ range $i, $e := .Posts }} {{ if mod $i 2 }} @@ -53,7 +53,7 @@ <td><a href="/poparchive?id={{ $e.Id }}&board={{ $board.Name }}">[Pop]</a></td> {{ end }} <td>{{ short $board.Actor.Outbox $e.Id }}</td> - <td>{{ shortExcerpt $e }}</td> + <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td> <td style="text-align: center;"><a href="/{{ $board.Actor.Name }}/{{ short $board.Actor.Outbox $e.Id }}">[View]</a></td> </tr> {{ else }} @@ -62,7 +62,7 @@ <td><a href="/poparchive?id={{ $e.Id }}">[Pop]</a></td> {{ end }} <td>{{ short $board.Actor.Outbox $e.Id }}</td> - <td>{{ shortExcerpt $e }}</td> + <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td> <td style="text-align: center;"><a href="/{{ $board.Actor.Name }}/{{ short $board.Actor.Outbox $e.Id }}">[View]</a></td> </tr> {{ end }} diff --git a/static/faq.html b/static/faq.html index f4fb237..b9c6085 100644 --- a/static/faq.html +++ b/static/faq.html @@ -56,7 +56,7 @@ <p>Soon™.</p> <h4 id="version">What version is this FChannel instance?</h4> - <p>v0.0.14-release</p> + <p>v0.0.14-dev</p> </div> <div style="width: 500px; margin:0 auto; margin-top: 50px; text-align: center;"> <a href="/">[Home]</a><a href="/static/rules.html">[Rules]</a><a href="/static/faq.html">[FAQ]</a> diff --git a/static/npost.html b/static/npost.html index b0f89e6..2f0778f 100644 --- a/static/npost.html +++ b/static/npost.html @@ -50,6 +50,7 @@ {{ end }} {{ define "script" }} +<script src="/static/js/posts.js"></script> <script src="/static/js/footerscript.js"></script> <script src="/static/js/timer.js"></script> {{ end }} |