neptune/core/templates/ui/drilldown/table_results.html

60 lines
1.8 KiB
HTML
Raw Normal View History

2022-08-09 08:04:31 +00:00
{% load static %}
{% load index %}
2022-08-11 06:22:22 +00:00
{% load joinsep %}
2022-08-09 08:04:31 +00:00
{% include 'partials/notify.html' %}
2022-08-09 06:20:30 +00:00
2022-08-09 08:04:31 +00:00
{% if table %}
2022-08-09 06:20:30 +00:00
<script src="{% static 'js/column-shifter.js' %}"></script>
2022-08-09 08:04:31 +00:00
<div style="display: none" id="jsonData" data-json="{{ data }}">
</div>
<div class="has-text-grey-light nowrap-parent">
2022-08-09 10:54:44 +00:00
<div class="nowrap-child block">
2022-08-27 16:31:39 +00:00
<span class="icon" data-tooltip="{{ card }} hits total">
<i class="fa-solid fa-chart-mixed"></i>
</span>
2022-08-09 10:54:44 +00:00
</div>
<div class="nowrap-child">
2022-08-27 16:31:39 +00:00
<p>{{ table.data|length }} hits in {{ took }}ms</p>
2022-08-09 10:54:44 +00:00
</div>
{% if exemption is not None %}
2022-08-09 08:04:31 +00:00
<div class="nowrap-child">
2022-08-27 16:31:39 +00:00
<span class="icon" data-tooltip="God mode">
<i class="fa-solid fa-book-bible"></i>
</span>
2022-08-09 08:04:31 +00:00
</div>
2022-08-09 10:54:44 +00:00
{% else %}
{% if redacted != 0 %}
2022-08-09 08:04:31 +00:00
<div class="nowrap-child">
2022-08-27 16:31:39 +00:00
<span class="icon" data-tooltip="{{ redacted }} redacted">
<i class="fa-solid fa-mask"></i>
</span>
2022-08-09 08:04:31 +00:00
</div>
{% endif %}
2022-08-09 10:54:44 +00:00
{% endif %}
2022-08-27 11:53:37 +00:00
{% if delay is not None %}
<div class="nowrap-child">
2022-08-27 16:31:39 +00:00
<span class="icon" data-tooltip="delayed by {{ delay }} days">
2022-08-27 12:18:24 +00:00
<i class="fa-solid fa-clock"></i>
2022-08-27 16:31:39 +00:00
</span>
2022-08-27 12:18:24 +00:00
</div>
{% endif %}
{% if randomised is True %}
<div class="nowrap-child">
2022-08-27 16:31:39 +00:00
<span class="icon" data-tooltip="integer fields randomised">
2022-08-27 12:18:24 +00:00
<i class="fa-solid fa-shuffle"></i>
2022-08-27 16:31:39 +00:00
</span>
2022-08-27 11:53:37 +00:00
</div>
{% endif %}
2022-08-09 08:04:31 +00:00
</div>
2022-08-09 06:20:30 +00:00
{% if params.index != 'int' and params.index != 'meta' %}
<div>
<div style="height: 30rem" id="sentiment-container" {% if params.show_sentiment is None %} class="is-hidden" {% endif %}>
<canvas id="sentiment-chart"></canvas>
2022-08-11 22:09:42 +00:00
</div>
<script src="{% static 'chart.js' %}"></script>
</div>
2022-08-11 22:09:42 +00:00
{% endif %}
2022-08-09 06:20:30 +00:00
{% include 'ui/drilldown/table_results_partial.html' %}
2022-08-11 06:22:22 +00:00
{% endif %}