mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-05 02:39:07 +02:00
Finish adding ssh toggle
This commit is contained in:
+2
-1
@@ -3455,5 +3455,6 @@
|
|||||||
"sshErrorNoTarget": "No target specified",
|
"sshErrorNoTarget": "No target specified",
|
||||||
"sshErrorWebSocket": "WebSocket connection failed",
|
"sshErrorWebSocket": "WebSocket connection failed",
|
||||||
"sshErrorAuthFailed": "Authentication failed",
|
"sshErrorAuthFailed": "Authentication failed",
|
||||||
"sshErrorConnectionClosed": "Connection closed before authentication completed"
|
"sshErrorConnectionClosed": "Connection closed before authentication completed",
|
||||||
|
"sitePangolinSshDescription": "Allow SSH access to resources on this site. This can be changed later."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -286,8 +286,15 @@ WantedBy=default.target`
|
|||||||
label={t("siteAcceptClientConnections")}
|
label={t("siteAcceptClientConnections")}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<p
|
||||||
|
id="acceptClients-desc"
|
||||||
|
className="text-sm text-muted-foreground"
|
||||||
|
>
|
||||||
|
{t("siteAcceptClientConnectionsDescription")}
|
||||||
|
</p>
|
||||||
{supportsSshOption && (
|
{supportsSshOption && (
|
||||||
<div className="flex items-center space-x-2 mb-2">
|
<>
|
||||||
|
<div className="flex items-center space-x-2 mb-2 mt-2">
|
||||||
<CheckboxWithLabel
|
<CheckboxWithLabel
|
||||||
id="allowPangolinSsh"
|
id="allowPangolinSsh"
|
||||||
checked={allowPangolinSsh}
|
checked={allowPangolinSsh}
|
||||||
@@ -298,13 +305,14 @@ WantedBy=default.target`
|
|||||||
label="Allow Pangolin SSH"
|
label="Allow Pangolin SSH"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
|
||||||
<p
|
<p
|
||||||
id="acceptClients-desc"
|
id="allowPangolinSsh-desc"
|
||||||
className="text-sm text-muted-foreground"
|
className="text-sm text-muted-foreground"
|
||||||
>
|
>
|
||||||
{t("siteAcceptClientConnectionsDescription")}
|
{t("sitePangolinSshDescription")}
|
||||||
</p>
|
</p>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="pt-4">
|
<div className="pt-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user