theme.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*!
  2. * bootstrap-fileinput v4.4.2
  3. * http://plugins.krajee.com/file-input
  4. *
  5. * Glyphicon (default) theme configuration for bootstrap-fileinput.
  6. *
  7. * Author: Kartik Visweswaran
  8. * Copyright: 2014 - 2017, 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.gly = {
  16. fileActionSettings: {
  17. removeIcon: '<i class="glyphicon glyphicon-trash text-danger"></i>',
  18. uploadIcon: '<i class="glyphicon glyphicon-upload text-info"></i>',
  19. zoomIcon: '<i class="glyphicon glyphicon-zoom-in"></i>',
  20. dragIcon: '<i class="glyphicon glyphicon-menu-hamburger"></i>',
  21. indicatorNew: '<i class="glyphicon glyphicon-hand-down text-warning"></i>',
  22. indicatorSuccess: '<i class="glyphicon glyphicon-ok-sign text-success"></i>',
  23. indicatorError: '<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',
  24. indicatorLoading: '<i class="glyphicon glyphicon-hand-up text-muted"></i>'
  25. },
  26. layoutTemplates: {
  27. fileIcon: '<i class="glyphicon glyphicon-file kv-caption-icon"></i>'
  28. },
  29. previewZoomButtonIcons: {
  30. prev: '<i class="glyphicon glyphicon-triangle-left"></i>',
  31. next: '<i class="glyphicon glyphicon-triangle-right"></i>',
  32. toggleheader: '<i class="glyphicon glyphicon-resize-vertical"></i>',
  33. fullscreen: '<i class="glyphicon glyphicon-fullscreen"></i>',
  34. borderless: '<i class="glyphicon glyphicon-resize-full"></i>',
  35. close: '<i class="glyphicon glyphicon-remove"></i>'
  36. },
  37. previewFileIcon: '<i class="glyphicon glyphicon-file"></i>',
  38. browseIcon: '<i class="glyphicon glyphicon-folder-open"></i>&nbsp;',
  39. removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
  40. cancelIcon: '<i class="glyphicon glyphicon-ban-circle"></i>',
  41. uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
  42. msgValidationErrorIcon: '<i class="glyphicon glyphicon-exclamation-sign"></i> '
  43. };
  44. })(window.jQuery);