This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
.kv-rtl .close, .kv-rtl .krajee-default .file-actions, .kv-rtl .krajee-default .file-other-error {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default.file-preview-frame, .kv-rtl .krajee-default .file-drag-handle, .kv-rtl .krajee-default .file-upload-indicator {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.kv-rtl .file-zoom-dialog, .kv-rtl .file-error-message pre, .kv-rtl .file-error-message ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.kv-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.kv-rtl .floating-buttons {
|
||||
left: 10px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .floating-buttons .btn-kv {
|
||||
margin-left: 0;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.kv-rtl .file-caption-icon {
|
||||
left: auto;
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
.kv-rtl .file-drop-zone {
|
||||
margin: 12px 12px 12px 15px;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-prev {
|
||||
right: 1px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-next {
|
||||
left: 1px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .pull-right, .kv-rtl .float-right {
|
||||
float: left !important;
|
||||
}
|
||||
|
||||
.kv-rtl .pull-left, .kv-rtl .float-left {
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.kv-rtl .kv-zoom-title {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default.file-preview-frame {
|
||||
box-shadow: -1px 1px 5px 0 #a2958a;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
||||
box-shadow: -3px 3px 5px 0 #333;
|
||||
}
|
||||
|
||||
.kv-rtl .kv-zoom-actions .btn-kv {
|
||||
margin-left: 0;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.kv-rtl .file-caption.icon-visible .file-caption-name {
|
||||
padding-left: 0;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.kv-rtl .input-group-btn > .btn:last-child {
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
.kv-rtl .input-group .form-control:first-child {
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-file input[type=file] {
|
||||
left: auto;
|
||||
right: 0;
|
||||
text-align: left;
|
||||
background: none repeat scroll 100% 0 transparent;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
|
||||
*
|
||||
* 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
|
||||
*/.kv-rtl .close,.kv-rtl .krajee-default .file-actions,.kv-rtl .krajee-default .file-other-error{float:left}.kv-rtl .krajee-default .file-drag-handle,.kv-rtl .krajee-default .file-upload-indicator,.kv-rtl .krajee-default.file-preview-frame{float:right}.kv-rtl .file-error-message pre,.kv-rtl .file-error-message ul,.kv-rtl .file-zoom-dialog{text-align:right}.kv-rtl{direction:rtl}.kv-rtl .floating-buttons{left:10px;right:auto}.kv-rtl .floating-buttons .btn-kv{margin-left:0;margin-right:3px}.kv-rtl .file-caption-icon{left:auto;right:8px}.kv-rtl .file-drop-zone{margin:12px 12px 12px 15px}.kv-rtl .btn-prev{right:1px;left:auto}.kv-rtl .btn-next{left:1px;right:auto}.kv-rtl .float-right,.kv-rtl .pull-right{float:left!important}.kv-rtl .float-left,.kv-rtl .pull-left{float:right!important}.kv-rtl .kv-zoom-title{direction:ltr}.kv-rtl .krajee-default.file-preview-frame{box-shadow:-1px 1px 5px 0 #a2958a}.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover{box-shadow:-3px 3px 5px 0 #333}.kv-rtl .kv-zoom-actions .btn-kv{margin-left:0;margin-right:3px}.kv-rtl .file-caption.icon-visible .file-caption-name{padding-left:0;padding-right:15px}.kv-rtl .input-group-btn>.btn:last-child{border-radius:4px 0 0 4px}.kv-rtl .input-group .form-control:first-child{border-radius:0 4px 4px 0}.kv-rtl .btn-file input[type=file]{left:auto;right:0;text-align:left;background:100% 0 none}
|
||||
@@ -0,0 +1,520 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee default styling for bootstrap-fileinput.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
.file-loading input[type=file], input[type=file].file-loading {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.file-no-browse {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 20%;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
font-size: 0;
|
||||
opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.kv-hidden, .file-caption-icon, .file-zoom-dialog .modal-header:before, .file-zoom-dialog .modal-header:after, .file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file, .file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button, .file-input-new .no-browse .input-group-btn, .file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button, .file-input-ajax-new .no-browse .input-group-btn, .hide-content .kv-file-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.btn-file input[type=file], .file-caption-icon, .file-preview .fileinput-remove, .krajee-default .file-thumb-progress, .file-zoom-dialog .btn-navigate, .file-zoom-dialog .floating-buttons {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.file-input, .file-loading:before, .btn-file, .file-caption, .file-preview, .krajee-default.file-preview-frame, .krajee-default .file-thumbnail-footer, .file-zoom-dialog .modal-dialog {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.file-error-message pre, .file-error-message ul, .krajee-default .file-actions, .krajee-default .file-other-error {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.file-error-message pre, .file-error-message ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.krajee-default .file-drag-handle, .krajee-default .file-upload-indicator {
|
||||
float: left;
|
||||
margin: 5px 0 -5px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumb-progress .progress, .krajee-default .file-thumb-progress .progress-bar {
|
||||
height: 11px;
|
||||
font-family: Verdana, Helvetica, sans-serif;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.krajee-default .file-caption-info, .krajee-default .file-size-info {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 160px;
|
||||
height: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-video, .file-zoom-content > .file-object.type-flash, .file-zoom-content > .file-object.type-image {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-video, .file-zoom-content > .file-object.type-flash {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-pdf, .file-zoom-content > .file-object.type-html, .file-zoom-content > .file-object.type-text, .file-zoom-content > .file-object.type-default {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-loading:before {
|
||||
content: " Loading...";
|
||||
display: inline-block;
|
||||
padding-left: 20px;
|
||||
line-height: 16px;
|
||||
font-size: 13px;
|
||||
font-variant: small-caps;
|
||||
color: #999;
|
||||
background: transparent url(../img/loading.gif) top left no-repeat;
|
||||
}
|
||||
|
||||
.file-object {
|
||||
margin: 0 0 -5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btn-file {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.btn-file input[type=file] {
|
||||
top: 0;
|
||||
left: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
text-align: right;
|
||||
opacity: 0;
|
||||
background: none repeat scroll 0 0 transparent;
|
||||
cursor: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.btn-file ::-ms-browse {
|
||||
font-size: 10000px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.file-caption .file-caption-name {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.file-caption.icon-visible .file-caption-icon {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.file-caption.icon-visible .file-caption-name {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.file-caption-icon {
|
||||
left: 8px;
|
||||
}
|
||||
|
||||
.file-error-message {
|
||||
color: #a94442;
|
||||
background-color: #f2dede;
|
||||
margin: 5px;
|
||||
border: 1px solid #ebccd1;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.file-error-message pre {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.file-caption-disabled {
|
||||
background-color: #eee;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-preview {
|
||||
border-radius: 5px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.file-preview .btn-xs {
|
||||
padding: 1px 5px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.file-preview .fileinput-remove {
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
.file-preview .clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-preview-image {
|
||||
font: 40px Impact, Charcoal, sans-serif;
|
||||
color: #008000;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame {
|
||||
margin: 8px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
|
||||
padding: 6px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame .kv-file-content {
|
||||
width: 213px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame .file-thumbnail-footer {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
||||
border: 1px solid rgba(0,0,0,0.3);
|
||||
box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-text {
|
||||
display: block;
|
||||
color: #428bca;
|
||||
border: 1px solid #ddd;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-html {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.krajee-default .file-other-icon {
|
||||
font-size: 6em;
|
||||
}
|
||||
|
||||
.krajee-default .file-footer-buttons {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.krajee-default .file-footer-caption {
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding-top: 4px;
|
||||
font-size: 11px;
|
||||
color: #777;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-error {
|
||||
opacity: 0.65;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumb-progress {
|
||||
height: 11px;
|
||||
top: 37px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.krajee-default.kvsortable-ghost {
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-other:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.kv-upload-progress .progress {
|
||||
height: 20px;
|
||||
margin: 10px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.kv-upload-progress .progress-bar {
|
||||
height: 20px;
|
||||
font-family: Verdana, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/*noinspection CssOverwrittenProperties*/
|
||||
.file-zoom-dialog .file-other-icon {
|
||||
font-size: 22em;
|
||||
font-size: 50vmin;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .modal-dialog {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .modal-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
opacity: 0.7;
|
||||
top: 45%;
|
||||
font-size: 4em;
|
||||
color: #1c94c4;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate:not([disabled]):hover {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .floating-buttons {
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate[disabled] {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-prev {
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-next {
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .kv-zoom-title {
|
||||
font-weight: 300;
|
||||
color: #999;
|
||||
max-width: 50%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.file-input-new .no-browse .form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.file-input-ajax-new .no-browse .form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.file-caption-main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-thumb-loading {
|
||||
background: transparent url(../img/loading.gif) no-repeat scroll center center content-box !important;
|
||||
}
|
||||
|
||||
.file-drop-zone {
|
||||
border: 1px dashed #aaa;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 12px 15px 12px 12px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.file-drop-zone.clickable:hover {
|
||||
border: 2px dashed #999;
|
||||
}
|
||||
|
||||
.file-drop-zone.clickable:focus {
|
||||
border: 2px solid #5acde2;
|
||||
}
|
||||
|
||||
.file-drop-zone .file-preview-thumbnails {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.file-drop-zone-title {
|
||||
color: #aaa;
|
||||
font-size: 1.6em;
|
||||
padding: 85px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.file-highlighted {
|
||||
border: 2px dashed #999 !important;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.file-uploading {
|
||||
background: url(../img/loading-sm.gif) no-repeat center bottom 10px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-dialog {
|
||||
min-width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-content {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.floating-buttons {
|
||||
z-index: 3000;
|
||||
}
|
||||
|
||||
.floating-buttons .btn-kv {
|
||||
margin-left: 3px;
|
||||
z-index: 3000;
|
||||
}
|
||||
|
||||
.file-zoom-content {
|
||||
height: 480px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.file-zoom-content .file-preview-image {
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-zoom-content .file-preview-video {
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-image {
|
||||
height: auto;
|
||||
min-height: inherit;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-audio {
|
||||
width: auto;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.file-zoom-dialog .modal-dialog {
|
||||
max-width: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.file-zoom-dialog .modal-lg {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.file-preview-thumbnails {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .modal-header {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 350px) {
|
||||
.krajee-default.file-preview-frame .kv-file-content {
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.file-loading[dir=rtl]:before {
|
||||
background: transparent url(../img/loading.gif) top right no-repeat;
|
||||
padding-left: 0;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.file-sortable .file-drag-handle {
|
||||
cursor: move;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-sortable .file-drag-handle:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.clickable .file-drop-zone-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.kv-zoom-actions .btn-kv {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.file-preview-initial.sortable-chosen {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,237 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- release v4.5.1, copyright 2014 - 2018 Kartik Visweswaran -->
|
||||
<!--suppress JSUnresolvedLibraryURL -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Krajee JQuery Plugins - © Kartik</title>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="../css/fileinput.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<link href="../themes/explorer-fa/theme.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||
<script src="../js/plugins/sortable.js" type="text/javascript"></script>
|
||||
<script src="../js/fileinput.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/fr.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/es.js" type="text/javascript"></script>
|
||||
<script src="../themes/explorer-fa/theme.js" type="text/javascript"></script>
|
||||
<script src="../themes/fa/theme.js" type="text/javascript"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" type="text/javascript"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container kv-main">
|
||||
<div class="page-header">
|
||||
<h1>Bootstrap File Input Example
|
||||
<small><a href="https://github.com/kartik-v/bootstrap-fileinput-samples"><i
|
||||
class="glyphicon glyphicon-download"></i> Download Sample Files</a></small>
|
||||
</h1>
|
||||
</div>
|
||||
<form enctype="multipart/form-data">
|
||||
<div class="file-loading">
|
||||
<input id="kv-explorer" type="file" multiple>
|
||||
</div>
|
||||
<br>
|
||||
<div class="file-loading">
|
||||
<input id="file-0a" class="file" type="file" multiple data-min-file-count="1">
|
||||
</div>
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button type="reset" class="btn btn-default">Reset</button>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<label for="file-0b">Test invalid input type</label>
|
||||
<div class="file-loading">
|
||||
<input id="file-0b" name="file-0b" class="file" type="text" multiple data-min-file-count="1">
|
||||
</div>
|
||||
<script>
|
||||
$(document).on('ready', function () {
|
||||
$("#file-0b").fileinput();
|
||||
});
|
||||
</script>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<div class="file-loading">
|
||||
<input id="file-0c" class="file" type="file" multiple data-min-file-count="3">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input id="file-0d" class="file" type="file">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="2">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input id="file-2" type="file" class="file" readonly data-show-upload="false">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<label>Preview File Icon</label>
|
||||
<input id="file-3" type="file" multiple>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input id="file-4" type="file" class="file" data-upload-url="#">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-warning" type="button">Disable Test</button>
|
||||
<button class="btn btn-info" type="reset">Refresh Test</button>
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-default" type="reset">Reset</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input type="file" class="file" id="test-upload" multiple>
|
||||
</div>
|
||||
<div id="errorBlock" class="help-block"></div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<div class="file-loading">
|
||||
<input id="file-5" class="file" type="file" multiple data-preview-file-type="any" data-upload-url="#">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<hr>
|
||||
<h4>Multi Language Inputs</h4>
|
||||
<form enctype="multipart/form-data">
|
||||
<label>French Input</label>
|
||||
<div class="file-loading">
|
||||
<input id="file-fr" name="file-fr[]" type="file" multiple>
|
||||
</div>
|
||||
<hr style="border: 2px dotted">
|
||||
<label>Spanish Input</label>
|
||||
<div class="file-loading">
|
||||
<input id="file-es" name="file-es[]" type="file" multiple>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<br>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
$('#file-fr').fileinput({
|
||||
theme: 'fa',
|
||||
language: 'fr',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$('#file-es').fileinput({
|
||||
theme: 'fa',
|
||||
language: 'es',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-0").fileinput({
|
||||
theme: 'fa',
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-1").fileinput({
|
||||
theme: 'fa',
|
||||
uploadUrl: '#', // you must set a valid URL here else you will get an error
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif'],
|
||||
overwriteInitial: false,
|
||||
maxFileSize: 1000,
|
||||
maxFilesNum: 10,
|
||||
//allowedFileTypes: ['image', 'video', 'flash'],
|
||||
slugCallback: function (filename) {
|
||||
return filename.replace('(', '_').replace(']', '_');
|
||||
}
|
||||
});
|
||||
/*
|
||||
$(".file").on('fileselect', function(event, n, l) {
|
||||
alert('File Selected. Name: ' + l + ', Num: ' + n);
|
||||
});
|
||||
*/
|
||||
$("#file-3").fileinput({
|
||||
theme: 'fa',
|
||||
showUpload: false,
|
||||
showCaption: false,
|
||||
browseClass: "btn btn-primary btn-lg",
|
||||
fileType: "any",
|
||||
previewFileIcon: "<i class='glyphicon glyphicon-king'></i>",
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/transport/1",
|
||||
"http://lorempixel.com/1920/1080/transport/2",
|
||||
"http://lorempixel.com/1920/1080/transport/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "transport-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "transport-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "transport-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
$("#file-4").fileinput({
|
||||
theme: 'fa',
|
||||
uploadExtraData: {kvId: '10'}
|
||||
});
|
||||
$(".btn-warning").on('click', function () {
|
||||
var $el = $("#file-4");
|
||||
if ($el.attr('disabled')) {
|
||||
$el.fileinput('enable');
|
||||
} else {
|
||||
$el.fileinput('disable');
|
||||
}
|
||||
});
|
||||
$(".btn-info").on('click', function () {
|
||||
$("#file-4").fileinput('refresh', {previewClass: 'bg-info'});
|
||||
});
|
||||
/*
|
||||
$('#file-4').on('fileselectnone', function() {
|
||||
alert('Huh! You selected no files.');
|
||||
});
|
||||
$('#file-4').on('filebrowse', function() {
|
||||
alert('File browse clicked for #file-4');
|
||||
});
|
||||
*/
|
||||
$(document).ready(function () {
|
||||
$("#test-upload").fileinput({
|
||||
'theme': 'fa',
|
||||
'showPreview': false,
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif'],
|
||||
'elErrorContainer': '#errorBlock'
|
||||
});
|
||||
$("#kv-explorer").fileinput({
|
||||
'theme': 'explorer-fa',
|
||||
'uploadUrl': '#',
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/nature/1",
|
||||
"http://lorempixel.com/1920/1080/nature/2",
|
||||
"http://lorempixel.com/1920/1080/nature/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "nature-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "nature-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "nature-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
/*
|
||||
$("#test-upload").on('fileloaded', function(event, file, previewId, index) {
|
||||
alert('i = ' + index + ', id = ' + previewId + ', file = ' + file.name);
|
||||
});
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 847 B |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,102 @@
|
||||
/*!
|
||||
* FileInput Chinese Traditional 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-TW'] = {
|
||||
fileSingle: '單一檔案',
|
||||
filePlural: '複選檔案',
|
||||
browseLabel: '瀏覽 …',
|
||||
removeLabel: '移除',
|
||||
removeTitle: '清除選取檔案',
|
||||
cancelLabel: '取消',
|
||||
cancelTitle: '取消上傳中檔案',
|
||||
uploadLabel: '上傳',
|
||||
uploadTitle: '上傳選取檔案',
|
||||
msgNo: '沒有',
|
||||
msgNoFilesSelected: '未選擇檔案',
|
||||
msgCancelled: '取消',
|
||||
zoomTitle: '詳細資料',
|
||||
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>.',
|
||||
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: '處理中...',
|
||||
msgUploadBegin: '正在初始化...',
|
||||
msgUploadEnd: '完成',
|
||||
msgUploadEmpty: '無效的文件上傳.',
|
||||
msgUploadError: '上傳錯誤',
|
||||
msgValidationError: '驗證錯誤',
|
||||
msgLoading: '載入第 {index} 個檔案,共 {files} …',
|
||||
msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.',
|
||||
msgSelected: '{n} {files} 選取',
|
||||
msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.',
|
||||
msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).',
|
||||
msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).',
|
||||
msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).',
|
||||
msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).',
|
||||
msgImageResizeError: '無法獲取的圖像尺寸調整。',
|
||||
msgImageResizeException: '錯誤而調整圖像大小。<pre>{errors}</pre>',
|
||||
msgAjaxError: '{operation} 發生錯誤. 請重試!',
|
||||
msgAjaxProgressError: '{operation} 失敗',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: '拖曳檔案至此 …',
|
||||
dropZoneClickTitle: '<br>(或點擊{files}按鈕選擇文件)',
|
||||
fileActionSettings: {
|
||||
removeTitle: '刪除檔案',
|
||||
uploadTitle: '上傳檔案',
|
||||
uploadRetryTitle: '重試',
|
||||
downloadTitle: '下載檔案',
|
||||
zoomTitle: '詳細資料',
|
||||
dragTitle: '移動 / 重置',
|
||||
indicatorNewTitle: '尚未上傳',
|
||||
indicatorSuccessTitle: '上傳成功',
|
||||
indicatorErrorTitle: '上傳失敗',
|
||||
indicatorLoadingTitle: '上傳中 ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: '預覽上壹個文件',
|
||||
next: '預覽下壹個文件',
|
||||
toggleheader: '縮放',
|
||||
fullscreen: '全屏',
|
||||
borderless: '無邊界模式',
|
||||
close: '關閉當前預覽'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,101 @@
|
||||
/*!
|
||||
* 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: '选择 …',
|
||||
removeLabel: '移除',
|
||||
removeTitle: '清除选中文件',
|
||||
cancelLabel: '取消',
|
||||
cancelTitle: '取消进行中的上传',
|
||||
uploadLabel: '上传',
|
||||
uploadTitle: '上传选中文件',
|
||||
msgNo: '没有',
|
||||
msgNoFilesSelected: '未选择文件',
|
||||
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>.',
|
||||
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: '处理中...',
|
||||
msgUploadBegin: '正在初始化...',
|
||||
msgUploadEnd: '完成',
|
||||
msgUploadEmpty: '无效的文件上传.',
|
||||
msgUploadError: '上传出错',
|
||||
msgValidationError: '验证错误',
|
||||
msgLoading: '加载第 {index} 文件 共 {files} …',
|
||||
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} 失败',
|
||||
ajaxOperations: {
|
||||
deleteThumb: '删除文件',
|
||||
uploadThumb: '上传文件',
|
||||
uploadBatch: '批量上传',
|
||||
uploadExtra: '表单数据上传'
|
||||
},
|
||||
dropZoneTitle: '拖拽文件到这里 …<br>支持多文件同时上传',
|
||||
dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
|
||||
fileActionSettings: {
|
||||
removeTitle: '删除文件',
|
||||
uploadTitle: '上传文件',
|
||||
downloadTitle: '下载文件',
|
||||
uploadRetryTitle: '重试',
|
||||
zoomTitle: '查看详情',
|
||||
dragTitle: '移动 / 重置',
|
||||
indicatorNewTitle: '没有上传',
|
||||
indicatorSuccessTitle: '上传',
|
||||
indicatorErrorTitle: '上传错误',
|
||||
indicatorLoadingTitle: '上传 ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: '预览上一个文件',
|
||||
next: '预览下一个文件',
|
||||
toggleheader: '缩放',
|
||||
fullscreen: '全屏',
|
||||
borderless: '无边界模式',
|
||||
close: '关闭当前预览'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>bootstrap-fileinput</id>
|
||||
<title>bootstrap-fileinput</title>
|
||||
<version>4.5.1</version>
|
||||
<authors>Kartik Visweswaran</authors>
|
||||
<owners>Kartik Visweswaran</owners>
|
||||
<licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>
|
||||
<projectUrl>https://github.com/kartik-v/bootstrap-fileinput</projectUrl>
|
||||
<iconUrl>http://getbootstrap.com/favicon.ico</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more.</description>
|
||||
<releaseNotes>https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md</releaseNotes>
|
||||
<copyright>Copyright 2014 - 2018</copyright>
|
||||
<tags>bootstrap bootstrap-fileinput</tags>
|
||||
<dependencies>
|
||||
<dependency id="bootstrap" version="3.3.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
|
||||
NuGet Update -self
|
||||
REM remove package content folder
|
||||
rmdir /s /q content
|
||||
|
||||
REM create new package content folder
|
||||
mkdir content
|
||||
|
||||
REM create sub folder for js files
|
||||
mkdir content\Scripts
|
||||
|
||||
REM create sub folders for css and img files
|
||||
mkdir content\Content
|
||||
mkdir content\Content\bootstrap-fileinput
|
||||
|
||||
REM delete the previous package versions
|
||||
REM del bootstrap-fileinput.*
|
||||
|
||||
REM copy the content to the destination folders
|
||||
xcopy ..\js content\Scripts /D /E /C /R /I /K /Y
|
||||
xcopy ..\css content\Content\bootstrap-fileinput\css /D /E /C /R /I /K /Y
|
||||
xcopy ..\img content\Content\bootstrap-fileinput\img /D /E /C /R /I /K /Y
|
||||
xcopy ..\themes content\Content\bootstrap-fileinput\themes /D /E /C /R /I /K /Y
|
||||
xcopy ..\scss content\Content\bootstrap-fileinput\scss /D /E /C /R /I /K /Y
|
||||
|
||||
REM create a new package
|
||||
NuGet Pack Package.nuspec -Exclude NuGet.exe;build.bat
|
||||
|
||||
REM Upload the new package
|
||||
REM for %%f in (content\Content\bootstrap-fileinput.*) do (
|
||||
REM NuGet Push %%f
|
||||
REM rmdir /s /q content
|
||||
REM del %%f
|
||||
REM )
|
||||
@@ -0,0 +1,156 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `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 .file-upload-indicator, .theme-explorer .file-drag-handle, .theme-explorer .explorer-frame .kv-file-content, .theme-explorer .file-actions, .explorer-frame .file-preview-other {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress, .theme-explorer .file-thumb-progress .progress-bar {
|
||||
height: 13px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 0;
|
||||
right: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress, .theme-explorer .explorer-caption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame td {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame .kv-file-content {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-caption {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer .kvsortable-ghost {
|
||||
opacity: 0.6;
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.theme-explorer .file-preview .table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .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 .table, .theme-explorer .table tbody, .theme-explorer .table tr, .theme-explorer .table td {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.theme-explorer .table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content {
|
||||
border-bottom: none;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content .file-preview-image {
|
||||
max-width: 100%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-details-cell {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
border-top: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.theme-explorer .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;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* 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 = {
|
||||
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>'
|
||||
},
|
||||
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'
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `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 .explorer-frame .kv-file-content,.theme-explorer .file-actions,.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{text-align:center}.theme-explorer .file-thumb-progress .progress,.theme-explorer .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{position:absolute;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer .explorer-caption,.theme-explorer .file-thumb-progress .progress{display:block}.theme-explorer .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer .file-thumb-progress .progress{margin-top:5px}.theme-explorer .explorer-caption{color:#777}.theme-explorer .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer .file-preview .table{margin:0}.theme-explorer .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 .table,.theme-explorer .table tbody,.theme-explorer .table td,.theme-explorer .table tr{display:block;width:100%!important}.theme-explorer .table{border:none}.theme-explorer .table tr{margin-top:5px}.theme-explorer .table tr:first-child{margin-top:0}.theme-explorer .table td{text-align:center}.theme-explorer .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer .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}
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* 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(e){"use strict";var t='<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}"',i='<td class="kv-file-content">\n';e.fn.fileinputThemes.explorer={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>'},previewMarkupTags:{tagBefore1:t+">"+i,tagBefore2:t+' 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"}}(window.jQuery);
|
||||
@@ -0,0 +1,157 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome 4.x theme style for bootstrap-fileinput. Load this theme file after loading
|
||||
* font awesome 4.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-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle, .theme-explorer-fa .explorer-frame .kv-file-content, .theme-explorer-fa .file-actions, .explorer-frame .file-preview-other {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar {
|
||||
height: 13px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 0;
|
||||
right: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .explorer-caption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-frame td {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-frame .kv-file-content {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-thumb-progress .progress {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-caption {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .kvsortable-ghost {
|
||||
opacity: 0.6;
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-preview .table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .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-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table tr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table tr:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table .kv-file-content {
|
||||
border-bottom: none;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table .kv-file-content .file-preview-image {
|
||||
max-width: 100%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-details-cell {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell {
|
||||
border-top: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .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;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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-fa'] = {
|
||||
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="fa 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="fa fa-trash"></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>'
|
||||
},
|
||||
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-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="fa fa-file"></i>',
|
||||
browseIcon: '<i class="fa fa-folder-open"></i>',
|
||||
removeIcon: '<i class="fa fa-trash"></i>',
|
||||
cancelIcon: '<i class="fa fa-ban"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="fa fa-exclamation-circle"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome 4.x theme style for bootstrap-fileinput. Load this theme file after loading
|
||||
* font awesome 4.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-fa .explorer-frame .kv-file-content,.theme-explorer-fa .file-actions,.theme-explorer-fa .file-drag-handle,.theme-explorer-fa .file-upload-indicator{text-align:center}.theme-explorer-fa .file-thumb-progress .progress,.theme-explorer-fa .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer-fa .file-drag-handle,.theme-explorer-fa .file-upload-indicator{position:absolute;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer-fa .explorer-caption,.theme-explorer-fa .file-thumb-progress .progress{display:block}.theme-explorer-fa .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer-fa .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer-fa .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer-fa .file-thumb-progress .progress{margin-top:5px}.theme-explorer-fa .explorer-caption{color:#777}.theme-explorer-fa .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer-fa .file-preview .table{margin:0}.theme-explorer-fa .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-fa .table,.theme-explorer-fa .table tbody,.theme-explorer-fa .table td,.theme-explorer-fa .table tr{display:block;width:100%!important}.theme-explorer-fa .table{border:none}.theme-explorer-fa .table tr{margin-top:5px}.theme-explorer-fa .table tr:first-child{margin-top:0}.theme-explorer-fa .table td{text-align:center}.theme-explorer-fa .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer-fa .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer-fa .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer-fa .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer-fa .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}
|
||||
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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-fa"]={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="fa 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="fa fa-trash"></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>'},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-remove"></i>'},previewFileIcon:'<i class="fa fa-file"></i>',browseIcon:'<i class="fa fa-folder-open"></i>',removeIcon:'<i class="fa fa-trash"></i>',cancelIcon:'<i class="fa fa-ban"></i>',uploadIcon:'<i class="fa fa-upload"></i>',msgValidationErrorIcon:'<i class="fa fa-exclamation-circle"></i> '}}(window.jQuery);
|
||||
@@ -0,0 +1,157 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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-alt-v"></i>',
|
||||
fullscreen: '<i class="fas fa-fw fa-arrows-alt"></i>',
|
||||
borderless: '<i class="fas fa-fw fa-external-link-alt"></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);
|
||||
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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}
|
||||
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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-alt-v"></i>',fullscreen:'<i class="fas fa-fw fa-arrows-alt"></i>',borderless:'<i class="fas fa-fw fa-external-link-alt"></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);
|
||||
@@ -0,0 +1,156 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `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 .file-upload-indicator, .theme-explorer .file-drag-handle, .theme-explorer .explorer-frame .kv-file-content, .theme-explorer .file-actions, .explorer-frame .file-preview-other {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress, .theme-explorer .file-thumb-progress .progress-bar {
|
||||
height: 13px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 0;
|
||||
right: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress, .theme-explorer .explorer-caption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame td {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame .kv-file-content {
|
||||
width: 80px;
|
||||
/*height: 80px;*/
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-caption {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer .kvsortable-ghost {
|
||||
opacity: 0.6;
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.theme-explorer .file-preview .table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .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 .table, .theme-explorer .table tbody, .theme-explorer .table tr, .theme-explorer .table td {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.theme-explorer .table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content {
|
||||
border-bottom: none;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content .file-preview-image {
|
||||
max-width: 100%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-details-cell {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
border-top: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.theme-explorer .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;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* 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 = {
|
||||
layoutTemplates: {
|
||||
preview: '<div class="file-preview {class}">\n' +
|
||||
' <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: '<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>'
|
||||
},
|
||||
previewMarkupTags: {
|
||||
tagBefore1: teTagBef + '>' + teContent,
|
||||
tagBefore2: teTagBef + ' title="{caption}">' + teContent,
|
||||
tagAfter: '</td>\n{footer}</tr>\n'
|
||||
},
|
||||
previewSettings: {
|
||||
image: {height: "20px"},
|
||||
html: {width: "auto", height: "25px"},
|
||||
text: {width: "auto", height: "25px"},
|
||||
video: {width: "auto", height: "25px"},
|
||||
audio: {width: "auto", height: "25px"},
|
||||
flash: {width: "auto", height: "25px"},
|
||||
object: {width: "auto", height: "25px"},
|
||||
pdf: {width: "auto", height: "25px"},
|
||||
other: {width: "auto", height: "25px"}
|
||||
},
|
||||
frameClass: 'explorer-frame'
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `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 .explorer-frame .kv-file-content,.theme-explorer .file-actions,.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{text-align:center}.theme-explorer .file-thumb-progress .progress,.theme-explorer .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{position:absolute;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer .explorer-caption,.theme-explorer .file-thumb-progress .progress{display:block}.theme-explorer .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer .file-thumb-progress .progress{margin-top:5px}.theme-explorer .explorer-caption{color:#777}.theme-explorer .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer .file-preview .table{margin:0}.theme-explorer .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 .table,.theme-explorer .table tbody,.theme-explorer .table td,.theme-explorer .table tr{display:block;width:100%!important}.theme-explorer .table{border:none}.theme-explorer .table tr{margin-top:5px}.theme-explorer .table tr:first-child{margin-top:0}.theme-explorer .table td{text-align:center}.theme-explorer .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer .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}
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* 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(e){"use strict";var t='<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}"',i='<td class="kv-file-content">\n';e.fn.fileinputThemes.explorer={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>'},previewMarkupTags:{tagBefore1:t+">"+i,tagBefore2:t+' 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"}}(window.jQuery);
|
||||
@@ -0,0 +1,47 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
|
||||
*
|
||||
* 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";
|
||||
|
||||
$.fn.fileinputThemes.fa = {
|
||||
fileActionSettings: {
|
||||
removeIcon: '<i class="fa fa-trash"></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>'
|
||||
},
|
||||
layoutTemplates: {
|
||||
fileIcon: '<i class="fa fa-file kv-caption-icon"></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-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="fa fa-file"></i>',
|
||||
browseIcon: '<i class="fa fa-folder-open"></i>',
|
||||
removeIcon: '<i class="fa fa-trash"></i>',
|
||||
cancelIcon: '<i class="fa fa-ban"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="fa fa-exclamation-circle"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
|
||||
*
|
||||
* 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";a.fn.fileinputThemes.fa={fileActionSettings:{removeIcon:'<i class="fa fa-trash"></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>'},layoutTemplates:{fileIcon:'<i class="fa fa-file kv-caption-icon"></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-remove"></i>'},previewFileIcon:'<i class="fa fa-file"></i>',browseIcon:'<i class="fa fa-folder-open"></i>',removeIcon:'<i class="fa fa-trash"></i>',cancelIcon:'<i class="fa fa-ban"></i>',uploadIcon:'<i class="fa fa-upload"></i>',msgValidationErrorIcon:'<i class="fa fa-exclamation-circle"></i> '}}(window.jQuery);
|
||||
@@ -0,0 +1,47 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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 - 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";
|
||||
|
||||
$.fn.fileinputThemes.fas = {
|
||||
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>'
|
||||
},
|
||||
layoutTemplates: {
|
||||
fileIcon: '<i class="fas fa-file kv-caption-icon"></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-alt-v"></i>',
|
||||
fullscreen: '<i class="fas fa-fw fa-arrows-alt"></i>',
|
||||
borderless: '<i class="fas fa-fw fa-external-link-alt"></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);
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* 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 - 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";a.fn.fileinputThemes.fas={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>'},layoutTemplates:{fileIcon:'<i class="fas fa-file kv-caption-icon"></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-alt-v"></i>',fullscreen:'<i class="fas fa-fw fa-arrows-alt"></i>',borderless:'<i class="fas fa-fw fa-external-link-alt"></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);
|
||||
@@ -0,0 +1,45 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Glyphicon (default) theme configuration for bootstrap-fileinput.
|
||||
*
|
||||
* 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";
|
||||
|
||||
$.fn.fileinputThemes.gly = {
|
||||
fileActionSettings: {
|
||||
removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
|
||||
uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
|
||||
zoomIcon: '<i class="glyphicon glyphicon-zoom-in"></i>',
|
||||
dragIcon: '<i class="glyphicon glyphicon-move"></i>',
|
||||
indicatorNew: '<i class="glyphicon glyphicon-plus-sign text-warning"></i>',
|
||||
indicatorSuccess: '<i class="glyphicon glyphicon-ok-sign text-success"></i>',
|
||||
indicatorError: '<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',
|
||||
indicatorLoading: '<i class="glyphicon glyphicon-hourglass text-muted"></i>'
|
||||
},
|
||||
layoutTemplates: {
|
||||
fileIcon: '<i class="glyphicon glyphicon-file kv-caption-icon"></i>'
|
||||
},
|
||||
previewZoomButtonIcons: {
|
||||
prev: '<i class="glyphicon glyphicon-triangle-left"></i>',
|
||||
next: '<i class="glyphicon glyphicon-triangle-right"></i>',
|
||||
toggleheader: '<i class="glyphicon glyphicon-resize-vertical"></i>',
|
||||
fullscreen: '<i class="glyphicon glyphicon-fullscreen"></i>',
|
||||
borderless: '<i class="glyphicon glyphicon-resize-full"></i>',
|
||||
close: '<i class="glyphicon glyphicon-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="glyphicon glyphicon-file"></i>',
|
||||
browseIcon: '<i class="glyphicon glyphicon-folder-open"></i> ',
|
||||
removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
|
||||
cancelIcon: '<i class="glyphicon glyphicon-ban-circle"></i>',
|
||||
uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="glyphicon glyphicon-exclamation-sign"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.5.1
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Glyphicon (default) theme configuration for bootstrap-fileinput.
|
||||
*
|
||||
* 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(i){"use strict";i.fn.fileinputThemes.gly={fileActionSettings:{removeIcon:'<i class="glyphicon glyphicon-trash"></i>',uploadIcon:'<i class="glyphicon glyphicon-upload"></i>',zoomIcon:'<i class="glyphicon glyphicon-zoom-in"></i>',dragIcon:'<i class="glyphicon glyphicon-move"></i>',indicatorNew:'<i class="glyphicon glyphicon-plus-sign text-warning"></i>',indicatorSuccess:'<i class="glyphicon glyphicon-ok-sign text-success"></i>',indicatorError:'<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',indicatorLoading:'<i class="glyphicon glyphicon-hourglass text-muted"></i>'},layoutTemplates:{fileIcon:'<i class="glyphicon glyphicon-file kv-caption-icon"></i>'},previewZoomButtonIcons:{prev:'<i class="glyphicon glyphicon-triangle-left"></i>',next:'<i class="glyphicon glyphicon-triangle-right"></i>',toggleheader:'<i class="glyphicon glyphicon-resize-vertical"></i>',fullscreen:'<i class="glyphicon glyphicon-fullscreen"></i>',borderless:'<i class="glyphicon glyphicon-resize-full"></i>',close:'<i class="glyphicon glyphicon-remove"></i>'},previewFileIcon:'<i class="glyphicon glyphicon-file"></i>',browseIcon:'<i class="glyphicon glyphicon-folder-open"></i> ',removeIcon:'<i class="glyphicon glyphicon-trash"></i>',cancelIcon:'<i class="glyphicon glyphicon-ban-circle"></i>',uploadIcon:'<i class="glyphicon glyphicon-upload"></i>',msgValidationErrorIcon:'<i class="glyphicon glyphicon-exclamation-sign"></i> '}}(window.jQuery);
|
||||
Reference in New Issue
Block a user