mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
60 lines
2.6 KiB
JavaScript
60 lines
2.6 KiB
JavaScript
/*!
|
|
* bootstrap-fileinput v5.5.0
|
|
* http://plugins.krajee.com/file-input
|
|
*
|
|
* Font Awesome 5.x icon theme configuration for bootstrap-fileinput. Requires font awesome 5 assets to be loaded.
|
|
*
|
|
* Author: Kartik Visweswaran
|
|
* Copyright: 2014 - 2024, Kartik Visweswaran, Krajee.com
|
|
*
|
|
* Licensed under the BSD-3-Clause
|
|
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
*/
|
|
(function (factory) {
|
|
'use strict';
|
|
if (typeof define === 'function' && define.amd) {
|
|
define(['jquery'],factory);
|
|
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
factory(require('jquery'));
|
|
} else {
|
|
factory(window.jQuery);
|
|
}
|
|
}(function ($) {
|
|
"use strict";
|
|
|
|
$.fn.fileinputThemes.fa5 = {
|
|
fileActionSettings: {
|
|
removeIcon: '<i class="far fa-trash-alt"></i>',
|
|
uploadIcon: '<i class="fas fa-upload"></i>',
|
|
uploadRetryIcon: '<i class="fas fa-cloud-arrow-up"></i>',
|
|
downloadIcon: '<i class="fas fa-download"></i>',
|
|
rotateIcon: '<i class="fas fa-redo"></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>',
|
|
indicatorPaused: '<i class="fa fa-pause text-info"></i>'
|
|
},
|
|
layoutTemplates: {
|
|
fileIcon: '<i class="fas fa-file kv-caption-icon"></i> '
|
|
},
|
|
previewZoomButtonIcons: {
|
|
prev: '<i class="fas fa-chevron-left"></i>',
|
|
next: '<i class="fas fa-chevron-right"></i>',
|
|
rotate: '<i class="fas fa-redo"></i>',
|
|
toggleheader: '<i class="fas fa-fw fa-arrows-alt-v"></i>',
|
|
fullscreen: '<i class="fas fa-expand-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="far fa-trash-alt"></i>',
|
|
cancelIcon: '<i class="fas fa-ban"></i>',
|
|
pauseIcon: '<i class="fas fa-pause"></i>',
|
|
uploadIcon: '<i class="fas fa-upload"></i>',
|
|
msgValidationErrorIcon: '<i class="fas fa-exclamation-circle"></i> '
|
|
};
|
|
}));
|