From 30f3d1e56aa27bcb65299aea544cd5c09ebc8bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Wed, 12 May 2021 23:45:46 +0200 Subject: [PATCH] Pridan popis --- templates/archive.html.ep | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/archive.html.ep b/templates/archive.html.ep index 9ff428e..f24f1f6 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({ -- GitLab