Full implementation from spec: ZNC/IRC client with TLS, Ollama LLM backend, per-user SQLite conversation memory, and Flask web admin portal with 7 pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
650 B
HTML
22 lines
650 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Logs — IRC Bot Portal{% endblock %}
|
|
{% block content %}
|
|
<h1>Bot Logs</h1>
|
|
|
|
<div class="log-toolbar">
|
|
<label>
|
|
<input type="checkbox" id="auto-refresh"> Auto-refresh (3s)
|
|
</label>
|
|
<a href="{{ url_for('logs_download') }}" class="btn btn-secondary btn-sm">Download</a>
|
|
<form method="post" action="{{ url_for('action_clear_log') }}" style="display:inline">
|
|
<button class="btn btn-danger btn-sm">Clear Log</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="log-box" id="log-box">
|
|
{% for line in lines %}
|
|
<div class="log-line {{ line|log_class }}">{{ line|e }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|