mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Added code argtype
This commit is contained in:
parent
13439e100e
commit
df8abb099c
3 changed files with 48 additions and 38 deletions
|
@ -42,6 +42,16 @@ class HTMLIngredient {
|
|||
i, m;
|
||||
|
||||
switch (this.type) {
|
||||
case "code":
|
||||
html+= `<div class="form-group">
|
||||
<label for="${this.id}" class="bmd-label-floating">${this.name}</label>
|
||||
<textarea class="form-control arg"
|
||||
id="${this.id}"
|
||||
arg-name="${this.name}"
|
||||
value="${this.value}"
|
||||
${this.disabled ? "disabled" : ""}></textarea>
|
||||
${this.hint ? "<span class='bmd-help'>" + this.hint + "</span>" : ""}`;
|
||||
break;
|
||||
case "string":
|
||||
case "binaryString":
|
||||
case "byteArray":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue