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>
26 lines
288 B
HTML
26 lines
288 B
HTML
<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 %}
|
|
|
|
</head>
|
|
<body>
|
|
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |