Skip to content

Commit

Permalink
Add feature sortable table
Browse files Browse the repository at this point in the history
  • Loading branch information
atao committed Feb 5, 2024
1 parent eaed487 commit c24252e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<!-- Bootstrap icon -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<!-- sortable -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sortable/0.8.0/js/sortable.min.js" integrity="sha512-DEcSaL0BWApJ//v7ZfqAI04nvK+NQcUVwrrx/l1x7OJgU0Cwbq7e459NBMzLPrm8eLPzAwBtiJJS4AvLZDZ8xA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body class="has-navbar-fixed-top">
<div class="container is-fluid">
Expand Down Expand Up @@ -83,7 +85,7 @@
</nav>

<p id="hosts-list" class="title is-3 is-spaced">Hosts</p>
<table class="table is-hoverable is-bordered is-striped">
<table data-sortable class="table is-hoverable is-bordered is-striped">
<thead>
<tr>
<th>IP</th>
Expand Down Expand Up @@ -129,7 +131,7 @@
</div>
</article>
</div>
<table class="table is-hoverable is-bordered is-striped">
<table data-sortable class="table is-hoverable is-bordered is-striped">
<thead>
<tr>
<th>Product</th>
Expand All @@ -153,7 +155,7 @@
{% endfor %}
</tbody>
</table>
<table class="table is-hoverable is-bordered">
<table data-sortable class="table is-hoverable is-bordered">
<thead>
<tr>
<th>CVE</th>
Expand All @@ -178,7 +180,7 @@


<p id="cve-list" class="title is-3 is-spaced">Security vulnerability (CVE)</p>
<table class="table is-hoverable is-bordered">
<table data-sortable class="table is-hoverable is-bordered">
<thead>
<tr>
<th>CVE</th>
Expand Down

0 comments on commit c24252e

Please sign in to comment.