T157 html and css modified for creating json based on table

This commit is contained in:
2021-02-02 13:03:57 +01:00
parent 3c72ddc63a
commit e3d5532397
4 changed files with 39 additions and 29 deletions

View File

@@ -54,21 +54,22 @@
</div>
<div id="headers">
<table id="headerTable">
<th>
<td>Name</td>
<td>Value</td>
</th>
</table>
<table id="nextHeaderTable">
<tr>
<td>
<input type="text" name="headerKey" id="headerKey" class="headerField" placeholder="next header"/>
</td>
<td>
<input type="text" name="headerValue" id="headerValue" class="headerField" placeholder="value"/>
<input type="image" name="addHeader" src="/img/icons8-plus-48.png" style="width: 20px;"/>
</td>
</tr>
<thead>
<tr>
<td class="tableHead">Header</td>
<td class="tableHead">Value</td>
</tr>
</thead>
<tbody id="httpStatusValues">
</tbody>
<tfoot>
<tr>
<td><input type="text" name="headerKey" id="headerKeyInput" placeholder="key" class="tableField"/></td>
<td><input type="text" name="headerValue" id="headerValueInput" placeholder="value" class="tableField"/></td>
</tr>
</tfoot>
<!-- <input type="text" name="headerValue" id="headerValue" class="headerField" placeholder="value"/>-->
<!-- <input type="image" name="addHeader" src="/img/icons8-plus-48.png" style="width: 20px;"/>-->
</table>
</div>
<div id="history" style="display:none;"></div>