mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-02 18:07:14 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user