2024-10-10
This commit is contained in:
16
web/template/mdui/css.php
Normal file
16
web/template/mdui/css.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
$dir=basename(getcwd());
|
||||
if($dir=="discuss3"||$dir=="admin") $path_fix="../";
|
||||
else $path_fix="";
|
||||
?>
|
||||
|
||||
<!-- 新 Bootstrap 核心 CSS 文件 -->
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/bs3/"?>bootstrap.min.css">
|
||||
|
||||
<?php if(!isset($OJ_FLAT)||!$OJ_FLAT){?>
|
||||
<!-- 可选的Bootstrap主题文件(一般不用引入) -->
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/bs3/"?>bootstrap-theme.min.css">
|
||||
<?php }?>
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/bs3/$OJ_CSS"?>">
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/bs3/"?>mathjax.css">
|
||||
Reference in New Issue
Block a user