amazing-ytdlp-archive/ayta/templates/admin/run.html

24 lines
961 B
HTML

{% extends 'base.html' %}
{% block title %}Runs administration page | AYTA{% endblock %}
{% block description %}Cron Runs administration page of the AYTA system{% endblock %}
{% block content %}
<div class="container channels">
<div class="head">
<div class="title">
<h1 style="display: inline-block;">Cron Run administration page</h1>
<h2 class="subtitle">{{ run.get('_id') }}</h2>
<p><b>Started at</b> {{ run.get('time') }}</p>
<p><b>Finished at</b> {{ run.get('finish_time', 'Probably still running') }}</p>
{% for channel_run in run.get('channel_runs') %}
<hr>
<p><b>Run ID</b> {{ channel_run.get('_id') }}</p>
<p><b>Channel ID</b> {{ channel_run.get('id') }} | <b>Time</b> {{ channel_run.get('time') }} | <b>Exit code</b> {{ channel_run.get('exit_code') }}</p>
<textarea class="info" id={{ channel_run.get('_id') }}>{{ channel_run.get('log') }}</textarea>
{% endfor %}
</div>
</div>
</div>
{% endblock %}