mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:58:40 +00:00
fix(web): responsible table
This commit is contained in:
parent
8ad7d5cb00
commit
94ac59929e
@ -114,7 +114,7 @@ EOD;
|
||||
$pag = new Paginator($pag_config);
|
||||
|
||||
$div_classes = isset($REQUIRE_LIB['bootstrap5'])
|
||||
? array('card', 'my-3', 'overflow-auto')
|
||||
? array('card', 'my-3', 'table-responsive')
|
||||
: array('table-responsive');
|
||||
$table_classes = isset($REQUIRE_LIB['bootstrap5'])
|
||||
? array('table', 'uoj-table', 'mb-0')
|
||||
|
@ -163,7 +163,7 @@ EOD;
|
||||
$pag = new Paginator($pag_config);
|
||||
|
||||
$div_classes = isset($REQUIRE_LIB['bootstrap5'])
|
||||
? array('card', 'my-3', 'overflow-auto')
|
||||
? array('card', 'my-3', 'table-responsive')
|
||||
: array('table-responsive');
|
||||
$table_classes = isset($REQUIRE_LIB['bootstrap5'])
|
||||
? array('table', 'uoj-table', 'mb-0')
|
||||
|
@ -374,7 +374,7 @@ function echoSubmissionsListOnlyOne($submission, $config, $user) {
|
||||
global $REQUIRE_LIB;
|
||||
|
||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||
echo '<div class="card mb-3">';
|
||||
echo '<div class="card mb-3 table-responsive">';
|
||||
echo '<table class="table text-center uoj-table mb-0">';
|
||||
} else {
|
||||
echo '<div class="table-responsive">';
|
||||
@ -1202,7 +1202,7 @@ function echoHackListOnlyOne($hack, $config, $user) {
|
||||
global $REQUIRE_LIB;
|
||||
|
||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||
echo '<div class="card mb-3">';
|
||||
echo '<div class="card mb-3 table-responsive">';
|
||||
echo '<table class="table text-center uoj-table mb-0">';
|
||||
} else {
|
||||
echo '<div class="table-responsive">';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<div class="card card-default mb-3">
|
||||
<div class="card card-default table-responsive mb-3">
|
||||
<table class="table uoj-table text-center mb-0">
|
||||
<?php else: ?>
|
||||
<div class="table-responsive">
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
<h3><?= UOJLocale::get('contests::contest notice') ?></h3>
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<div class="card card-default mb-3">
|
||||
<div class="card card-default table-responsive mb-3">
|
||||
<table class="table uoj-table text-center mb-0">
|
||||
<?php else: ?>
|
||||
<div class="table-responsive">
|
||||
|
@ -7,7 +7,7 @@ if (!isset($can_reply)) {
|
||||
|
||||
?>
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<div class="card card-default mb-3">
|
||||
<div class="card card-default table-responsive mb-3">
|
||||
<table class="table uoj-table text-center mb-0">
|
||||
<?php else: ?>
|
||||
<div class="table-responsive">
|
||||
|
Loading…
Reference in New Issue
Block a user