feat(dashboard): updates on the About page and a version badge on the home page

About says what build is running (a release, or a local development or CI
build with its commit, branch and uncommitted changes), the newest release
with its notes, how many commits behind the build is with the compare link,
the last check and any error, and Check now. The home page's Server Status
card shows the build and an Update available badge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 10:47:58 -05:00
parent fcf68639e3
commit d4ab380c83
3 changed files with 91 additions and 3 deletions

View File

@@ -27,10 +27,18 @@
<span class="badge text-bg-danger" id="ugc-status">Offline</span>
{% endif %}
</div>
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-between align-items-center mb-3">
<span>Active Worlds</span>
<span class="badge text-bg-primary" id="world-count">{{ stats.worlds }}</span>
</div>
{# The running build, and whether GitHub has something newer (the About page has the details) #}
<div class="d-flex justify-content-between align-items-center gap-2">
<span>Version</span>
<a href="/about" class="text-decoration-none text-end" title="{{ update.summary }}">
<span class="small text-body-secondary">{{ update.build.label }}</span>
{% if update.updateAvailable %}<span class="badge text-bg-success ms-1">Update available</span>{% endif %}
</a>
</div>
</div>
</div>
</div>