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 17, 2024
1 parent a07ff07 commit 90fd5e3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
96b5ea9f
eba01521
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-16T00:40:53.760Z</lastmod>
<lastmod>2024-12-17T00:39:50.279Z</lastmod>
</url>
</urlset>
24 changes: 12 additions & 12 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_3e4czo8x4p4m165uurst(i, j, css_id) {
var table = document.getElementById("tinytable_3e4czo8x4p4m165uurst");
function styleCell_6ua7vm9p70f4jn3jq0nb(i, j, css_id) {
var table = document.getElementById("tinytable_6ua7vm9p70f4jn3jq0nb");
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_3e4czo8x4p4m165uurst');
var table = document.getElementById('tinytable_6ua7vm9p70f4jn3jq0nb');
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_3e4czo8x4p4m165uurst(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_3e4czo8x4p4m165uurst");
function spanCell_6ua7vm9p70f4jn3jq0nb(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_6ua7vm9p70f4jn3jq0nb");
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: 43, j: 0 }, { i: 43, j: 1 }, { i: 43, j: 2 }, { i: 43, j: 3 }, ], css_id: 'tinytable_css_j7dpikytekt7m8zipqay',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_fpnbfk3r5zey599j4ihf',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_u958618dg2z89z59r7xe',},
{ positions: [ { i: 43, j: 0 }, { i: 43, j: 1 }, { i: 43, j: 2 }, { i: 43, j: 3 }, ], css_id: 'tinytable_css_mzugiu99tyqgf1191wh2',},
];

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

<style>
/* tinytable css entries after */
.table td.tinytable_css_j7dpikytekt7m8zipqay, .table th.tinytable_css_j7dpikytekt7m8zipqay { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_fpnbfk3r5zey599j4ihf, .table th.tinytable_css_fpnbfk3r5zey599j4ihf { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_u958618dg2z89z59r7xe, .table th.tinytable_css_u958618dg2z89z59r7xe { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_mzugiu99tyqgf1191wh2, .table th.tinytable_css_mzugiu99tyqgf1191wh2 { border-bottom: solid #d3d8dc 0.1em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_3e4czo8x4p4m165uurst" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_6ua7vm9p70f4jn3jq0nb" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -492,7 +492,7 @@ <h1>Mapes</h1>
<div>

</div>
<div class="cell quarto-layout-panel" data-layout-nrow="2" data-layout-ncol="2">
<div class="cell quarto-layout-panel" data-layout-ncol="2" data-layout-nrow="2">
<div class="quarto-layout-row">
<div class="quarto-layout-cell" style="flex-basis: 50.0%;justify-content: center;">
<p><img src="dashboard_files/figure-html/unnamed-chunk-7-1.png" class="img-fluid" width="672"></p>
Expand Down

0 comments on commit 90fd5e3

Please sign in to comment.