first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
window.addEventListener('load', function() {
// TODO Handle event for quote estimate form page
const initWeatherOpt = function() {
return `
<div class="col-12 col-sm-6 col-xl-3">
<div class="form-group mb-3">
<label>Label</label>
<input type="text" class="form-control" placeholder="Enter label">
</div>
</div>
<div class="col-12 col-sm-6 col-xl-3">
<div class="form-group mb-3">
<label>Value</label>
<input type="text" class="form-control" placeholder="Enter value">
</div>
</div>
`
}
function onAddWeather(e) {
e.preventDefault();
const weatherOpt = initWeatherOpt();
$('.weather-options').append(weatherOpt);
}
$('button#btn-add-weather').on('click', onAddWeather);
});