Initial implementation of IRC LLM bot
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>
This commit is contained in:
21
portal/templates/logs.html
Normal file
21
portal/templates/logs.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user