mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 13:38:41 +00:00
fix: use local dropzone.js
This commit is contained in:
parent
18f6556e03
commit
24c5ad4e5f
@ -1172,7 +1172,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css" rel="stylesheet">
|
<?= HTML::css_link('/css/dropzone.min.css') ?>
|
||||||
<div class="path">
|
<div class="path">
|
||||||
|
|
||||||
<div class="card mb-2 fm-upload-wrapper <?php echo fm_get_theme(); ?>">
|
<div class="card mb-2 fm-upload-wrapper <?php echo fm_get_theme(); ?>">
|
||||||
@ -1214,7 +1214,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.js"></script>
|
<?= HTML::js_src('/js/dropzone.min.js') ?>
|
||||||
<script>
|
<script>
|
||||||
Dropzone.options.fileUploader = {
|
Dropzone.options.fileUploader = {
|
||||||
chunking: true,
|
chunking: true,
|
||||||
|
1
web/css/dropzone.min.css
vendored
Normal file
1
web/css/dropzone.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
web/js/dropzone.min.js
vendored
Normal file
1
web/js/dropzone.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user