Files
function/templates/mithril_loader.html
Peter Stockings d4c0c0f262 Add home dashboard and Mithril rendering support
- Create new home route with comprehensive dashboard statistics
- Implement Mithril rendering support with new `mithril_loader.html` template
- Add new routes for home and test pages in `app.py`
- Create `lib/mithril.py` with Mithril rendering and error handling utilities
- Update dashboard template to use new home route
- Add detailed dashboard view with timer and HTTP function statistics
2025-02-20 23:35:46 +11:00

11 lines
249 B
HTML

{% extends 'base.html' %}
{% block content %}
<div id="mithril-loader"></div>
<script>
m.mount(document.getElementById('mithril-loader'), {
view: () => m(DiffView, {{ props | tojson | safe }})
});
</script>
{% endblock %}