Compare commits

..

2 Commits

Author SHA1 Message Date
7089b8b7d0 Merge branch 'main' of https://git.send.nrw/sendnrw/ipv6calculator
All checks were successful
release-tag / release-image (push) Successful in 2m31s
build-binaries / build (, amd64, linux) (push) Has been skipped
build-binaries / build (, arm, 7, linux) (push) Has been skipped
build-binaries / build (, arm64, linux) (push) Has been skipped
build-binaries / build (.exe, amd64, windows) (push) Has been skipped
build-binaries / release (push) Has been skipped
2025-09-18 11:22:24 +02:00
da09de4ba3 Änderung des ULA auf /64 2025-09-18 11:22:19 +02:00

View File

@@ -428,16 +428,17 @@ var singlePageHTML = `<!DOCTYPE html>
</form>
{{if .HaveResult}}
<div>
<h2>Windows 11-Eingaben</h2>
<h2>Windows-Eingaben</h2>
<p style="color:#b00">Verwenden Sie ausschließlich den 'alten' Dialog über die klassische Systemsteuerung! Nicht das 'moderne' UI über Einstellungen, da sonst zusätzliche IP-Adressen gelöscht werden!</p>
<div class="row"><label>IP-Adresse</label><input readonly id="ip" value="{{.IPv6}}"><button type="button" class="copy" id="ipBtn" onclick="copy('ip')">Copy</button></div>
<div class="row"><label>Subnetzpräfix</label><input readonly id="pl" value="96"><button type="button" class="copy" id="plBtn" onclick="copy('pl')">Copy</button></div>
<div class="row"><label>Subnetzpräfix</label><input readonly id="pl" value="64"><button type="button" class="copy" id="plBtn" onclick="copy('pl')">Copy</button></div>
<div class="row"><label>Gateway</label><input readonly id="gw" value="{{.Gateway}}"><button type="button" class="copy" id="gwBtn" onclick="copy('gw')">Copy</button></div>
<div class="row"><label>DNS bevorzugt</label><input readonly id="dns1" value="{{.DNS1}}"><button type="button" class="copy" id="dns1Btn" onclick="copy('dns1')">Copy</button></div>
<div class="row"><label>DNS alternativ</label><input readonly id="dns2" value="{{.DNS2}}"><button type="button" class="copy" id="dns2Btn" onclick="copy('dns2')">Copy</button></div>
</div>
{{end}}
{{if .Error}}<p style="color:#b00">Fehler: {{.Error}}</p>{{end}}
<p style="margin-top:1rem">Aktives Präfix: <code>%s</code> (/96)</p>
<p style="margin-top:1rem">Aktives Präfix: <code>%s</code> (/64)</p>
</body></html>`
var rangePageHTML = `<!DOCTYPE html>