Fixing mobile device view. Sitemap useless pages were indexed.

This commit is contained in:
Curry141 2025-07-28 15:14:50 +02:00
parent 0c62152def
commit ab3fd715cf
No known key found for this signature in database
GPG Key ID: FDB2BDB5A311E5CD
7 changed files with 67 additions and 58 deletions

View File

@ -5,26 +5,11 @@
<priority>1.00</priority> <priority>1.00</priority>
<lastmod>2025-07-28</lastmod> <lastmod>2025-07-28</lastmod>
</url> </url>
<url>
<loc>https://www.ertpl.pages.dev/404.html</loc>
<priority>0.75</priority>
<lastmod>2025-05-11</lastmod>
</url>
<url> <url>
<loc>https://www.ertpl.pages.dev/chisiamo.html</loc> <loc>https://www.ertpl.pages.dev/chisiamo.html</loc>
<priority>0.75</priority> <priority>0.75</priority>
<lastmod>2025-07-27</lastmod> <lastmod>2025-07-27</lastmod>
</url> </url>
<url>
<loc>https://www.ertpl.pages.dev/google20540786677952e8.html</loc>
<priority>0.75</priority>
<lastmod>2025-04-23</lastmod>
</url>
<url>
<loc>https://www.ertpl.pages.dev/pagenotavailable.html</loc>
<priority>0.75</priority>
<lastmod>2025-05-11</lastmod>
</url>
<url> <url>
<loc>https://www.ertpl.pages.dev/tper_menu/tperextra.html</loc> <loc>https://www.ertpl.pages.dev/tper_menu/tperextra.html</loc>
<priority>0.50</priority> <priority>0.50</priority>
@ -60,16 +45,6 @@
<priority>0.50</priority> <priority>0.50</priority>
<lastmod>2025-05-11</lastmod> <lastmod>2025-05-11</lastmod>
</url> </url>
<url>
<loc>https://www.ertpl.pages.dev/service/isp.html</loc>
<priority>0.50</priority>
<lastmod>2025-05-11</lastmod>
</url>
<url>
<loc>https://www.ertpl.pages.dev/service/maintenance.html</loc>
<priority>0.50</priority>
<lastmod>2025-07-25</lastmod>
</url>
<url> <url>
<loc>https://www.ertpl.pages.dev/seta_menu/atcmlalinea.html</loc> <loc>https://www.ertpl.pages.dev/seta_menu/atcmlalinea.html</loc>
<priority>0.50</priority> <priority>0.50</priority>
@ -150,11 +125,6 @@
<priority>0.25</priority> <priority>0.25</priority>
<lastmod>2025-06-06</lastmod> <lastmod>2025-06-06</lastmod>
</url> </url>
<url>
<loc>https://www.ertpl.pages.dev/tper_bus/extraurbano/template.html</loc>
<priority>0.25</priority>
<lastmod>2025-05-11</lastmod>
</url>
<url> <url>
<loc>https://www.ertpl.pages.dev/tper_bus/extraurbano/newmanc.html</loc> <loc>https://www.ertpl.pages.dev/tper_bus/extraurbano/newmanc.html</loc>
<priority>0.25</priority> <priority>0.25</priority>
@ -441,7 +411,7 @@
<lastmod>2025-05-11</lastmod> <lastmod>2025-05-11</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ertpl.pages.dev/startravenna_bus/urbano/menarinocng.html</loc> <loc>https://www.ertpl.pages.dev/startravenna_bus/urbano/citymoodcng.html</loc>
<priority>0.25</priority> <priority>0.25</priority>
<lastmod>2025-05-11</lastmod> <lastmod>2025-05-11</lastmod>
</url> </url>
@ -470,9 +440,4 @@
<priority>0.25</priority> <priority>0.25</priority>
<lastmod>2025-04-23</lastmod> <lastmod>2025-04-23</lastmod>
</url> </url>
<url>
<loc>https://www.ertpl.pages.dev/seta_menu/test.html</loc>
<priority>0.25</priority>
<lastmod>2025-07-25</lastmod>
</url>
</urlset> </urlset>

View File

@ -9,6 +9,17 @@
--black: #000000; --black: #000000;
} }
@media (max-width: 768px) {
.divtab{
overflow-x: scroll;
}
}
img{
margin-top: 10px;
width: 150px;
}
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
@ -28,8 +39,6 @@ main {
margin: 40px auto; margin: 40px auto;
padding: 30px; padding: 30px;
background-color: var(--bg-color); background-color: var(--bg-color);
/*border-radius: 10px;*/
/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);*/
text-align: center; text-align: center;
} }
@ -138,4 +147,4 @@ nav ul li a {
nav ul li a:hover { nav ul li a:hover {
text-decoration: underline; text-decoration: underline;
} }

View File

@ -32,7 +32,8 @@
</select> </select>
<button type="submit">Carica</button> <button type="submit">Carica</button>
</form> </form>
<table id="tabellaDati"> <div class="divtab">
<table id="tabellaDati">
<thead> <thead>
<tr> <tr>
<th>Linea</th> <th>Linea</th>
@ -44,7 +45,8 @@
</tr> </tr>
</thead> </thead>
<tbody id="corpoTabella"></tbody> <tbody id="corpoTabella"></tbody>
</table> </table>
</div>
</main> </main>
<footer> <footer>
<p>Copyright (C) 2025 ER-TPL Team - <a href="https://ertpl.pages.dev" target="_blank">ertpl.pages.dev</a> - code by EmmeV (Vichingo455) <a href="https://git.vichingo455.freeddns.org/emmev-code/start-livebus" target="_blank">Codice Sorgente</a><br> <p>Copyright (C) 2025 ER-TPL Team - <a href="https://ertpl.pages.dev" target="_blank">ertpl.pages.dev</a> - code by EmmeV (Vichingo455) <a href="https://git.vichingo455.freeddns.org/emmev-code/start-livebus" target="_blank">Codice Sorgente</a><br>

View File

@ -14,6 +14,10 @@
display: block !important; display: block !important;
width: 95.5% !important; width: 95.5% !important;
} }
#tabella-container{
overflow-x: scroll;
}
} }
body { body {
@ -37,7 +41,6 @@ body {
table { table {
border-collapse: collapse; border-collapse: collapse;
border-radius: 8px;
width: 85%; width: 85%;
margin: auto; margin: auto;
margin-top: 1rem; margin-top: 1rem;
@ -47,8 +50,7 @@ th {
background-color: lightslategray; background-color: lightslategray;
} }
th, th, td {
td {
border: 2px solid #444; border: 2px solid #444;
padding: 8px; padding: 8px;
text-align: left; text-align: left;

View File

@ -14,7 +14,7 @@
<header> <header>
<nav> <nav>
<ul> <ul>
<li><a href="index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li> <li><a href="#" onclick="window.close();"><h1 style="font-size: 100%;font-weight: 500;">Chiudi</h1></a></li>
</ul> </ul>
</nav> </nav>
</header> </header>

View File

@ -31,10 +31,14 @@ p {
padding: 20px; padding: 20px;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow-x: scroll;
} }
.filter-container { .filter-container {
margin-top: 20px; display: flex;
justify-content: center;
margin-top: 5px;
margin-bottom: 5px;
max-width: 1000px; max-width: 1000px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -42,7 +46,10 @@ p {
padding: 20px; padding: 20px;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
align-items: center; }
.filter-container button{
margin-left: 15px;
} }
.filter-container input { .filter-container input {
@ -71,6 +78,11 @@ table {
overflow: hidden; overflow: hidden;
} }
table th:nth-child(6),
td:nth-child(6){
display: none;
}
table, table,
th, th,
td { td {
@ -99,12 +111,17 @@ tr:hover td {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.filter-container { table th:nth-child(4),
flex-direction: column; td:nth-child(4){
display: none;
} }
.filter-container input button { .filter-container input{
width: 100%; margin-top: 5px;
}
.filter-container button{
margin-top: 75%;
} }
} }
@ -173,4 +190,12 @@ nav ul li a:hover {
} }
input::placeholder { input::placeholder {
color: white; color: white;
}
.immagine{
display: flex;
justify-content: center;
}
img{
margin-top: 10px;
width: 150px;
} }

View File

@ -2,7 +2,7 @@
<html lang="it"> <html lang="it">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">--> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Start Romagna - Autobus in tempo reale</title> <title>Start Romagna - Autobus in tempo reale</title>
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="img/favicon.ico"> <link rel="shortcut icon" href="img/favicon.ico">
@ -20,16 +20,22 @@
</ul> </ul>
</nav> </nav>
</header> </header>
<center><img src="img/start.png" alt="Start Romagna" width="10%"></center> <div class="immagine">
<img src="img/start.png" alt="Start Romagna">
</div>
<h1>Autobus in tempo reale</h1> <h1>Autobus in tempo reale</h1>
<h3 id="clock">00:00:00</h3> <h3 id="clock">00:00:00</h3>
<!-- Contenitore per i filtri per ogni colonna --> <!-- Contenitore per i filtri per ogni colonna -->
<div class="filter-container"> <div class="filter-container">
<input type="text" id="filterZona" placeholder="Filtra per zona" /> <div>
<input type="text" id="filterLinea" placeholder="Filtra per linea" /> <input type="text" id="filterZona" placeholder="Filtra per zona"/>
<input type="text" id="filterVeicolo" placeholder="Filtra per veicolo" /> <input type="text" id="filterLinea" placeholder="Filtra per linea"/>
<input type="text" id="filterCodiceFermata" placeholder="Filtra per codice fermata" /> <input type="text" id="filterVeicolo" placeholder="Filtra per veicolo"/>
<button type="button" id="resetFilters" onclick="clearFilters()">Reset</button> <input type="text" id="filterCodiceFermata" placeholder="Filtra per codice fermata"/>
</div>
<div>
<button type="button" id="resetFilters" onclick="clearFilters()">Reset</button>
</div>
</div> </div>
<div id="data-container"><p style="text-align: center; color: white;">Caricamento in corso, attendere prego...</p></div> <div id="data-container"><p style="text-align: center; color: white;">Caricamento in corso, attendere prego...</p></div>