Files
Owlbot/owlbot/builtin_modules/timers/templates/list.html
T
LogalDeveloper 4fa7050f0a
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 13s
CI / Tests (Python 3.13) (push) Successful in 13s
CI / Tests (Python 3.14) (push) Successful in 10s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s
Refactored timers module into layered architecture with per-timer async tasks and stream-aware lifecycle.
2026-04-09 20:39:25 -04:00

36 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block title %}Timers{% endblock %}
{% block content %}
<h1 class="mb-3">Timers</h1>
{% if timers %}
<table class="table table-bordered table-striped">
<thead>
<tr>
<th class="text-center">#</th>
<th>Name</th>
<th>Message</th>
<th class="text-center">Interval</th>
<th class="text-center">Min Lines</th>
<th class="text-center">Status</th>
<th>Last Fired</th>
</tr>
</thead>
<tbody>
{% for timer in timers %}
<tr>
<td class="text-center">{{ timer.id }}</td>
<td>{{ timer.name or "" }}</td>
<td>{{ timer.message or "(not set)" }}</td>
<td class="text-center">{{ timer.interval_value }} ({{ timer.interval_type }})</td>
<td class="text-center">{{ timer.min_chat_lines }}</td>
<td class="text-center">{% if timer.enabled %}Enabled{% else %}Disabled{% endif %}</td>
<td>{% if timer.last_fired_at %}{{ timer.last_fired_at[:19] | replace("T", " ") }} UTC{% else %}Never{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No timers have been created yet.</p>
{% endif %}
{% endblock %}