DB setup details for docker + small fixes
This commit is contained in:
@@ -364,11 +364,11 @@ if (submit && isset($_POST['langselector_set'])) {
|
||||
<div class="box">
|
||||
<div class="box-body" style="text-align: center;">
|
||||
<h5 class="text-aqua" style="font-size: 16px;">
|
||||
<span>
|
||||
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/jokob-sk/pi.alert/main?logo=github&style=plastic">
|
||||
<span id="lastCommit">
|
||||
|
||||
</span>
|
||||
<span>
|
||||
<img alt="Docker last pushed" src="https://img.shields.io/badge/dynamic/json?color=blue&label=Last%20pushed&query=last_updated&url=https%3A%2F%2Fhub.docker.com%2Fv2%2Frepositories%2Fjokobsk%2Fpi.alert%2F&logo=docker&?link=http://left&link=https://hub.docker.com/repository/docker/jokobsk/pi.alert">
|
||||
<span id="lastDockerUpdate">
|
||||
|
||||
</span>
|
||||
</h5>
|
||||
</div>
|
||||
@@ -570,6 +570,18 @@ function PiaToggleArpScan()
|
||||
});
|
||||
}
|
||||
|
||||
// laod footer asynchronously not to block the page load/other sections
|
||||
window.onload = function asyncFooter()
|
||||
{
|
||||
$("#lastCommit").append('<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/jokob-sk/pi.alert/main?logo=github&style=plastic">');
|
||||
|
||||
$("#lastDockerUpdate").append(
|
||||
'<img alt="Docker last pushed" src="https://img.shields.io/badge/dynamic/json?color=blue&label=Last%20pushed&query=last_updated&url=https%3A%2F%2Fhub.docker.com%2Fv2%2Frepositories%2Fjokobsk%2Fpi.alert%2F&logo=docker&?link=http://left&link=https://hub.docker.com/repository/docker/jokobsk/pi.alert">');
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user