finish database query. but some codec is wrong
This commit is contained in:
@ -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 }}, "{{ item.queryKey }}");">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 %}
|
||||
|
Reference in New Issue
Block a user