finish database query. but some codec is wrong

This commit is contained in:
2020-08-11 13:08:20 +08:00
parent 6fb9235b1b
commit bb775e4b20
5 changed files with 171 additions and 10 deletions

View File

@ -38,7 +38,7 @@
{% for innerItem in item.data %}
<tr>
<td><input type="checkbox" value="1"></input></td>
<td>{{ innerItem[0]|e }}</td>
<td queryName="{{ innerItem[0]|e }}">{{ innerItem[0]|e }}</td>
<td><input type="text"></input></td>
<td>{{ innerItem[1]|e }}</td>
<td>{{ innerItem[2]|e }}</td>
@ -48,8 +48,14 @@
<button style="padding: 5px;" onclick="doQuery({{ loop.index }}, &quot;{{ item.queryKey }}&quot;);">Query</button>
<p>Query result:</p>
<p id="resultTableOverflow_{{ loop.index }}" style="color: red; display: none;">The count of query result is more than 100 items(Only the first 100 items will be shown). Please give more limitation.</p>
<table class="envOutput" cellspacing="0" cellpadding="5" style="margin: 10px;">
<table id="resultTable_{{ loop.index }}" class="envOutput" cellspacing="0" cellpadding="5" style="margin: 10px;">
<tr>
{% for innerItem in item.data %}
<td>{{ innerItem[0]|e }}</td>
{% endfor %}
</tr>
</table>
</div>
{% endfor %}