diff --git a/CineSync/static/css/timetable/session.css b/CineSync/static/css/timetable/session.css index e371da6..61c107c 100644 --- a/CineSync/static/css/timetable/session.css +++ b/CineSync/static/css/timetable/session.css @@ -1,26 +1,21 @@ .seats_card { - width: 100%; background-color: #eaeaea; - margin-top: 1vw; - margin-bottom: 1vw; border-radius: 3vw; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; - justify-content: flex-start; + justify-content: center; width: 50%; margin: 0 auto; margin-top: 2vw; + + overflow-x: auto; + overflow-y: auto; } .card_body { width: 80%; - margin-top: 18vw; - margin: 0 auto; -} -.rows { - margin-top: 7vw; } .line { width: 30%; @@ -55,6 +50,38 @@ h6 { margin-top: 4vw; object-fit: cover; height: 20vw !important; - width: 50% !important; + width: 12vw !important; border-radius: 3vw; +} +.film_info_block { + margin-right: 25%; + margin-left: 25%; + width: 50%; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + align-items: flex-end; +} +.film_info_text_block { + height: 20vw; + display: flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: space-evenly; + margin: 2vw; +} +.film_info_text { + color: #eaeaea; +} +.cell { + background-color: transparent !important; +} +.cell { + height: 4vw; + width: 3.5vw; +} +.row_number_cell { + display: flex; + align-items: center; + justify-content: center; } \ No newline at end of file diff --git a/CineSync/templates/base.html b/CineSync/templates/base.html index c6b2360..bd7858f 100644 --- a/CineSync/templates/base.html +++ b/CineSync/templates/base.html @@ -13,7 +13,7 @@ - + diff --git a/CineSync/templates/timetable/session.html b/CineSync/templates/timetable/session.html index 2f9d214..f2b996c 100644 --- a/CineSync/templates/timetable/session.html +++ b/CineSync/templates/timetable/session.html @@ -7,35 +7,37 @@ {% block content %} -
{{ session.auditorium.number }}
+{{ session.start_datetime }}
+| {{ row }} | + {% for seat in seats %} ++ + {{ seat.row_number }} + + | + {% endfor %} +