Fix duplicate icon assignment
This commit is contained in:
parent
ad28b6e81e
commit
4017b4ab72
211 changed files with 782 additions and 6 deletions
|
@ -28,7 +28,7 @@
|
|||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<span class="icon is-small is-left"><i data-feather="clock"></i></span>
|
||||
<span class="icon is-small is-left"><img src="icons/clock.svg" alt="Interval"></span>
|
||||
</div>
|
||||
<div id="domain-control" class="control has-icons-left is-hidden">
|
||||
<div class="select is-small">
|
||||
|
@ -39,7 +39,7 @@
|
|||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<span class="icon is-small is-left"><i data-feather="server"></i></span>
|
||||
<span class="icon is-small is-left"><img src="icons/server.svg" alt="Domain"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -67,7 +67,6 @@
|
|||
<div id="analysis-threats" class="box mt-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.0/dist/jquery.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
|
||||
|
@ -194,7 +193,6 @@
|
|||
initReport(rep, path);
|
||||
});
|
||||
});
|
||||
feather.replace();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -313,7 +311,6 @@
|
|||
});
|
||||
|
||||
switchTab('overview');
|
||||
feather.replace();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<div class="box">
|
||||
<h2 class="subtitle">{{ report.label }}</h2>
|
||||
<h2 class="subtitle">
|
||||
{% if report.icon %}<span class="icon is-small"><img src="icons/{{ report.icon }}.svg" alt="{{ report.icon }}"></span>{% endif %}
|
||||
{{ report.label }}
|
||||
</h2>
|
||||
{% if report.chart == 'table' %}
|
||||
<table id="table-{{ report.name }}" class="table is-striped"></table>
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue