added link to git commit from git sha in footer (feature request from @stefan123t)

This commit is contained in:
lumapu 2022-10-22 23:35:56 +02:00
parent 1d385b1d60
commit 2a3c267906
7 changed files with 34 additions and 13 deletions

View file

@ -93,3 +93,12 @@ function span(val, cl=null, id=null) {
function br() {
return document.createElement('br');
}
function link(dst, text, target=null) {
var a = document.createElement('a');
var t = document.createTextNode(text);
a.href = dst;
a.target = target;
a.appendChild(t);
return a;
}