worked on the new onboarding steps

This commit is contained in:
Kwesi Banson
2024-01-31 20:40:33 +00:00
parent bc97f69748
commit 7a64019001
184 changed files with 11292 additions and 173 deletions

View File

@@ -4,6 +4,26 @@
var month = d.getMonth()+1;
var day = d.getDate();
var currentDate = d.getFullYear() + '/' + ((''+month).length<2 ? '0' : '') + month + '/' + ((''+day).length<2 ? '0' : '') + day;
/*
$('.progressIndicatorCheckbox').change(function() {
console.log('food inside');
if(this.checked) {
var returnVal = confirm("Are you sure?");
$(this).prop("checked", returnVal);
}
$('#textbox1').val(this.checked);
});
*/
$('.progressIndicatorCheckbox').on('change', function() {
// From the other examples
console.log('finker');
if (!this.checked) {
var sure = confirm("Are you sure?");
this.checked = !sure;
$('#textbox1').val(sure.toString());
}
});
$('select').select2();
$('#myDatepicker2').datetimepicker({
@@ -17,6 +37,11 @@
evt.preventDefault();
$('#newNotesForm').modal('show');
});
$('#progressIndicatorBtn').click(function(evt){
console.log('foo bars');
evt.preventDefault();
$('#progressIndicatorDetailsModal').modal('show');
});
$('#createSmsShortCodeBtn').click(function(evt){
evt.preventDefault();