diff --git a/templates/archive.html.ep b/templates/archive.html.ep index 9ff428e9f95b4c6035a471c43cb3b2463ec8be01..f24f1f66e0c89df867a1f7c4bf2d8f8bcbdf49cb 100644 --- a/templates/archive.html.ep +++ b/templates/archive.html.ep @@ -1,21 +1,21 @@ % layout 'default'; % title 'Archiv vysílání'; -<div class="container pt-2 lg:pb-2 "> <table id="Records" class="table table--bordered" data-row-style="rowStyle" + data-unique-id="id" data-url="/api/records"> <thead> <tr> - <th data-field="stream_name" data-width="45" data-width-unit="%" data-sortable="true">Stream</th> - <th data-field="publish_user_name" data-width="30" data-width-unit="%" data-sortable="true">Vysílal</th> - <th data-field="begin" data-width="20" data-width-unit="%" data-sortable="true">Datum vysílání</th> + <th data-field="stream_name" data-width="25" data-width-unit="%" data-sortable="true">Stream</th> + <th data-field="description" data-width="30" data-width-unit="%" data-sortable="true">Popis</th> + <th data-field="publish_user_name" data-width="20" data-width-unit="%" data-sortable="true">Vysílal</th> + <th data-field="begin" data-width="15" data-width-unit="%" data-sortable="true">Odvysíláno</th> <th data-field="id" data-width="5" data-width-unit="%" data-formatter="formatterActions"></th> </tr> </thead> </table> -</div> <script> $('#Records').bootstrapTable({