diff --git a/core/static/chart.js b/core/static/chart.js index c0d66fd..d445bb5 100644 --- a/core/static/chart.js +++ b/core/static/chart.js @@ -38,7 +38,10 @@ new Chart(ctx, { return foot; } } - } + }, + legend: { + display: false, + }, } } }); diff --git a/core/templates/base.html b/core/templates/base.html index abaa1f0..a15e92e 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -111,6 +111,57 @@ .rounded-tooltip:hover .tooltiptext { visibility: visible; } + + #sentiment-container { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + height: 100vh; + width: 100vw; + z-index: -2; + } + + .table { + background: transparent !important; + } + + tr { + transition: all 0.2s ease-in-out; + } + + tr:hover { + cursor:pointer; + background-color:rgba(221, 224, 255, 0.3) !important; + } + + a.panel-block { + transition: all 0.2s ease-in-out; + } + + a.panel-block:hover { + cursor:pointer; + background-color:rgba(221, 224, 255, 0.3) !important; + } + + .panel, .box { + background-color:rgba(250, 250, 250, 0.5) !important; + } + .modal{ + background-color:rgba(255, 255, 255, 0.9) !important; + } + .modal-background{ + background-color:rgba(255, 255, 255, 0.3) !important; + } + + .has-background-grey-lighter{ + background-color:rgba(219, 219, 219, 0.5) !important; + } + .navbar { + background-color: transparent !important; + } +
diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 9841808..9a0fce6 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -70,8 +70,18 @@+ + Results +
+- + + + - - + {{ table.data|length }} hits in {{ took }}ms + {% if exemption is not None %} + + + + {% else %} + {% if redacted != 0 %} + + + {% endif %} + {% endif %} + {% if delay is not None %} + + + + {% endif %} + {% if randomised is True %} + + + + {% endif %} + + {% include 'ui/drilldown/table_results_partial.html' %} + {% include 'ui/drilldown/sentiment_partial.html' %} - {{ table.data|length }} hits in {{ took }}ms - {% if exemption is not None %} - - - - {% else %} - {% if redacted != 0 %} - - - - {% endif %} - {% endif %} - {% if delay is not None %} - - - - {% endif %} - {% if randomised is True %} - - - - {% endif %} -
-