mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 14:50:47 +00:00
Compare commits
4 Commits
69b3d48abe
...
main
Author | SHA1 | Date | |
---|---|---|---|
b66eebdd1d
|
|||
![]() |
c94b34bd1b | ||
![]() |
65d0c3dd52 | ||
![]() |
e861046ff4 |
@@ -32,7 +32,7 @@
|
|||||||
<hr class="solid">
|
<hr class="solid">
|
||||||
<h1 class="nospazio">Novità sito:</h1>
|
<h1 class="nospazio">Novità sito:</h1>
|
||||||
<p class="novitasito">
|
<p class="novitasito">
|
||||||
Ridimensionate novità aziende per schermi piccoli
|
ATTENZIONE! Abbiamo cambiato provider email, clicca su "Contattaci" nel footer qui sotto o in <a class="novita" href="chisiamo.html">chi siamo</a><br>per vedere il nuovo indirizzo.
|
||||||
</p>
|
</p>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="riga">
|
<div class="riga">
|
||||||
|
@@ -53,14 +53,18 @@ function chisiamoInizializza() {
|
|||||||
setInterval(updateTimer, 1000);
|
setInterval(updateTimer, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This function below is just a simple obfuscator for the email address, in order to prevent bots invading the inbox.
|
||||||
|
|
||||||
function mostraemail() {
|
function mostraemail() {
|
||||||
document.getElementById("email").innerHTML = "";
|
document.getElementById("email").innerHTML = "";
|
||||||
const p1 = "info";
|
const p1 = "info";
|
||||||
const p2 = ".";
|
const p2 = ".";
|
||||||
const p3 = "ertpl";
|
const p3 = "ertpl";
|
||||||
const p4 = "@";
|
const p4 = "@";
|
||||||
const p5 = "gmail";
|
const p5 = "protonmail";
|
||||||
const p6 = ".";
|
const p6 = ".";
|
||||||
const p7 = "com";
|
const p7 = "com";
|
||||||
document.getElementById("email").innerHTML = p1+p2+p3+p4+p5+p6+p7;
|
const link = document.getElementById("email").appendChild(document.createElement("a"));
|
||||||
|
link.innerHTML = p1+p2+p3+p4+p5+p6+p7;
|
||||||
|
link.setAttribute("href", "mailto:" + p1+p2+p3+p4+p5+p6+p7);
|
||||||
}
|
}
|
@@ -4,3 +4,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><h1 class="warning">ATTENZIONE! Stiamo aggiornando i nostri server e perciò non è possibile visitare alcune sezioni o usare alcune funzioni. Ci scusiamo per il disagio.</h1></li>
|
<li><h1 class="warning">ATTENZIONE! Stiamo aggiornando i nostri server e perciò non è possibile visitare alcune sezioni o usare alcune funzioni. Ci scusiamo per il disagio.</h1></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><h1 class="yellow-warning">ATTENZIONE! I nuovi urbanway 4793-4799 non compaiono (sul cerca orario si) a causa di problemi SETA.</h1></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
@@ -15,11 +15,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
|
||||||
<ul>
|
|
||||||
<li><h1 class="yellow-warning">ATTENZIONE! I nuovi urbanway 4793-4799 non compaiono (sul cerca orario si) a causa di problemi SETA.</h1></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<nav id="nav-inservizio" style="display: flex;">
|
<nav id="nav-inservizio" style="display: flex;">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
|
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
|
||||||
|
@@ -27,7 +27,7 @@ fetch(urlRoutes)
|
|||||||
lineaSelect.appendChild(option);
|
lineaSelect.appendChild(option);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(error => console.error('Errore nel caricamento dei dati:', error));
|
.catch(error => {console.error('Errore nel caricamento dei dati:', error)});
|
||||||
fetch(urlModels)
|
fetch(urlModels)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (!response.ok) throw new Error("Errore nel caricamento dei dati.");
|
if (!response.ok) throw new Error("Errore nel caricamento dei dati.");
|
||||||
@@ -49,7 +49,7 @@ fetch(urlModels)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(error => console.error('Errore nel caricamento dei dati:', error));
|
.catch(error => {console.error('Errore nel caricamento dei dati:', error)});
|
||||||
|
|
||||||
|
|
||||||
function modelsDictionary(model){
|
function modelsDictionary(model){
|
||||||
@@ -377,5 +377,5 @@ function caricaFiltratiModello(selectedOption){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function reloadFiltratiModello(){
|
function reloadFiltratiModello(){
|
||||||
caricaFiltratiModello(lineaSelect.value);
|
caricaFiltratiModello(modelloSelect.value);
|
||||||
}
|
}
|
Reference in New Issue
Block a user