add 5-second auto-refresh to all views except work and workmonth
Implements conditional auto-refresh using meta http-equiv tags in templates. Views with auto_refresh=True will reload every 5 seconds to show updated data. Work and workmonth views excluded to avoid disrupting focused work sessions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles/dm.css') }}">
|
||||
-->
|
||||
|
||||
{% if auto_refresh %}
|
||||
<meta http-equiv="refresh" content="5">
|
||||
{% endif %}
|
||||
|
||||
{% block head %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user