Commit a1065094 authored by Marc Duez's avatar Marc Duez

server : log view > display last 100 log entry for vidjil.log or vidjil-debug.log and accept filter

parent 3428512e
{{extend 'db_layout.html'}}
{{import vidjil_utils}}
<h3></h3>
<div class="db_block">
<div class="db_block_left">
search
<input id="db_filter_input" type="text" value="{{=request.vars["filter"]}}" onchange="db.call('admin/log', {'file' : '{{=request.vars["file"]}}', 'filter' : this.value} )" >
<span>(multiple word accepted)</span>
</div>
</div>
<div id="db_table_container">
<table class="db_table" id="table">
<thead>
<tr>
<td class="column_100"> date </td>
<td class="column_100"> </td>
<td class="column_100"> user </td>
<td class="column_100"> type </td>
<td class="column_200"> file </td>
<td> </td>
</tr>
</thead>
{{for line in lines :}}
<tr>
<td> {{=line["date"]}} </td>
<td> {{=line["date2"]}} </td>
<td> {{=line["user"]}} </td>
<td> {{=line["type"]}} </td>
<td> {{=line["file"]}} </td>
<td> {{=line["mes"]}} </td>
</tr>
{{pass}}
</table>
<table class="db_table" id="db_fixed_header"></table>
</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment