mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-18 03:16:12 +02:00
added link to git commit from git sha in footer (feature request from @stefan123t)
This commit is contained in:
parent
1d385b1d60
commit
2a3c267906
7 changed files with 34 additions and 13 deletions
|
@ -268,7 +268,9 @@
|
|||
function parseSys(obj) {
|
||||
for(var i of [["device", "device_name"], ["ssid", "ssid"]])
|
||||
document.getElementsByName(i[0])[0].value = obj[i[1]];
|
||||
document.getElementById("version").innerHTML = "Git SHA: " + obj["build"] + " :: " + obj["version"];
|
||||
document.getElementById("version").appendChild(
|
||||
link("https://github.com/lumapu/ahoy/commits/" + obj["build"], "Git SHA: " + obj["build"] + " :: " + obj["version"], "_blank")
|
||||
);
|
||||
}
|
||||
|
||||
function parseIv(obj) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue