mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-27 23:36:39 +00:00
Just style it a bit
This commit is contained in:
@@ -315,6 +315,8 @@ export default function Page() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function onSubmit() {
|
async function onSubmit() {
|
||||||
|
setShowSnippets(true);
|
||||||
|
router.refresh();
|
||||||
setCreateLoading(true);
|
setCreateLoading(true);
|
||||||
|
|
||||||
const baseData = baseForm.getValues();
|
const baseData = baseForm.getValues();
|
||||||
@@ -1420,7 +1422,9 @@ export default function Page() {
|
|||||||
<h3 className="text-lg font-semibold">
|
<h3 className="text-lg font-semibold">
|
||||||
{t("resourceAddEntrypoints")}
|
{t("resourceAddEntrypoints")}
|
||||||
</h3>
|
</h3>
|
||||||
(Edit file: config/traefik/traefik_config.yml)
|
<p className="text-sm text-muted-foreground">
|
||||||
|
(Edit file: config/traefik/traefik_config.yml)
|
||||||
|
</p>
|
||||||
<CopyTextBox
|
<CopyTextBox
|
||||||
text={`entryPoints:
|
text={`entryPoints:
|
||||||
${tcpUdpForm.getValues("protocol")}-${tcpUdpForm.getValues("proxyPort")}:
|
${tcpUdpForm.getValues("protocol")}-${tcpUdpForm.getValues("proxyPort")}:
|
||||||
@@ -1433,7 +1437,9 @@ export default function Page() {
|
|||||||
<h3 className="text-lg font-semibold">
|
<h3 className="text-lg font-semibold">
|
||||||
{t("resourceExposePorts")}
|
{t("resourceExposePorts")}
|
||||||
</h3>
|
</h3>
|
||||||
(Edit file: docker-compose.yml)
|
<p className="text-sm text-muted-foreground">
|
||||||
|
(Edit file: docker-compose.yml)
|
||||||
|
</p>
|
||||||
<CopyTextBox
|
<CopyTextBox
|
||||||
text={`ports:
|
text={`ports:
|
||||||
- ${tcpUdpForm.getValues("proxyPort")}:${tcpUdpForm.getValues("proxyPort")}${tcpUdpForm.getValues("protocol") === "tcp" ? "" : "/" + tcpUdpForm.getValues("protocol")}`}
|
- ${tcpUdpForm.getValues("proxyPort")}:${tcpUdpForm.getValues("proxyPort")}${tcpUdpForm.getValues("protocol") === "tcp" ? "" : "/" + tcpUdpForm.getValues("protocol")}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user