feat: Add initial project structure with HTML, CSS, JavaScript libraries, and image assets.

This commit is contained in:
Marco Gallegos
2025-11-21 15:33:06 -06:00
commit 672a6db19c
35 changed files with 53814 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
'use strict';
(function ($) {
$('.input-default-wrapper').on('change', '.input-default-js', function (e) {
var $this = $(e.target),
$label = $this.next('label'),
$files = $this[0].files;
var fileName = '';
if ($files && $files.length > 1) {
fileName = ($this.attr('data-multiple-target') || '').replace('{target}', $files.length);
} else if (e.target.value) {
fileName = e.target.value.split('\\').pop();
}
if (fileName) {
$label.find('.span-choose-file').html(fileName);
} else {
$label.html($label.html());
}
});
})(jQuery);