2022-08-29 11:24:06 +00:00
|
|
|
<div id="drilldown-widget">
|
2022-08-29 11:49:44 +00:00
|
|
|
<div id="drilldown-widget-{{ net }}" class="grid-stack-item" gs-w="5" gs-h="15">
|
2022-08-29 11:24:06 +00:00
|
|
|
<div class="grid-stack-item-content">
|
|
|
|
<div class="panel">
|
|
|
|
<p class="panel-heading" style="padding: .2em; line-height: .5em;">
|
|
|
|
<i class="fa-solid fa-arrows-up-down-left-right has-text-grey-light ui-move"></i>
|
|
|
|
<i
|
|
|
|
class="fa-solid fa-xmark has-text-grey-light ui-close"
|
2022-08-29 11:49:44 +00:00
|
|
|
onclick='grid.removeWidget("drilldown-widget-{{ net }}"); grid.compact();'></i>
|
2022-08-29 11:24:06 +00:00
|
|
|
Drilldown
|
|
|
|
</p>
|
|
|
|
<div class="panel-block is-active">
|
|
|
|
<div class="control">
|
|
|
|
<div id="results">
|
|
|
|
{% include 'window-content/drilldown.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
//var contents = $("#drilldown-widget").outerHTML;
|
|
|
|
var contents = document.getElementById("drilldown-widget");
|
|
|
|
var grid = document.getElementById("grid-stack-main").gridstack;
|
|
|
|
grid.addWidget(contents.innerHTML);
|
|
|
|
contents.outerHTML = "";
|
2022-08-29 11:52:05 +00:00
|
|
|
grid.compact();
|
2022-08-29 11:24:06 +00:00
|
|
|
|
|
|
|
</script>
|