Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 3, 2024
1 parent 5dc5592 commit 3a7ba06
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3cc54346
cebcaa07
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"href": "web/dashboard.html",
"title": "Camins d’Aigua",
"section": "",
"text": "Seguiment per comarques\n\n\n\n\n\n\n \n\n \n \n \n \n \n \n comarca\n length_osm\n length_icgc\n ratio\n \n \n \n \n \n Alt Camp \n 488,29 \n 1.142,06\n 42,76% \n \n \n Alt Empordà \n 1.878,90\n 2.640,15\n 71,17% \n \n \n Alt Penedès \n 768,80 \n 1.369,05\n 56,16% \n \n \n Alt Urgell \n 1.951,50\n 3.875,76\n 50,35% \n \n \n Alta Ribagorça \n 583,83 \n 1.323,30\n 44,12% \n \n \n Anoia \n 973,88 \n 2.075,36\n 46,93% \n \n \n Bages \n 1.766,42\n 2.693,75\n 65,57% \n \n \n Baix Camp \n 884,79 \n 1.647,60\n 53,70% \n \n \n Baix Ebre \n 1.253,16\n 2.261,28\n 55,42% \n \n \n Baix Empordà \n 784,42 \n 1.141,72\n 68,71% \n \n \n Baix Llobregat \n 946,21 \n 1.013,61\n 93,35% \n \n \n Baix Penedès \n 329,71 \n 690,56 \n 47,74% \n \n \n Barcelonès \n 181,66 \n 273,08 \n 66,52% \n \n \n Berguedà \n 1.454,77\n 2.877,05\n 50,56% \n \n \n Cerdanya \n 926,91 \n 1.192,22\n 77,75% \n \n \n Conca de Barberà \n 582,65 \n 1.437,71\n 40,53% \n \n \n Garraf \n 329,02 \n 451,17 \n 72,93% \n \n \n Garrigues \n 230,03 \n 1.332,94\n 17,26% \n \n \n Garrotxa \n 1.553,56\n 1.899,53\n 81,79% \n \n \n Gironès \n 752,89 \n 1.150,84\n 65,42% \n \n \n Lluçanès \n 215,13 \n 571,35 \n 37,65% \n \n \n Maresme \n 1.254,28\n 916,68 \n 136,83%\n \n \n Moianès \n 417,37 \n 821,29 \n 50,82% \n \n \n Montsià \n 987,78 \n 1.110,86\n 88,92% \n \n \n Noguera \n 1.161,83\n 3.271,01\n 35,52% \n \n \n Osona \n 2.082,60\n 2.228,27\n 93,46% \n \n \n Pallars Jussà \n 1.716,02\n 3.477,89\n 49,34% \n \n \n Pallars Sobirà \n 2.043,12\n 3.450,59\n 59,21% \n \n \n Pla d'Urgell \n 136,70 \n 164,75 \n 82,97% \n \n \n Pla de l'Estany \n 459,14 \n 570,34 \n 80,50% \n \n \n Priorat \n 628,18 \n 1.339,08\n 46,91% \n \n \n Ribera d'Ebre \n 444,96 \n 2.180,47\n 20,41% \n \n \n Ripollès \n 1.750,89\n 2.221,60\n 78,81% \n \n \n Segarra \n 122,83 \n 1.003,11\n 12,24% \n \n \n Segrià \n 779,48 \n 1.712,23\n 45,52% \n \n \n Selva \n 1.629,68\n 2.510,41\n 64,92% \n \n \n Solsonès \n 1.022,53\n 2.670,21\n 38,29% \n \n \n Tarragonès \n 493,49 \n 485,16 \n 101,72%\n \n \n Terra Alta \n 529,72 \n 1.844,55\n 28,72% \n \n \n Urgell \n 296,05 \n 699,34 \n 42,33% \n \n \n Val d'Aran \n 1.573,02\n 1.586,99\n 99,12% \n \n \n Vallès Occidental\n 1.325,01\n 1.312,19\n 100,98%\n \n \n Vallès Oriental \n 1.932,76\n 1.664,54\n 116,11%\n \n \n \n \n\n\n\n\n\n\nLongitud cursos d’aigua ICGC: 70.302 km\nLongitud cursos d’aigua OSM: 41.624 km\nPercentatge de cursos d’aigua a OSM: 59.21%\n\n\n\n\nMapes"
"text": "Seguiment per comarques\n\n\n\n\n\n\n \n\n \n \n \n \n \n \n comarca\n length_osm\n length_icgc\n ratio\n \n \n \n \n \n Alt Camp \n 488,29 \n 1.142,06\n 42,76% \n \n \n Alt Empordà \n 1.878,90\n 2.640,15\n 71,17% \n \n \n Alt Penedès \n 768,80 \n 1.369,05\n 56,16% \n \n \n Alt Urgell \n 1.951,50\n 3.875,76\n 50,35% \n \n \n Alta Ribagorça \n 583,83 \n 1.323,30\n 44,12% \n \n \n Anoia \n 973,88 \n 2.075,36\n 46,93% \n \n \n Bages \n 1.766,42\n 2.693,75\n 65,57% \n \n \n Baix Camp \n 907,08 \n 1.647,60\n 55,05% \n \n \n Baix Ebre \n 1.253,16\n 2.261,28\n 55,42% \n \n \n Baix Empordà \n 784,42 \n 1.141,72\n 68,71% \n \n \n Baix Llobregat \n 946,21 \n 1.013,61\n 93,35% \n \n \n Baix Penedès \n 329,71 \n 690,56 \n 47,74% \n \n \n Barcelonès \n 181,66 \n 273,08 \n 66,52% \n \n \n Berguedà \n 1.454,77\n 2.877,05\n 50,56% \n \n \n Cerdanya \n 926,91 \n 1.192,22\n 77,75% \n \n \n Conca de Barberà \n 582,65 \n 1.437,71\n 40,53% \n \n \n Garraf \n 329,02 \n 451,17 \n 72,93% \n \n \n Garrigues \n 230,03 \n 1.332,94\n 17,26% \n \n \n Garrotxa \n 1.553,56\n 1.899,53\n 81,79% \n \n \n Gironès \n 752,89 \n 1.150,84\n 65,42% \n \n \n Lluçanès \n 215,13 \n 571,35 \n 37,65% \n \n \n Maresme \n 1.254,28\n 916,68 \n 136,83%\n \n \n Moianès \n 417,37 \n 821,29 \n 50,82% \n \n \n Montsià \n 987,78 \n 1.110,86\n 88,92% \n \n \n Noguera \n 1.161,83\n 3.271,01\n 35,52% \n \n \n Osona \n 2.082,63\n 2.228,27\n 93,46% \n \n \n Pallars Jussà \n 1.716,02\n 3.477,89\n 49,34% \n \n \n Pallars Sobirà \n 2.043,12\n 3.450,59\n 59,21% \n \n \n Pla d'Urgell \n 136,70 \n 164,75 \n 82,97% \n \n \n Pla de l'Estany \n 459,14 \n 570,34 \n 80,50% \n \n \n Priorat \n 628,18 \n 1.339,08\n 46,91% \n \n \n Ribera d'Ebre \n 444,96 \n 2.180,47\n 20,41% \n \n \n Ripollès \n 1.750,89\n 2.221,60\n 78,81% \n \n \n Segarra \n 122,83 \n 1.003,11\n 12,24% \n \n \n Segrià \n 779,48 \n 1.712,23\n 45,52% \n \n \n Selva \n 1.629,68\n 2.510,41\n 64,92% \n \n \n Solsonès \n 1.022,53\n 2.670,21\n 38,29% \n \n \n Tarragonès \n 493,49 \n 485,16 \n 101,72%\n \n \n Terra Alta \n 529,72 \n 1.844,55\n 28,72% \n \n \n Urgell \n 296,05 \n 699,34 \n 42,33% \n \n \n Val d'Aran \n 1.573,02\n 1.586,99\n 99,12% \n \n \n Vallès Occidental\n 1.325,01\n 1.312,19\n 100,98%\n \n \n Vallès Oriental \n 1.932,76\n 1.664,54\n 116,11%\n \n \n \n \n\n\n\n\n\n\nLongitud cursos d’aigua ICGC: 70.302 km\nLongitud cursos d’aigua OSM: 41.646 km\nPercentatge de cursos d’aigua a OSM: 59.24%\n\n\n\n\nMapes"
}
]
2 changes: 1 addition & 1 deletion sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://osm-catalan.github.io/caminsdaigua/web/dashboard.html</loc>
<lastmod>2024-12-02T00:40:22.539Z</lastmod>
<lastmod>2024-12-03T00:39:31.216Z</lastmod>
</url>
</urlset>
32 changes: 16 additions & 16 deletions web/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ <h1>Seguiment per comarques</h1>

<script>

function styleCell_k8ch8etitmg1etr4u84z(i, j, css_id) {
var table = document.getElementById("tinytable_k8ch8etitmg1etr4u84z");
function styleCell_f5fd6zhv3v4azxd6i68s(i, j, css_id) {
var table = document.getElementById("tinytable_f5fd6zhv3v4azxd6i68s");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -144,16 +144,16 @@ <h1>Seguiment per comarques</h1>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_k8ch8etitmg1etr4u84z');
var table = document.getElementById('tinytable_f5fd6zhv3v4azxd6i68s');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_k8ch8etitmg1etr4u84z(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_k8ch8etitmg1etr4u84z");
function spanCell_f5fd6zhv3v4azxd6i68s(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_f5fd6zhv3v4azxd6i68s");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -183,26 +183,26 @@ <h1>Seguiment per comarques</h1>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_kt6iy15xqillnjurdpe6',},
{ positions: [ { i: 43, j: 0 }, { i: 43, j: 1 }, { i: 43, j: 2 }, { i: 43, j: 3 }, ], css_id: 'tinytable_css_h15sdympk30whoijvtod',},
{ positions: [ { i: 43, j: 0 }, { i: 43, j: 1 }, { i: 43, j: 2 }, { i: 43, j: 3 }, ], css_id: 'tinytable_css_yl7m0nulpdw9vybwrdva',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_5mi5967q4o2kqxr5urtm',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_k8ch8etitmg1etr4u84z(cell.i, cell.j, group.css_id);
styleCell_f5fd6zhv3v4azxd6i68s(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_kt6iy15xqillnjurdpe6, .table th.tinytable_css_kt6iy15xqillnjurdpe6 { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_h15sdympk30whoijvtod, .table th.tinytable_css_h15sdympk30whoijvtod { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_yl7m0nulpdw9vybwrdva, .table th.tinytable_css_yl7m0nulpdw9vybwrdva { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_5mi5967q4o2kqxr5urtm, .table th.tinytable_css_5mi5967q4o2kqxr5urtm { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_k8ch8etitmg1etr4u84z" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_f5fd6zhv3v4azxd6i68s" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -258,9 +258,9 @@ <h1>Seguiment per comarques</h1>
</tr>
<tr>
<td>Baix Camp </td>
<td>884,79 </td>
<td>907,08 </td>
<td>1.647,60</td>
<td>53,70% </td>
<td>55,05% </td>
</tr>
<tr>
<td>Baix Ebre </td>
Expand Down Expand Up @@ -366,7 +366,7 @@ <h1>Seguiment per comarques</h1>
</tr>
<tr>
<td>Osona </td>
<td>2.082,60</td>
<td>2.082,63</td>
<td>2.228,27</td>
<td>93,46% </td>
</tr>
Expand Down Expand Up @@ -482,8 +482,8 @@ <h1>Seguiment per comarques</h1>
<!-- empty column to create gap -->
</div><div class="column" style="width:20%;">
<p>Longitud cursos d’aigua ICGC: 70.302 km</p>
<p>Longitud cursos d’aigua OSM: 41.624 km</p>
<p>Percentatge de cursos d’aigua a OSM: 59.21%</p>
<p>Longitud cursos d’aigua OSM: 41.646 km</p>
<p>Percentatge de cursos d’aigua a OSM: 59.24%</p>
</div>
</div>
</section>
Expand Down
Binary file modified web/dashboard_files/figure-html/unnamed-chunk-7-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a7ba06

Please sign in to comment.