mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Added label type ingredient
This commit is contained in:
parent
dfc8f517f2
commit
32625dc0b0
1 changed files with 10 additions and 0 deletions
|
@ -293,6 +293,16 @@ class HTMLIngredient {
|
||||||
|
|
||||||
this.manager.addDynamicListener(".arg-selector", "change", this.argSelectorChange, this);
|
this.manager.addDynamicListener(".arg-selector", "change", this.argSelectorChange, this);
|
||||||
break;
|
break;
|
||||||
|
case "label":
|
||||||
|
html += `<div class="form-group">
|
||||||
|
<label>${this.name}</label>
|
||||||
|
<input type="hidden"
|
||||||
|
class="form-control arg"
|
||||||
|
id="${this.id}"
|
||||||
|
arg-name="${this.name}"
|
||||||
|
value="">
|
||||||
|
</div>`;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue