Added the add_css and add_js template tags to add local CSS and JavaScript files to the base template in the Mia core application, and applied them in the templates of the accounting application.

This commit is contained in:
imacat committed 2020-08-03 00:20:26 +08:00
1 parent cbac2ba61e
commit 841fbc1223
10 files changed
+45 -18

No files matched your search

@@ -29,8 +29,7 @@ First written: 2020/7/15
{% block settings %}
{% blocktrans asvar title with account=account.title|title context "Accounting|" %}Cash Summary for {{ account }}{% endblocktrans %}
{% setvar "title" title %}
{% static "accounting/css/report.css" as css %}
{% setvar "css" css %}
{% static "accounting/css/report.css" as file %}{% add_css file %}
{% endblock %}
{% block content %}