Added thymeleaf related buttons.

This commit is contained in:
2021-01-20 16:00:37 +01:00
parent d44fc2f7b2
commit ccce5d2bd0
8 changed files with 62 additions and 7 deletions

View File

@@ -189,3 +189,23 @@
margin-bottom: 20px;
}
.headerName {
height: 20px;
padding: 5px;
width: 240px;
font-size: 18px;
background: #f0f0f0;
border: 1px solid lightgray;
border-radius: 5px;
}
.headerField {
height: 20px;
padding: 5px;
width: 240px;
font-size: 18px;
background: white;
border: 1px solid lightgray;
border-radius: 5px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -27,3 +27,24 @@ function createMessageTab() {
$("#optional").click(changeAdvancedVisibility);
$(".menuFactory").click(createMessageTab);
// var key = $("#headerKey");
// var value = $("#headerValue");
// function addHeaderTableRow(){
// var headerTable = document.getElementById("headerTable");
// headerTable.innerHTML +=
// '<tr>' +
// '<td>' +
// '<input type="text" name="value" class="headerName" value="' + key.val() + '"\n disabled="disabled"/>' +
// '</td>' +
// '<td>' +
// '<input type="text" name="httpHeaders[' + key.val() + ']" class="headerField" id="httpHeaders' + key.val() + '" value="' + value.val() +'"/>' +
// '</td>' +
// '</tr>';
// key.html("");
// value.html("");
// // alert("key: " + key.val() +
// // "\n" + "value: " + value.val());
// }
// key.keypress(function(e){ if(e.key == 'Enter') addHeaderTableRow()});