mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 17:56:15 -04:00
Added operation counts to categories and ops list with option to hide by default for categories.
This commit is contained in:
parent
bbebba6481
commit
57c8c6dbc6
8 changed files with 45 additions and 2 deletions
|
@ -42,6 +42,9 @@ class HTMLCategory {
|
|||
let html = `<div class="panel category">
|
||||
<a class="category-title" data-toggle="collapse" data-target="#${catName}">
|
||||
${this.name}
|
||||
<span class="op-count hidden">
|
||||
${this.opList.length}
|
||||
</span>
|
||||
</a>
|
||||
<div id="${catName}" class="panel-collapse collapse ${(this.selected ? " show" : "")}" data-parent="#categories">
|
||||
<ul class="op-list">`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue