Commit db58dbc2 authored by buttle's avatar buttle

cosmetic + column order

parent 66cbbd41
......@@ -91,7 +91,7 @@ $(document).ready(function() {
"initComplete": function(settings, json) {
$("#formEntries").show();
},
"order": [[1, 'asc']],
"order": [[1, 'desc']],
"columnDefs": [
{ "orderable": false, "targets": 0 }
]
......
......@@ -15,7 +15,7 @@
{%trans%}Log{%endtrans%}
<p>&nbsp;</p>
</div>
<table id="log" class="table table-striped table-condensed">
<table id="log" style="display:none" class="table table-striped table-condensed">
<thead>
<tr>
<th>{%trans%}Time{%endtrans%}</th>
......@@ -41,6 +41,9 @@ $(document).ready(function() {
"language": {
"url": "/static/dataTables-languages/{{g.current_user.language}}.js"
},
"initComplete": function(settings, json) {
$("#log").show();
},
"order": [[ 0, 'desc' ]]
});
} );
......
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