Initial commit

This commit is contained in:
2025-09-12 19:05:50 -03:00
commit 6fb90520e4
12 changed files with 1136 additions and 0 deletions

18
assets/js/admin.js Normal file
View File

@@ -0,0 +1,18 @@
jQuery(document).ready(function($) {
$('#data_evento').on('change', function() {
var date = $(this).val();
if (!date) {
alert('Por favor, selecione uma data válida.');
$(this).focus();
}
});
$('#hora_evento').on('change', function() {
var time = $(this).val();
if (time && !/^\d{2}:\d{2}$/.test(time)) {
alert('Por favor, insira uma hora válida no formato HH:MM.');
$(this).val('');
$(this).focus();
}
});
});