Files
musicdl-catalog-sync-suite/catalog-sync/musicdl/catalogsync/templates/ops/config.html
T

58 lines
1.1 KiB
HTML

{% extends "ops/base.html" %}
{% block content %}
<h1>Config</h1>
<div class="card">
<h2>Current Env</h2>
<pre>{{ env_content }}</pre>
</div>
<div class="card">
<h2>Parsed Values</h2>
<table>
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
{% for key, value in env_values.items() %}
<tr>
<td><code>{{ key }}</code></td>
<td>{{ value }}</td>
</tr>
{% else %}
<tr><td colspan="2">No parsed values.</td></tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="card">
<h2>Revisions</h2>
<table>
<thead>
<tr>
<th>ID</th>
<th>Created</th>
<th>Applied</th>
<th>Note</th>
</tr>
</thead>
<tbody>
{% for revision in revisions %}
<tr>
<td>{{ revision.id }}</td>
<td>{{ revision.created_at }}</td>
<td>{{ revision.applied_at or "-" }}</td>
<td>{{ revision.note or "-" }}</td>
</tr>
{% else %}
<tr><td colspan="4">No revisions.</td></tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}