Retheme Insights page to not use panels

This commit is contained in:
Mark Veidemanis 2022-07-21 13:52:24 +01:00
parent ce3a871c46
commit e4487c8bf0
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
4 changed files with 122 additions and 109 deletions

View File

@ -1,8 +1,9 @@
<div id="channels"> <div id="channels">
<div class="content"> <div class="content" style="max-height: 30em; overflow: auto;">
<ol type="1"> <table class="table is-fullwidth is-hoverable">
{% for chan in chans %} {% for chan in chans %}
<li> <tr>
<td>
<span <span
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}' hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_drilldown' %}" hx-post="{% url 'modal_drilldown' %}"
@ -12,8 +13,9 @@
class="button is-small"> class="button is-small">
{{ chan }} {{ chan }}
</span> </span>
</li> </td>
</tr>
{% endfor %} {% endfor %}
</ol> </table>
</div> </div>
</div> </div>

View File

@ -29,6 +29,7 @@
</div> </div>
<div id="info"> <div id="info">
{% if item is not None %} {% if item is not None %}
<div class="content" style="max-height: 30em; overflow: auto;">
<div class="table-container"> <div class="table-container">
<table class="table is-fullwidth is-hoverable"> <table class="table is-fullwidth is-hoverable">
<tbody> <tbody>
@ -101,5 +102,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
{% endif %} {% endif %}
</div> </div>

View File

@ -1,5 +1,8 @@
<div id="meta"> <div id="meta">
<i class="fa-solid fa-hashtag" aria-hidden="true"></i> <div class="content" style="max-height: 30em; overflow: auto;">
<table class="table is-fullwidth is-hoverable">
<tr>
<td>
<span <span
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}' hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_drilldown' %}" hx-post="{% url 'modal_drilldown' %}"
@ -9,4 +12,8 @@
class="button is-small"> class="button is-small">
bbb bbb
</span> </span>
</td>
</tr>
</table>
</div>
</div> </div>

View File

@ -1,8 +1,9 @@
<div id="nicks"> <div id="nicks">
<div class="content"> <div class="content" style="max-height: 30em; overflow: auto;">
<ol type="1"> <table class="table is-fullwidth is-hoverable">
{% for nick in nicks %} {% for nick in nicks %}
<li> <tr>
<td>
<span <span
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}' hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_drilldown' %}" hx-post="{% url 'modal_drilldown' %}"
@ -12,8 +13,9 @@
class="button is-small"> class="button is-small">
{{ nick }} {{ nick }}
</span> </span>
</li> </td>
</tr>
{% endfor %} {% endfor %}
</ol> </table>
</div> </div>
</div> </div>