Implement channel pane for insights

This commit is contained in:
2022-07-21 13:52:06 +01:00
parent 20d513bef1
commit 9de9ddff6f
8 changed files with 299 additions and 377 deletions

View File

@@ -21,7 +21,7 @@
</script>
<style>
#tab-content div {
display: none;
display: none;
}
#tab-content div.is-active {
@@ -32,7 +32,7 @@
<div class="modal-background"></div>
<div class="modal-content">
<div class="box">
<div class="tabs is-toggle is-fullwidth" id="tabs">
<div class="tabs is-toggle is-fullwidth is-primary" id="tabs">
<ul>
<li class="is-active" data-tab="1">
<a>
@@ -64,7 +64,7 @@
<div class="is-active" data-content="1">
<h4 class="subtitle is-4">Channels for {{ nick }} on {{ net }}</h4>
{% for channel in chans %}
<a class="panel-block">
<a class="panel-block is-active">
<span class="panel-icon">
<i class="fa-solid fa-hashtag" aria-hidden="true"></i>
</span>
@@ -80,7 +80,7 @@
<div data-content="2">
<h4 class="subtitle is-4">Users on {{ channel }} for {{ net }}</h4>
{% for user in users %}
<a class="panel-block">
<a class="panel-block is-active">
<span class="panel-icon">
<i class="fa-solid fa-user" aria-hidden="true"></i>
</span>
@@ -96,7 +96,7 @@
<div data-content="3">
<h4 class="subtitle is-4">Users sharing channels with {{ nick }} on {{ net }}</h4>
{% for user in inter_users %}
<a class="panel-block">
<a class="panel-block is-active">
<span class="panel-icon">
<i class="fa-solid fa-user" aria-hidden="true"></i>
</span>
@@ -112,7 +112,7 @@
<div data-content="4">
<h4 class="subtitle is-4">Channels sharing users with {{ channel }} on {{ net }}</h4>
{% for channel in inter_chans %}
<a class="panel-block">
<a class="panel-block is-active">
<span class="panel-icon">
<i class="fa-solid fa-hashtag" aria-hidden="true"></i>
</span>