6056 |
efrain |
1 |
/*!
|
|
|
2 |
* bootstrap-fileinput v5.1.3
|
|
|
3 |
* http://plugins.krajee.com/file-input
|
|
|
4 |
*
|
|
|
5 |
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
|
|
6 |
*
|
|
|
7 |
* Author: Kartik Visweswaran
|
|
|
8 |
* Copyright: 2014 - 2020, Kartik Visweswaran, Krajee.com
|
|
|
9 |
*
|
|
|
10 |
* Licensed under the BSD-3-Clause
|
|
|
11 |
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
|
12 |
*/
|
|
|
13 |
(function ($) {
|
|
|
14 |
"use strict";
|
|
|
15 |
$.fn.fileinputThemes.explorer = {
|
|
|
16 |
layoutTemplates: {
|
|
|
17 |
footer: '<div class="file-details-cell">' +
|
|
|
18 |
'<div class="explorer-caption" title="{caption}">{caption}</div> ' + '{size}{progress}' +
|
|
|
19 |
'</div>' +
|
|
|
20 |
'<div class="file-actions-cell">{indicator} {actions}</div>',
|
|
|
21 |
actions: '{drag}\n' +
|
|
|
22 |
'<div class="file-actions">\n' +
|
|
|
23 |
' <div class="file-footer-buttons">\n' +
|
|
|
24 |
' {upload} {download} {delete} {zoom} {other} ' +
|
|
|
25 |
' </div>\n' +
|
|
|
26 |
'</div>',
|
|
|
27 |
},
|
|
|
28 |
previewSettings: {
|
|
|
29 |
html: {width: "100px", height: "60px"},
|
|
|
30 |
text: {width: "100px", height: "60px"},
|
|
|
31 |
video: {width: "auto", height: "60px"},
|
|
|
32 |
audio: {width: "auto", height: "60px"},
|
|
|
33 |
flash: {width: "100%", height: "60px"},
|
|
|
34 |
object: {width: "100%", height: "60px"},
|
|
|
35 |
pdf: {width: "100px", height: "60px"},
|
|
|
36 |
other: {width: "100%", height: "60px"}
|
|
|
37 |
},
|
|
|
38 |
frameClass: 'explorer-frame'
|
|
|
39 |
};
|
|
|
40 |
})(window.jQuery);
|