improved index page: anchors now have hrefs

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-01-03 23:50:29 +01:00
parent 4bd4cf2f27
commit 422b4ac5ff

View File

@@ -8,6 +8,7 @@ function addCell(row,content,id){
var a = document.createElement('a');
if (content){
a.onclick = e => showOverlay('/static/event?id='+id);
a.href = '/static/event?id='+id;
a.innerHTML = content;
}
row.insertCell().appendChild(a);
@@ -155,6 +156,7 @@ function showOverlay(url){
closeBtn.innerHTML = '✖';
closeBtn.title = 'close overlay';
div.appendChild(closeBtn);
return false;
}
// adds or removes tag from set, updates shown tags