2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 21:33:36 +00:00

Added code argtype

This commit is contained in:
Matt
2019-01-08 22:23:14 +00:00
parent 13439e100e
commit df8abb099c
3 changed files with 48 additions and 38 deletions

View File

@@ -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":