mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 03:48:42 +00:00
fix: columns breakpoint
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bdd44e7fb8
commit
f8377ebdad
@ -45,7 +45,7 @@ EOD;
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex flex-wrap justify-content-between">
|
<div class="d-flex flex-wrap justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ EOD;
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
<?php uojIncludeView('sidebar', array()) ?>
|
<?php uojIncludeView('sidebar', array()) ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
@ -180,7 +180,7 @@
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
|
|
||||||
<?php uojIncludeView('sidebar', array()); ?>
|
<?php uojIncludeView('sidebar', array()); ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1 class="h2">
|
<h1 class="h2">
|
||||||
@ -122,7 +122,7 @@ EOD;
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
<?php
|
<?php
|
||||||
uojIncludeView('sidebar', array());
|
uojIncludeView('sidebar', array());
|
||||||
?>
|
?>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader(UOJConfig::$data['profile']['oj-name-short']) ?>
|
<?php echoUOJPageHeader(UOJConfig::$data['profile']['oj-name-short']) ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="card card-default">
|
<div class="card card-default">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
@ -234,7 +234,7 @@ EOD
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if (!isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (!isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
@ -350,7 +350,7 @@ $('#contest-countdown').countdown(<?= $contest['end_time']->getTimestamp() - UOJ
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
<div class="card card-default mb-2">
|
<div class="card card-default mb-2">
|
||||||
<ul class="nav nav-pills nav-fill flex-column" role="tablist">
|
<ul class="nav nav-pills nav-fill flex-column" role="tablist">
|
||||||
<li class="nav-item text-start">
|
<li class="nav-item text-start">
|
||||||
|
@ -109,7 +109,7 @@ EOD;
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1 class="h2">
|
<h1 class="h2">
|
||||||
@ -259,7 +259,7 @@ $('#input-show_difficulty').click(function() {
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
|
|
||||||
<?php uojIncludeView('sidebar', array()); ?>
|
<?php uojIncludeView('sidebar', array()); ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1 class="h2">
|
<h1 class="h2">
|
||||||
@ -151,7 +151,7 @@ EOD;
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
<?php
|
<?php
|
||||||
uojIncludeView('sidebar', array());
|
uojIncludeView('sidebar', array());
|
||||||
?>
|
?>
|
||||||
|
@ -161,7 +161,7 @@ EOD;
|
|||||||
|
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-9">
|
<div class="col-lg-9">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1 class="h2">
|
<h1 class="h2">
|
||||||
@ -187,14 +187,20 @@ EOD;
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-4">
|
<div class="
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
col-12 col-sm-6
|
||||||
|
<?php else: ?>
|
||||||
|
col-sm-4
|
||||||
|
<?php endif ?>
|
||||||
|
">
|
||||||
<?= HTML::tablist($tabs_info, $cur_tab, 'nav-pills') ?>
|
<?= HTML::tablist($tabs_info, $cur_tab, 'nav-pills') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 order-sm-5
|
<div class="
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
text-end p-2
|
text-end p-2 col-12 col-sm-6
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
text-right checkbox
|
text-right checkbox order-sm-5 col-sm-4
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
">
|
">
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
@ -239,11 +245,19 @@ EOD;
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php if (!isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="col-sm-4 order-sm-3">
|
<div class="col-sm-4 order-sm-3">
|
||||||
<?php echo $pag->pagination(); ?>
|
<?= $pag->pagination(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
<div class="text-center">
|
||||||
|
<?= $pag->pagination(); ?>
|
||||||
|
</div>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('#input-show_tags_mode').click(function() {
|
$('#input-show_tags_mode').click(function() {
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
@ -284,7 +298,7 @@ $('#input-show_submit_mode').click(function() {
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-lg-0">
|
||||||
|
|
||||||
<form method="get">
|
<form method="get">
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
|
Loading…
Reference in New Issue
Block a user