mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
improved system info even more
This commit is contained in:
@@ -19,30 +19,32 @@
|
||||
|
||||
<h3 class="mt-5">{% trans 'System Information' %}</h3>
|
||||
|
||||
<span class="mt-3">
|
||||
Current Version: {% if version and version != '' %}
|
||||
<a href="https://github.com/vabene1111/recipes/releases/tag/{{ version }}">{{ version }}</a>{% else %}
|
||||
{{ version }}{% endif %}<br/>
|
||||
</span>
|
||||
<div class="row">
|
||||
<div class="col col-md-6">
|
||||
<div class="list-group">
|
||||
{% for v in version_info %}
|
||||
<div class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
{% if v.website %}
|
||||
<a href="{{ v.website }}" target="_blank"><h5 class="mb-1">{{ v.name }}</h5></a>
|
||||
{% else %}
|
||||
<h5 class="mb-1">{{ v.name }}</h5>
|
||||
{% endif %}
|
||||
{% if v.commit_link %}
|
||||
<a href="{{ v.commit_link }}" target="_blank">Commit</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<pre class="card-text">{{ v.version }}</pre>
|
||||
|
||||
<div class="list-group">
|
||||
{% for v in version_info %}
|
||||
<div class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
{% if v.website %}
|
||||
<a href="{{ v.website }}" target="_blank"><h5 class="mb-1">{{ v.name }}</h5></a>
|
||||
{% else %}
|
||||
<h5 class="mb-1">{{ v.name }}</h5>
|
||||
{% endif %}
|
||||
</div>
|
||||
<pre class="card-text">{{ v.version }}</pre>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h4 class="mt-3">{% trans 'Media Serving' %} <span class="badge badge-{% if gunicorn_media %}danger{% else %}success{% endif %}">{% if gunicorn_media %}
|
||||
{% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}</span></h4>
|
||||
{% if gunicorn_media %}
|
||||
|
||||
Reference in New Issue
Block a user