Flexify the contest dashboard
Some checks failed
CI / scan_ruby (push) Successful in 16s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 14s
CI / test (push) Has been cancelled

This commit is contained in:
sto 2025-06-21 10:36:19 +02:00
parent f27b43ef45
commit ca7399f490

View File

@ -28,8 +28,8 @@ javascript:
</svg> </svg>
=< t("contests.show.copy_extension_url") =< t("contests.show.copy_extension_url")
.row.mb-4 .row.mb-4 style="height: calc(100vh - 320px)"
.col-7 .col-7.d-flex.flex-column style="height: 100%"
.row .row
.col .col
h4 h4
@ -65,6 +65,7 @@ javascript:
.row .row
.col.alert.alert-danger .col.alert.alert-danger
= t("messages.warning") = t("messages.warning")
.d-flex.flex-column style="overflow-y: auto"
table.table.table-striped.table-hover table.table.table-striped.table-hover
thead thead
tr tr
@ -101,7 +102,7 @@ javascript:
= t("helpers.buttons.add_completion") = t("helpers.buttons.add_completion")
td td
= link_to t("helpers.buttons.delete"), contest_message_path(@contest, message), data: { turbo_method: :delete }, class: "btn btn-sm btn-danger" = link_to t("helpers.buttons.delete"), contest_message_path(@contest, message), data: { turbo_method: :delete }, class: "btn btn-sm btn-danger"
.col-5 .col-5.d-flex.flex-column style="height: 100%"
.row .row
.col .col
h4 h4
@ -110,6 +111,7 @@ javascript:
| + #{t("helpers.buttons.add")} | + #{t("helpers.buttons.add")}
a.ms-3.btn-sm.btn.btn-primary href=contest_import_path(@contest) style="margin-top: -3px" a.ms-3.btn-sm.btn.btn-primary href=contest_import_path(@contest) style="margin-top: -3px"
| #{t("helpers.buttons.import")} | #{t("helpers.buttons.import")}
.d-flex.flex-column style="overflow-y: auto"
table.table.table-striped.table-hover table.table.table-striped.table-hover
thead thead
tr tr