mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-12-06 15:02:03 +00:00
Compare commits
2 Commits
6953f0f0cc
...
a607b81034
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a607b81034 | ||
|
|
dbc51012d6 |
@@ -25,8 +25,8 @@
|
|||||||
<a href="/extra_bus/italia/italia.html" class="button">Italia</a>
|
<a href="/extra_bus/italia/italia.html" class="button">Italia</a>
|
||||||
<a href="/extra_bus/repubblica_ceca/repubblica_ceca.html" class="button">Repubblica Ceca</a>
|
<a href="/extra_bus/repubblica_ceca/repubblica_ceca.html" class="button">Repubblica Ceca</a>
|
||||||
<a href="/extra_bus/austria/austria.html" class="button">Austria</a><br>
|
<a href="/extra_bus/austria/austria.html" class="button">Austria</a><br>
|
||||||
<a href="/extra_bus/san_marino/rsm.html" class="ybutton">Repubblica di San Marino</a>
|
<a href="/extra_bus/san_marino/rsm.html" class="wbutton">Repubblica di San Marino</a>
|
||||||
<a href="/extra_bus/eventi/eventi.html" class="ybutton">Eventi</a>
|
<a href="/extra_bus/eventi/eventi.html" class="wbutton">Eventi</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// VARIABILI DA MODIFICARE - VARIABLES TO MODIFY //
|
// VARIABILI DA MODIFICARE - VARIABLES TO MODIFY //
|
||||||
const ApiUri = 'https://startapi.serverissimo.freeddns.org/start-corsesopp.json'; //JSON Dinamico - Dynamic JSON
|
const ApiUri = 'https://api.vichingo455.freeddns.org/start-corsesopp.json'; //JSON Dinamico - Dynamic JSON
|
||||||
|
|
||||||
// IMPORTANTE!! NON MODIFICARE SOTTO!! - IMPORTANT!! DO NOT MODIFY THE CODE BELOW!! //
|
// IMPORTANTE!! NON MODIFICARE SOTTO!! - IMPORTANT!! DO NOT MODIFY THE CODE BELOW!! //
|
||||||
let ultimaRichiesta = null;
|
let ultimaRichiesta = null;
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ document.getElementById('bacino').addEventListener('change', function(event) {
|
|||||||
const selectedOption = event.target.value;
|
const selectedOption = event.target.value;
|
||||||
currentSelectedOption = selectedOption;
|
currentSelectedOption = selectedOption;
|
||||||
|
|
||||||
const urlFermate = `https://startapi.serverissimo.freeddns.org/fermateapi/bacino?selectedOption=${selectedOption}`;
|
const urlFermate = `https://api.vichingo455.freeddns.org/fermateapi/bacino?selectedOption=${selectedOption}`;
|
||||||
|
|
||||||
const radiobuttons = document.getElementById('radios');
|
const radiobuttons = document.getElementById('radios');
|
||||||
const ricerca = document.getElementById('ricerca');
|
const ricerca = document.getElementById('ricerca');
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ const palina = params.get('palina');
|
|||||||
const targetID = params.get('targetID');
|
const targetID = params.get('targetID');
|
||||||
const selectedOption = params.get('selectedOption');
|
const selectedOption = params.get('selectedOption');
|
||||||
|
|
||||||
const urlBackend = `https://startapi.serverissimo.freeddns.org/fermateapi/fermata?param=${targetID}¶m2=${selectedOption}&palina=${palina}`;
|
const urlBackend = `https://api.vichingo455.freeddns.org/fermateapi/fermata?param=${targetID}¶m2=${selectedOption}&palina=${palina}`;
|
||||||
function caricadati(){
|
function caricadati(){
|
||||||
fetch(urlBackend)
|
fetch(urlBackend)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
@@ -16,7 +16,7 @@ function caricadati(){
|
|||||||
const container = document.getElementById('tabella-container');
|
const container = document.getElementById('tabella-container');
|
||||||
container.innerHTML = '';
|
container.innerHTML = '';
|
||||||
|
|
||||||
fetch('https://startapi.serverissimo.freeddns.org/fermateapi/versione')
|
fetch('https://api.vichingo455.freeddns.org/fermateapi/versione')
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(versione => document.getElementById("ver").innerHTML = versione);
|
.then(versione => document.getElementById("ver").innerHTML = versione);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const apiurl = 'https://startapi.serverissimo.freeddns.org/infobus/';
|
const apiurl = 'https://api.vichingo455.freeddns.org/infobus/';
|
||||||
// Funzione per applicare il filtro su ogni colonna
|
// Funzione per applicare il filtro su ogni colonna
|
||||||
function applyFilter() {
|
function applyFilter() {
|
||||||
const filterZona = document.getElementById('filterZona').value.toLowerCase();
|
const filterZona = document.getElementById('filterZona').value.toLowerCase();
|
||||||
|
|||||||
31
style.css
31
style.css
@@ -120,6 +120,37 @@ a.ybutton{
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
transform: translateY(5px)
|
transform: translateY(5px)
|
||||||
}
|
}
|
||||||
|
a.wbutton {
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 18px;
|
||||||
|
width: auto;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
padding: 0 20px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 48px;
|
||||||
|
letter-spacing: .1px;
|
||||||
|
white-space: wrap;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
color: black;
|
||||||
|
background-color: #ffc107;
|
||||||
|
background-image: repeating-linear-gradient(
|
||||||
|
-45deg,
|
||||||
|
#ffc107 0px,
|
||||||
|
#ffc107 25px,
|
||||||
|
#d14600 25px,
|
||||||
|
#d14600 50px
|
||||||
|
);
|
||||||
|
box-shadow: 0 5px 0 #d14600;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.wbutton:active {
|
||||||
|
box-shadow: none;
|
||||||
|
transform: translateY(5px);
|
||||||
|
}
|
||||||
footer{
|
footer{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 8px;
|
left: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user