Added basic Formula Wizard, Added script to compile SASS and TS, many other random changes.

Update .gitignore, .htaccess, and 68 more files...
This commit is contained in:
2023-08-02 17:06:58 +02:00
parent 6fb621e550
commit 4cf950b5dd
70 changed files with 4128 additions and 182 deletions

View File

@@ -1,7 +1,11 @@
// Creating the galleries from Glider.js
window.addEventListener('load', function(){
document.querySelectorAll(".glider").forEach(element => {
new Glider(element, {
console.debug("Creating glider...");
console.debug(element);
let glider = new Glider(element, {
slidesToShow: 1,
draggable: true,
scrollLock: true,
@@ -27,6 +31,7 @@ window.addEventListener('load', function(){
}
]
});
console.debug(glider);
// Processing the images
const eImages = [];

View File

@@ -69,13 +69,14 @@ document.addEventListener("DOMContentLoaded", () => {
//showContentModal(eContentModal);
[eContentModal, document.getElementById("modal-content-cross"), eContentModalInner].forEach(value => {
value.onclick = function() {
fadeOut(eContentModal, 175).then(r => {
eContentModalInner.innerHTML = "";
});
}
})
// FIXME: Fix this shit !
//[eContentModal, document.getElementById("modal-content-cross"), eContentModalInner].forEach(value => {
// value.onclick = function() {
// fadeOut(eContentModal, 175).then(r => {
// eContentModalInner.innerHTML = "";
// });
// }
//})
// TODO: Autodetect mobile screens, close it, and add classes to make it over the rest with dark modal bkgd.
});