Theme everything nicer with transparency and background the sentiment

This commit is contained in:
2022-08-28 17:39:02 +01:00
parent 3050b96baa
commit 24a5af32e2
6 changed files with 102 additions and 49 deletions

View File

@@ -1,13 +1,10 @@
{% load static %}
<div style="display: none" id="jsonData" data-json="{{ data }}">
</div>
<div class="grid-stack-item" gs-w="10" gs-h="40" gs-y="10" gs-x="1">
<div class="grid-stack-item-content">
{% if params.index != 'int' and params.index != 'meta' %}
<div style="height: 30rem" id="sentiment-container" {% if params.show_sentiment is None %} class="is-hidden" {% endif %}>
<canvas id="sentiment-chart"></canvas>
</div>
<script src="{% static 'chart.js' %}"></script>
{% endif %}
{% if params.index != 'int' and params.index != 'meta' %}
<div id="sentiment-container" {% if params.show_sentiment is None %} class="is-hidden" {% endif %}>
<canvas id="sentiment-chart"></canvas>
</div>
</div>
<script src="{% static 'chart.js' %}"></script>
{% endif %}