diff --git a/src/BackendBundle/Resources/views/league/list.html.twig b/src/BackendBundle/Resources/views/league/list.html.twig index b5a64b132c1749f5a863c884d19c00fd9bdafe1b..989a353068ebc135c78cd883f86766e39a438f39 100644 --- a/src/BackendBundle/Resources/views/league/list.html.twig +++ b/src/BackendBundle/Resources/views/league/list.html.twig @@ -4,7 +4,7 @@ {% block subcontent %} <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> + <div class="col-sm-12 table-container"> {% include '@Backend/entity-browser/buttons.html.twig' %} <table class="table table-striped" cellspacing="0" width="50%"> <thead> diff --git a/src/BackendBundle/Resources/views/notification/list.html.twig b/src/BackendBundle/Resources/views/notification/list.html.twig index 37a2dfcd1d7dee4ae71d2626862ea65d434694f7..3006af009cb540c9015fb8a829d343363727c7a7 100644 --- a/src/BackendBundle/Resources/views/notification/list.html.twig +++ b/src/BackendBundle/Resources/views/notification/list.html.twig @@ -4,7 +4,7 @@ {% block subcontent %} <div class="row"> - <div class="col-sm-12"> + <div class="col-sm-12 table-container"> {% include '@Backend/entity-browser/buttons.html.twig' %} <table class="table table-striped" cellspacing="0" width="50%"> <thead> diff --git a/src/BackendBundle/Resources/views/prediction/list.html.twig b/src/BackendBundle/Resources/views/prediction/list.html.twig index 47a94ad692ee3a95a7bc678b844ea76b26523288..5dec475014b5ae1fdcb6c903fb440d2348c935ec 100644 --- a/src/BackendBundle/Resources/views/prediction/list.html.twig +++ b/src/BackendBundle/Resources/views/prediction/list.html.twig @@ -4,7 +4,7 @@ {% block subcontent %} <div class="row"> - <div class="col-sm-12"> + <div class="col-sm-12 table-container"> {% include '@Backend/entity-browser/buttons.html.twig' %} <table class="table table-striped" cellspacing="0" width="50%"> <thead> @@ -25,7 +25,7 @@ </thead> <tbody> {% for element in elements %} - <tr> + <tr id="{{ element.id }}"> <td>{{ element.id }}</td> <td>{{ element.firstTeam.name }}</td> <td>{{ element.secondTeam.name }}</td> diff --git a/src/BackendBundle/Resources/views/team/list.html.twig b/src/BackendBundle/Resources/views/team/list.html.twig index 29ed91b66046a36257c19dd6ac77627ca920083b..a4f8e7c526657f68809bea29df6d2384d7b6aa0c 100644 --- a/src/BackendBundle/Resources/views/team/list.html.twig +++ b/src/BackendBundle/Resources/views/team/list.html.twig @@ -4,7 +4,7 @@ {% block subcontent %} <div class="row"> - <div class="col-sm-12"> + <div class="col-sm-12 table-container"> {% include '@Backend/entity-browser/buttons.html.twig' %} <table class="table table-striped" cellspacing="0" width="50%"> <thead> @@ -17,7 +17,7 @@ </thead> <tbody> {% for element in elements %} - <tr> + <tr id="{{ element.id }}"> <td>{{ element.id }}</td> <td>{{ element.name }}</td> <td><img class="thumb" src="{{ asset('/img/application/team/' ~ element.picture) }}" alt="" /></td> diff --git a/web/css/style.css b/web/css/style.css index e596755d69505977667073c8898de6f596ecf02c..5c7ce06506dfe4e5f58f036d36eca7f8a297fe39 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -114,4 +114,8 @@ body { img.thumb { max-height: 80px; +} + +.table-container { + overflow: scroll; } \ No newline at end of file