mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
new version script
This commit is contained in:
@@ -18,32 +18,30 @@
|
||||
{% endblocktrans %}
|
||||
|
||||
<h3 class="mt-5">{% trans 'System Information' %}</h3>
|
||||
|
||||
<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 version_if %}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<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">
|
||||
<h5 class="mb-1">{{ v.name }} ({{ v.branch }}) {% if v.tag %}- {{ v.tag }}{% endif %}</h5>
|
||||
</div>
|
||||
<pre class="card-text p-2" style="border: 1px solid lightgrey; border-radius: 5px" target="_blank">{{ v.version }}</pre>
|
||||
<a href="{{ v.website }}">Website</a>
|
||||
{% if v.commit_link %}
|
||||
<a href="{{ v.commit_link }}" target="_blank">Commit</a>
|
||||
- <a href="{{ v.commit_link }}" target="_blank">Commit</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<pre class="card-text">{{ v.version }}</pre>
|
||||
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% else %}
|
||||
{% blocktrans %}
|
||||
You need to execute <code>version.py</code> in your update script to generate version information (done automatically in docker).
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
|
||||
<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>
|
||||
@@ -56,10 +54,9 @@
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<h4>{% trans 'Secret Key' %} <span
|
||||
|
||||
<h4 class="mt-3">{% trans 'Secret Key' %} <span
|
||||
class="badge badge-{% if secret_key %}danger{% else %}success{% endif %}">{% if secret_key %}
|
||||
{% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}</span></h4>
|
||||
{% if secret_key %}
|
||||
@@ -72,10 +69,8 @@
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<h4>{% trans 'Debug Mode' %} <span
|
||||
<h4 class="mt-3">{% trans 'Debug Mode' %} <span
|
||||
class="badge badge-{% if debug %}danger{% else %}success{% endif %}">{% if debug %}
|
||||
{% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}</span></h4>
|
||||
{% if debug %}
|
||||
@@ -87,10 +82,8 @@
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<h4>{% trans 'Database' %} <span
|
||||
<h4 class="mt-3">{% trans 'Database' %} <span
|
||||
class="badge badge-{% if postgres %}warning{% else %}success{% endif %}">{% if postgres %}
|
||||
{% trans 'Info' %}{% else %}{% trans 'Ok' %}{% endif %}</span></h4>
|
||||
{% if postgres %}
|
||||
@@ -101,12 +94,6 @@
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
<br/>
|
||||
<h4>Plugins</h4>
|
||||
{% for p in plugins %}
|
||||
{{ p.name }} - {{ p.version }} <br/>
|
||||
{% endfor %}
|
||||
|
||||
<h4 class="mt-3">Debug</h4>
|
||||
<textarea class="form-control" rows="20">
|
||||
|
||||
Reference in New Issue
Block a user