expand json buttons

isekai-main
Barış Soner Uşaklı 2 years ago
parent 3adc7505a6
commit 9e75068da2

@ -5,27 +5,6 @@
max-width: 100% !important; max-width: 100% !important;
} }
#analytics-panel .card-header > div {
&.fa-expand {
display: none;
}
font-family: $font-family-sans-serif;
font-weight: 600;
color: $gray-300;
padding-left: .5em;
padding: .75em;
background-color: $gray-200;
color: $black;
cursor: pointer;
transition: all .4s;
&.active {
display: inline;
}
}
.graph-container { .graph-container {
padding-right: 50px; padding-right: 50px;
position: relative; position: relative;

@ -1,11 +1,12 @@
<div class="card mb-3" id="analytics-panel"> <div class="card mb-3" id="analytics-panel">
<div class="card-header"> <div class="card-header">
[[admin/dashboard:forum-traffic]] <div class="d-flex justify-content-between">
<div class="float-end"> [[admin/dashboard:forum-traffic]]
<a href="#"><i class="fa fa-fw fa-expand"></i></a>
</div> <div class="d-flex gap-1">
<div class="float-end"> <a class="btn btn-sm btn-light lh-sm" target="_blank" id="view-as-json" href="{config.relative_path}/api/v3/admin/analytics/{set}?type=hourly"><i class="fa fa-fw fa-xs fa-terminal text-primary"></i></a>
<a target="_blank" id="view-as-json" href="{config.relative_path}/api/v3/admin/analytics/{set}?type=hourly"><i class="fa fa-fw fa-terminal"></i></a> <a class="btn btn-sm btn-light lh-sm" href="#"><i class="fa fa-fw fa-xs fa-expand text-primary"></i></a>
</div>
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body">

Loading…
Cancel
Save