Kaynağa Gözat

fix resource

AE86 1 yıl önce
ebeveyn
işleme
5613bc5850

+ 0 - 2
dbsyncer-web/src/main/resources/public/index.html

@@ -66,8 +66,6 @@
 <script th:if="${!enableCDN}" th:src="@{/plugins/js/bootstrap-tagsinput/bootstrap-tagsinput.min.js}"></script>
 <script th:if="${enableCDN}" src="https://cdn.bootcdn.net/ajax/libs/bootstrap-fileinput/5.1.5/js/fileinput.min.js"></script>
 <script th:if="${!enableCDN}" th:src="@{/plugins/js/bootstrap-fileinput/fileinput.min.js}"></script>
-<!--<script th:src="@{/plugins/js/bootstrap-fileinput/theme.min.js}"></script>
-<script th:src="@{/plugins/js/bootstrap-fileinput/zh.js}"></script>-->
 <script th:if="${enableCDN}" src="https://cdn.bootcdn.net/ajax/libs/sql-formatter/13.0.0/sql-formatter.min.js"></script>
 <script th:if="${!enableCDN}" th:src="@{/plugins/js/sql-formatter/sql-formatter.min.js}"></script>
 <script th:if="${enableCDN}" src="https://cdn.bootcdn.net/ajax/libs/echarts/5.3.3/echarts.min.js"></script>

+ 0 - 12
dbsyncer-web/src/main/resources/static/plugins/js/bootstrap-fileinput/theme.min.js

@@ -1,12 +0,0 @@
-/*!
- * bootstrap-fileinput v5.1.5
- * http://plugins.krajee.com/file-input
- *
- * Font Awesome 5 icon theme configuration for bootstrap-fileinput. Requires font awesome 5 assets to be loaded.
- *
- * Author: Kartik Visweswaran
- * Copyright: 2014 - 2021, Kartik Visweswaran, Krajee.com
- *
- * Licensed under the BSD-3-Clause
- * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
- */(function($){"use strict";$.fn.fileinputThemes.fas={fileActionSettings:{removeIcon:'<i class="fa fa-trash-o"></i>',uploadIcon:'<i class="fa fa-upload"></i>',uploadRetryIcon:'<i class="fa fa-repeat"></i>',downloadIcon:'<i class="fa fa-download"></i>',zoomIcon:'<i class="fa fa-search-plus"></i>',dragIcon:'<i class="fa fa-arrows"></i>',indicatorNew:'<i class="fa fa-plus-circle text-warning"></i>',indicatorSuccess:'<i class="fa fa-check-circle text-success"></i>',indicatorError:'<i class="fa fa-exclamation-circle text-danger"></i>',indicatorLoading:'<i class="fa fa-hourglass text-muted"></i>',indicatorPaused:'<i class="fa fa-pause text-info"></i>'},layoutTemplates:{fileIcon:'<i class="fa fa-file-archive-o"></i> '},previewZoomButtonIcons:{prev:'<i class="fa fa-caret-left fa-lg"></i>',next:'<i class="fa fa-caret-right fa-lg"></i>',toggleheader:'<i class="fa fa-fw fa-arrows-v"></i>',fullscreen:'<i class="fa fa-fw fa-arrows-alt"></i>',borderless:'<i class="fa fa-fw fa-external-link"></i>',close:'<i class="fa fa-fw fa-times"></i>'},previewFileIcon:'<i class="fa fa-file-archive-o"></i>',browseIcon:'<i class="fa fa-folder-open"></i>',removeIcon:'<i class="fa fa-trash-o"></i>',cancelIcon:'<i class="fa fa-ban"></i>',pauseIcon:'<i class="fa fa-pause"></i>',uploadIcon:'<i class="fa fa-upload"></i>',msgValidationErrorIcon:'<i class="fa fa-exclamation-circle"></i> '}})(window.jQuery);

+ 0 - 113
dbsyncer-web/src/main/resources/static/plugins/js/bootstrap-fileinput/zh.js

@@ -1,113 +0,0 @@
-/*!
- * FileInput Chinese Translations
- *
- * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
- * any HTML markup tags in the messages must not be converted or translated.
- *
- * @see http://github.com/kartik-v/bootstrap-fileinput
- * @author kangqf <kangqingfei@gmail.com>
- *
- * NOTE: this file must be saved in UTF-8 encoding.
- */
-(function ($) {
-    "use strict";
-
-    $.fn.fileinputLocales['zh'] = {
-        fileSingle: '文件',
-        filePlural: '个文件',
-        browseLabel: '选择 &hellip;',
-        removeLabel: '移除',
-        removeTitle: '清除选中文件',
-        cancelLabel: '取消',
-        cancelTitle: '取消进行中的上传',
-        pauseLabel: 'Pause',
-        pauseTitle: 'Pause ongoing upload',
-        uploadLabel: '上传',
-        uploadTitle: '上传选中文件',
-        msgNo: '没有',
-        msgNoFilesSelected: '未选择文件',
-        msgPaused: 'Paused',
-        msgCancelled: '取消',
-        msgPlaceholder: '选择 {files} ...',
-        msgZoomModalHeading: '详细预览',
-        msgFileRequired: '必须选择一个文件上传.',
-        msgSizeTooSmall: '文件 "{name}" (<b>{size} KB</b>) 必须大于限定大小 <b>{minSize} KB</b>.',
-        msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>.',
-        msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. ',
-        msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>.',
-        msgTotalFilesTooMany: 'You can upload a maximum of <b>{m}</b> files (<b>{n}</b> files detected).',
-        msgFileNotFound: '文件 "{name}" 未找到!',
-        msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
-        msgFileNotReadable: '文件 "{name}" 不可读.',
-        msgFilePreviewAborted: '取消 "{name}" 的预览.',
-        msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
-        msgInvalidFileName: '文件名 "{name}" 包含非法字符.',
-        msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
-        msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
-        msgFileTypes: {
-            'image': 'image',
-            'html': 'HTML',
-            'text': 'text',
-            'video': 'video',
-            'audio': 'audio',
-            'flash': 'flash',
-            'pdf': 'PDF',
-            'object': 'object'
-        },
-        msgUploadAborted: '该文件上传被中止',
-        msgUploadThreshold: '处理中 &hellip;',
-        msgUploadBegin: '正在初始化 &hellip;',
-        msgUploadEnd: '完成',
-        msgUploadResume: 'Resuming upload &hellip;',
-        msgUploadEmpty: '无效的文件上传.',
-        msgUploadError: 'Upload Error',
-        msgDeleteError: 'Delete Error',
-        msgProgressError: '上传出错',
-        msgValidationError: '验证错误',
-        msgLoading: '加载第 {index} 文件 共 {files} &hellip;',
-        msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
-        msgSelected: '{n} {files} 选中',
-        msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
-        msgImageWidthSmall: '图像文件的"{name}"的宽度必须是至少{size}像素.',
-        msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
-        msgImageWidthLarge: '图像文件"{name}"的宽度不能超过{size}像素.',
-        msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
-        msgImageResizeError: '无法获取的图像尺寸调整。',
-        msgImageResizeException: '调整图像大小时发生错误。<pre>{errors}</pre>',
-        msgAjaxError: '{operation} 发生错误. 请重试!',
-        msgAjaxProgressError: '{operation} 失败',
-        msgDuplicateFile: '文件 "{name}"({size})KB已选择',
-        msgResumableUploadRetriesExceeded:  'Upload aborted beyond <b>{max}</b> retries for file <b>{file}</b>! Error Details: <pre>{error}</pre>',
-        msgPendingTime: '{time} remaining',
-        msgCalculatingTime: 'calculating time remaining',
-        ajaxOperations: {
-            deleteThumb: '删除文件',
-            uploadThumb: '上传文件',
-            uploadBatch: '批量上传',
-            uploadExtra: '表单数据上传'
-        },
-        dropZoneTitle: '拖拽文件到这里 &hellip;<br>支持多文件同时上传',
-        dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
-        fileActionSettings: {
-            removeTitle: '删除文件',
-            uploadTitle: '上传文件',
-            downloadTitle: '下载文件',
-            uploadRetryTitle: '重试',
-            zoomTitle: '查看详情',
-            dragTitle: '移动 / 重置',
-            indicatorNewTitle: '没有上传',
-            indicatorSuccessTitle: '上传',
-            indicatorErrorTitle: '上传错误',
-            indicatorPausedTitle: 'Upload Paused',
-            indicatorLoadingTitle:  '上传 &hellip;'
-        },
-        previewZoomButtonTitles: {
-            prev: '预览上一个文件',
-            next: '预览下一个文件',
-            toggleheader: '缩放',
-            fullscreen: '全屏',
-            borderless: '无边界模式',
-            close: '关闭当前预览'
-        }
-    };
-})(window.jQuery);