diff --git a/frontend/classes.py b/frontend/classes.py
index 015f897..35a05cf 100644
--- a/frontend/classes.py
+++ b/frontend/classes.py
@@ -98,6 +98,14 @@ class DashboardSection:
self.name = name
self.template = template
self.context = context or {}
+ self.styles = []
+ self.scripts = []
def get_html(self, request):
return render_to_string(self.template, self.context, request)
+
+ def add_style(self, style):
+ self.styles.append(style)
+
+ def add_script(self, script):
+ self.scripts.append(script)
diff --git a/frontend/templates/frontend/footer.html b/frontend/templates/frontend/footer.html
index 81162d6..e86cbcb 100644
--- a/frontend/templates/frontend/footer.html
+++ b/frontend/templates/frontend/footer.html
@@ -19,7 +19,7 @@
{% for script in scripts %}
-
+
{% endfor %}