New menus

This commit is contained in:
Curry141 2025-06-08 14:43:36 +02:00 committed by GitHub
parent 615dc2a1f2
commit 8904791c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 324 additions and 8 deletions

View File

@ -1,5 +1,6 @@
{ {
"matricola": "placeholderMatricola", "matricola": "placeholderMatricola",
"bacino": "placeholderBacino",
"settore": "placeholderSettore", "settore": "placeholderSettore",
"modello": "placeholderModello", "modello": "placeholderModello",
"link": "placeholderLink" "link": "placeholderLink"

View File

@ -21,8 +21,8 @@ searchBar.addEventListener('input', () => {
productsContainer.innerHTML = ' '; productsContainer.innerHTML = ' ';
buttons.innerHTML = ` buttons.innerHTML = `
<div class="verticale"> <div class="verticale">
<a href="/tper_menu/tpersub.html" class="button">Suburbano</a> <a href="/tper_menu/bol.html" class="button">Bologna</a>
<a href="/tper_menu/tperextra.html" class="button">Extraurbano</a> <a href="/tper_menu/fer.html" class="button">Ferrara</a>
</div> </div>
`; `;
return; return;
@ -43,6 +43,7 @@ function renderProducts(products) {
div.innerHTML = ` div.innerHTML = `
<a href="${bus.link}"> <a href="${bus.link}">
<h3>${bus.matricola}</h3> <h3>${bus.matricola}</h3>
<p>${bus.bacino}</p>
<p>${bus.modello}</p> <p>${bus.modello}</p>
<p>${bus.settore}</p> <p>${bus.settore}</p>
</a> </a>

32
tper_menu/bol.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
</ul>
</nav>
</header>
<h1>TPER Bologna</h1>
<br>
<div id="buttons">
<div class="verticale">
<a href="/tper_menu/bolurb.html" class="button">Urbano</a>
<a href="/tper_menu/bolsub.html" class="button">Suburbano</a>
<a href="/tper_menu/bolext.html" class="button">Extraurbano</a>
</div>
</div>
</body>
</html>

42
tper_menu/bolext.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/bol.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Bologna</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus extraurbani di TPER Bologna</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

42
tper_menu/bolsub.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/bol.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Bologna</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus suburbani di TPER Bologna</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

42
tper_menu/bolurb.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/bol.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Bologna</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus urbani di TPER Bologna</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

32
tper_menu/fer.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
</ul>
</nav>
</header>
<h1>TPER Ferrara</h1>
<br>
<div id="buttons">
<div class="verticale">
<a href="/tper_menu/ferurb.html" class="button">Urbano</a>
<a href="/tper_menu/fersub.html" class="button">Suburbano</a>
<a href="/tper_menu/ferext.html" class="button">Extraurbano</a>
</div>
</div>
</body>
</html>

42
tper_menu/ferext.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/fer.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Ferrara</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus extraurbani di TPER Ferrara</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

42
tper_menu/fersub.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/fer.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Ferrara</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus suburbani di TPER Ferrara</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

42
tper_menu/ferurb.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ER-TPL</title>
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Immagini%20sito/atcma.png" type="image/x-icon">
</head>
<body>
<script src="/scripts/ertpl.js"></script>
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/tper_menu/tper.html"><h1 style="font-size: 100%;font-weight: 500;">TPER</h1></a></li>
<li><a href="/tper_menu/fer.html"><h1 style="font-size: 100%;font-weight: 500;">TPER Ferrara</h1></a></li>
</ul>
</nav>
</header>
<h1>Autobus urbani di TPER Ferrara</h1>
<table class="image-table">
<tr>
<td>
<a href="">
<p></p>
<!--IMG generato da tool Dani-->
</a>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>

View File

@ -13,9 +13,6 @@
<body> <body>
<header> <header>
<nav> <nav>
<ul>
<li><h1 style="color:red;">ATTENZIONE! Abbiamo temporaneamente dislocato il server foto. Le immagini si potrebbero caricare più lentamente. Ci scusiamo per il disagio.</a></li>
</ul>
<ul> <ul>
<li><h1 style="color:red;">ATTENZIONE! Il sito è ancora in fase di sviluppo e molte pagine non funzionano o portano a collegamenti sbagliati!</a></li> <li><h1 style="color:red;">ATTENZIONE! Il sito è ancora in fase di sviluppo e molte pagine non funzionano o portano a collegamenti sbagliati!</a></li>
</ul> </ul>
@ -24,7 +21,8 @@
</ul> </ul>
</nav> </nav>
</header> </header>
<h1>TPER</h1> <h1>TPER (Trasporto Passeggeri Emilia-Romagna)</h1>
<p>La società TPER, con sede a Bologna, attualmente gestisce due bacini: Bologna e Ferrara.</p>
<div class="verticale"> <div class="verticale">
<input type="text" id="searchBar" placeholder="Cerca una matricola..."> <input type="text" id="searchBar" placeholder="Cerca una matricola...">
<div id="bus-container"></div> <div id="bus-container"></div>
@ -32,8 +30,8 @@
<br> <br>
<div id="buttons"> <div id="buttons">
<div class="verticale"> <div class="verticale">
<a href="/tper_menu/tpersub.html" class="button">Suburbano</a> <a href="/tper_menu/bol.html" class="button">Bologna</a>
<a href="/tper_menu/tperextra.html" class="button">Extraurbano</a> <a href="/tper_menu/fer.html" class="button">Ferrara</a>
</div> </div>
</div> </div>
<script src="/scripts/tpersearch.js"></script> <script src="/scripts/tpersearch.js"></script>