first commit

This commit is contained in:
2026-01-16 14:13:44 +08:00
commit 903ff8d495
34603 changed files with 8585054 additions and 0 deletions

View File

@ -0,0 +1,157 @@
/*!
* bootstrap-fileinput v4.4.8
* http://plugins.krajee.com/file-input
*
* Krajee Explorer Font Awesome 5.x theme style for bootstrap-fileinput. Load this theme file after loading
* font awesome 5.x CSS and `fileinput.css`.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/
.theme-explorer-fas .file-upload-indicator, .theme-explorer-fas .file-drag-handle, .theme-explorer-fas .explorer-frame .kv-file-content, .theme-explorer-fas .file-actions, .explorer-frame .file-preview-other {
text-align: center;
}
.theme-explorer-fas .file-thumb-progress .progress, .theme-explorer-fas .file-thumb-progress .progress-bar {
height: 13px;
font-size: 11px;
line-height: 13px;
}
.theme-explorer-fas .file-upload-indicator, .theme-explorer-fas .file-drag-handle {
position: absolute;
display: inline-block;
top: 0;
right: 3px;
width: 16px;
height: 16px;
font-size: 16px;
}
.theme-explorer-fas .file-thumb-progress .progress, .theme-explorer-fas .explorer-caption {
display: block;
}
.theme-explorer-fas .explorer-frame td {
vertical-align: middle;
text-align: left;
}
.theme-explorer-fas .explorer-frame .kv-file-content {
width: 80px;
height: 80px;
padding: 5px;
}
.theme-explorer-fas .file-actions-cell {
position: relative;
width: 120px;
padding: 0;
}
.theme-explorer-fas .file-thumb-progress .progress {
margin-top: 5px;
}
.theme-explorer-fas .explorer-caption {
color: #777;
}
.theme-explorer-fas .kvsortable-ghost {
opacity: 0.6;
background: #e1edf7;
border: 2px solid #a1abff;
}
.theme-explorer-fas .file-preview .table {
margin: 0;
}
.theme-explorer-fas .file-error-message ul {
padding: 5px 0 0 20px;
}
.explorer-frame .file-preview-text {
display: inline-block;
color: #428bca;
border: 1px solid #ddd;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
outline: none;
padding: 8px;
resize: none;
}
.explorer-frame .file-preview-html {
display: inline-block;
border: 1px solid #ddd;
padding: 8px;
overflow: auto;
}
.explorer-frame .file-other-icon {
font-size: 2.6em;
}
@media only screen and (max-width: 767px) {
.theme-explorer-fas .table, .theme-explorer-fas .table tbody, .theme-explorer-fas .table tr, .theme-explorer-fas .table td {
display: block;
width: 100% !important;
}
.theme-explorer-fas .table {
border: none;
}
.theme-explorer-fas .table tr {
margin-top: 5px;
}
.theme-explorer-fas .table tr:first-child {
margin-top: 0;
}
.theme-explorer-fas .table td {
text-align: center;
}
.theme-explorer-fas .table .kv-file-content {
border-bottom: none;
padding: 4px;
margin: 0;
}
.theme-explorer-fas .table .kv-file-content .file-preview-image {
max-width: 100%;
font-size: 20px;
}
.theme-explorer-fas .file-details-cell {
border-top: none;
border-bottom: none;
padding-top: 0;
margin: 0;
}
.theme-explorer-fas .file-actions-cell {
border-top: none;
padding-bottom: 4px;
}
.theme-explorer-fas .explorer-frame .explorer-caption {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
left: 0;
right: 0;
margin: auto;
}
}
/*noinspection CssOverwrittenProperties*/
.file-zoom-dialog .explorer-frame .file-other-icon {
font-size: 22em;
font-size: 50vmin;
}

View File

@ -0,0 +1,87 @@
/*!
* bootstrap-fileinput v4.4.8
* http://plugins.krajee.com/file-input
*
* Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput.
* Load this theme file after loading `fileinput.js`. Ensure that
* font awesome assets and CSS are loaded on the page as well.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/
(function ($) {
"use strict";
var teTagBef = '<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
' data-template="{template}"', teContent = '<td class="kv-file-content">\n';
$.fn.fileinputThemes['explorer-fas'] = {
layoutTemplates: {
preview: '<div class="file-preview {class}">\n' +
' {close}' +
' <div class="{dropClass}">\n' +
' <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n' +
' </tbody></table>\n' +
' <div class="clearfix"></div>' +
' <div class="file-preview-status text-center text-success"></div>\n' +
' <div class="kv-fileinput-error"></div>\n' +
' </div>\n' +
'</div>',
footer: '<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> ' +
'{size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',
actions: '{drag}\n' +
'<div class="file-actions">\n' +
' <div class="file-footer-buttons">\n' +
' {upload} {download} {delete} {zoom} {other} ' +
' </div>\n' +
'</div>',
zoomCache: '<tr style="display:none" class="kv-zoom-cache-theme"><td>' +
'<table class="kv-zoom-cache">{zoomContent}</table></td></tr>',
fileIcon: '<i class="fas fa-file kv-caption-icon"></i> '
},
previewMarkupTags: {
tagBefore1: teTagBef + '>' + teContent,
tagBefore2: teTagBef + ' title="{caption}">' + teContent,
tagAfter: '</td>\n{footer}</tr>\n'
},
previewSettings: {
image: {height: "60px"},
html: {width: "100px", height: "60px"},
text: {width: "100px", height: "60px"},
video: {width: "auto", height: "60px"},
audio: {width: "auto", height: "60px"},
flash: {width: "100%", height: "60px"},
object: {width: "100%", height: "60px"},
pdf: {width: "100px", height: "60px"},
other: {width: "100%", height: "60px"}
},
frameClass: 'explorer-frame',
fileActionSettings: {
removeIcon: '<i class="fas fa-trash-alt"></i>',
uploadIcon: '<i class="fas fa-upload"></i>',
uploadRetryIcon: '<i class="fas fa-redo-alt"></i>',
downloadIcon: '<i class="fas fa-download"></i>',
zoomIcon: '<i class="fas fa-search-plus"></i>',
dragIcon: '<i class="fas fa-arrows-alt"></i>',
indicatorNew: '<i class="fas fa-plus-circle text-warning"></i>',
indicatorSuccess: '<i class="fas fa-check-circle text-success"></i>',
indicatorError: '<i class="fas fa-exclamation-circle text-danger"></i>',
indicatorLoading: '<i class="fas fa-hourglass text-muted"></i>'
},
previewZoomButtonIcons: {
prev: '<i class="fas fa-caret-left fa-lg"></i>',
next: '<i class="fas fa-caret-right fa-lg"></i>',
toggleheader: '<i class="fas fa-fw fa-arrows-v"></i>',
fullscreen: '<i class="fas fa-fw fa-arrows-alt"></i>',
borderless: '<i class="fas fa-fw fa-external-link"></i>',
close: '<i class="fas fa-fw fa-times"></i>'
},
previewFileIcon: '<i class="fas fa-file"></i>',
browseIcon: '<i class="fas fa-folder-open"></i>',
removeIcon: '<i class="fas fa-trash-alt"></i>',
cancelIcon: '<i class="fas fa-ban"></i>',
uploadIcon: '<i class="fas fa-upload"></i>',
msgValidationErrorIcon: '<i class="fas fa-exclamation-circle"></i> '
};
})(window.jQuery);

View File

@ -0,0 +1,13 @@
/*!
* bootstrap-fileinput v4.4.8
* http://plugins.krajee.com/file-input
*
* Krajee Explorer Font Awesome 5.x theme style for bootstrap-fileinput. Load this theme file after loading
* font awesome 5.x CSS and `fileinput.css`.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/.explorer-frame .file-preview-other,.theme-explorer-fas .explorer-frame .kv-file-content,.theme-explorer-fas .file-actions,.theme-explorer-fas .file-drag-handle,.theme-explorer-fas .file-upload-indicator{text-align:center}.theme-explorer-fas .file-thumb-progress .progress,.theme-explorer-fas .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer-fas .file-drag-handle,.theme-explorer-fas .file-upload-indicator{position:absolute;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer-fas .explorer-caption,.theme-explorer-fas .file-thumb-progress .progress{display:block}.theme-explorer-fas .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer-fas .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer-fas .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer-fas .file-thumb-progress .progress{margin-top:5px}.theme-explorer-fas .explorer-caption{color:#777}.theme-explorer-fas .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer-fas .file-preview .table{margin:0}.theme-explorer-fas .file-error-message ul{padding:5px 0 0 20px}.explorer-frame .file-preview-text{display:inline-block;color:#428bca;border:1px solid #ddd;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;outline:0;padding:8px;resize:none}.explorer-frame .file-preview-html{display:inline-block;border:1px solid #ddd;padding:8px;overflow:auto}.explorer-frame .file-other-icon{font-size:2.6em}@media only screen and (max-width:767px){.theme-explorer-fas .table,.theme-explorer-fas .table tbody,.theme-explorer-fas .table td,.theme-explorer-fas .table tr{display:block;width:100%!important}.theme-explorer-fas .table{border:none}.theme-explorer-fas .table tr{margin-top:5px}.theme-explorer-fas .table tr:first-child{margin-top:0}.theme-explorer-fas .table td{text-align:center}.theme-explorer-fas .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer-fas .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer-fas .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer-fas .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer-fas .explorer-frame .explorer-caption{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;left:0;right:0;margin:auto}}.file-zoom-dialog .explorer-frame .file-other-icon{font-size:22em;font-size:50vmin}

View File

@ -0,0 +1,14 @@
/*!
* bootstrap-fileinput v4.4.8
* http://plugins.krajee.com/file-input
*
* Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput.
* Load this theme file after loading `fileinput.js`. Ensure that
* font awesome assets and CSS are loaded on the page as well.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/!function(a){"use strict";var e='<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}"',i='<td class="kv-file-content">\n';a.fn.fileinputThemes["explorer-fas"]={layoutTemplates:{preview:'<div class="file-preview {class}">\n {close} <div class="{dropClass}">\n <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n </tbody></table>\n <div class="clearfix"></div> <div class="file-preview-status text-center text-success"></div>\n <div class="kv-fileinput-error"></div>\n </div>\n</div>',footer:'<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> {size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',actions:'{drag}\n<div class="file-actions">\n <div class="file-footer-buttons">\n {upload} {download} {delete} {zoom} {other} </div>\n</div>',zoomCache:'<tr style="display:none" class="kv-zoom-cache-theme"><td><table class="kv-zoom-cache">{zoomContent}</table></td></tr>',fileIcon:'<i class="fas fa-file kv-caption-icon"></i> '},previewMarkupTags:{tagBefore1:e+">"+i,tagBefore2:e+' title="{caption}">'+i,tagAfter:"</td>\n{footer}</tr>\n"},previewSettings:{image:{height:"60px"},html:{width:"100px",height:"60px"},text:{width:"100px",height:"60px"},video:{width:"auto",height:"60px"},audio:{width:"auto",height:"60px"},flash:{width:"100%",height:"60px"},object:{width:"100%",height:"60px"},pdf:{width:"100px",height:"60px"},other:{width:"100%",height:"60px"}},frameClass:"explorer-frame",fileActionSettings:{removeIcon:'<i class="fas fa-trash-alt"></i>',uploadIcon:'<i class="fas fa-upload"></i>',uploadRetryIcon:'<i class="fas fa-redo-alt"></i>',downloadIcon:'<i class="fas fa-download"></i>',zoomIcon:'<i class="fas fa-search-plus"></i>',dragIcon:'<i class="fas fa-arrows-alt"></i>',indicatorNew:'<i class="fas fa-plus-circle text-warning"></i>',indicatorSuccess:'<i class="fas fa-check-circle text-success"></i>',indicatorError:'<i class="fas fa-exclamation-circle text-danger"></i>',indicatorLoading:'<i class="fas fa-hourglass text-muted"></i>'},previewZoomButtonIcons:{prev:'<i class="fas fa-caret-left fa-lg"></i>',next:'<i class="fas fa-caret-right fa-lg"></i>',toggleheader:'<i class="fas fa-fw fa-arrows-v"></i>',fullscreen:'<i class="fas fa-fw fa-arrows-alt"></i>',borderless:'<i class="fas fa-fw fa-external-link"></i>',close:'<i class="fas fa-fw fa-times"></i>'},previewFileIcon:'<i class="fas fa-file"></i>',browseIcon:'<i class="fas fa-folder-open"></i>',removeIcon:'<i class="fas fa-trash-alt"></i>',cancelIcon:'<i class="fas fa-ban"></i>',uploadIcon:'<i class="fas fa-upload"></i>',msgValidationErrorIcon:'<i class="fas fa-exclamation-circle"></i> '}}(window.jQuery);