mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Including link to WROLPi help service.
This commit is contained in:
parent
47044cdd1f
commit
cbd4922049
1 changed files with 21 additions and 0 deletions
|
|
@ -105,6 +105,20 @@
|
|||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.help-link {
|
||||
margin-top: 1.5em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.help-link a {
|
||||
color: #5829bb;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.help-link a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -127,6 +141,10 @@
|
|||
<div class="warning">
|
||||
<strong>Do not power off</strong> your device or close this window during the upgrade.
|
||||
</div>
|
||||
|
||||
<p class="help-link">
|
||||
<a id="helpLink" href="#" target="_blank">WROLPi Help</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
|
@ -184,6 +202,9 @@
|
|||
|
||||
// Initial check
|
||||
checkApiStatus();
|
||||
|
||||
// Set help link to correct hostname
|
||||
document.getElementById('helpLink').href = `https://${window.location.hostname}:8086`;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue