diff --git a/templates/calendar.html.ep b/templates/calendar.html.ep index fca8da35d22bc43f3b585d7cef4222f705537a6a..6ee6ffed79e8584fdaa1414b662b7077afa8a34f 100644 --- a/templates/calendar.html.ep +++ b/templates/calendar.html.ep @@ -1,7 +1,6 @@ % layout 'default'; % title 'Kalendar vysílání'; -<div class="container pt-2 lg:pb-2 "> <table id="Calendar" class="table table--bordered" data-url="/api/calendar"> @@ -14,7 +13,6 @@ </tr> </thead> </table> -</div> <script> $('#Calendar').bootstrapTable({}); diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 675b2398fba3a56d2dbd2643d1175672235d5bf7..a5b89d807b7e629f940281cac38fdd55ffe11d33 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -74,7 +74,9 @@ <section class="content"> <h1 class="container container--default pt-4 lg:pb-4 text-grey-r500 head-alt-base"><%= title %></h1> + <div class="container pt-2 lg:pb-2 "> <%= content %> + </div> </section> <footer class="footer bg-grey-700 text-white __js-root"> diff --git a/templates/streams.html.ep b/templates/streams.html.ep index 89bebe4a9d8046d844599ee1dd441c6e301320e2..4a1de05b609b9ed607fa34a6b443ac07cd1f8bee 100644 --- a/templates/streams.html.ep +++ b/templates/streams.html.ep @@ -1,7 +1,6 @@ % layout 'default'; % title 'Seznam streamů'; -<div class="container pt-2 lg:pb-2 "> <table id="Streams" class="table table--bordered" data-detail-view="true" @@ -17,7 +16,6 @@ </tr> </thead> </table> -</div> <script> $('#Streams').bootstrapTable({});