mirror of https://github.com/aredn/aredn.git
Improve tunnel "email" messaging (#1773)
This commit is contained in:
parent
f48d52a614
commit
0c7d6a514a
|
@ -575,7 +575,7 @@ This value is used by default, but each tunnel may overide it.
|
|||
const type = htmx.find(t, "div[data-type]").dataset.type;
|
||||
if (name.validity.valid && passwd.validity.valid && network.validity.valid) {
|
||||
const blob = new Blob([
|
||||
`<h2>Connection details for ${name.value}</h2>
|
||||
`<h2>${type == "ls" ? "Legacy" : "Wireguard"} Client connection details for ${name.value}</h2>
|
||||
<div>Name: ${name.value}</div>
|
||||
<div style="white-space:nowrap">${type == "ls" ? "Password" : "Wireguard key"}: ${passwd.value}</div>
|
||||
<div>Network: ${network.value}</div>
|
||||
|
|
Loading…
Reference in New Issue