You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-04 04:11:42 +03:00
Proxy host modal basis, other improvements
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { IconSettings } from "@tabler/icons-react";
|
||||
import cn from "classnames";
|
||||
import { Field, Form, Formik } from "formik";
|
||||
import { useState } from "react";
|
||||
import { Alert } from "react-bootstrap";
|
||||
@@ -150,7 +151,7 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
htmlFor="forwardScheme"
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "redirect-host.forward-scheme",
|
||||
id: "host.forward-scheme",
|
||||
})}
|
||||
</label>
|
||||
<select
|
||||
@@ -187,7 +188,7 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
htmlFor="forwardDomainName"
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "redirect-host.forward-domain",
|
||||
id: "redirection-host.forward-domain",
|
||||
})}
|
||||
</label>
|
||||
<input
|
||||
@@ -230,7 +231,9 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
<input
|
||||
{...field}
|
||||
id="preservePath"
|
||||
className="form-check-input"
|
||||
className={cn("form-check-input", {
|
||||
"bg-yellow": field.checked,
|
||||
})}
|
||||
type="checkbox"
|
||||
/>
|
||||
</label>
|
||||
@@ -253,7 +256,9 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
<input
|
||||
{...field}
|
||||
id="blockExploits"
|
||||
className="form-check-input"
|
||||
className={cn("form-check-input", {
|
||||
"bg-yellow": field.checked,
|
||||
})}
|
||||
type="checkbox"
|
||||
/>
|
||||
</label>
|
||||
@@ -271,7 +276,7 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
label="ssl-certificate"
|
||||
allowNew
|
||||
/>
|
||||
<SSLOptionsFields />
|
||||
<SSLOptionsFields color="bg-yellow" />
|
||||
</div>
|
||||
<div className="tab-pane" id="tab-advanced" role="tabpanel">
|
||||
<NginxConfigField />
|
||||
@@ -287,7 +292,7 @@ export function RedirectionHostModal({ id, onClose }: Props) {
|
||||
<Button
|
||||
type="submit"
|
||||
actionType="primary"
|
||||
className="ms-auto"
|
||||
className="ms-auto bg-yellow"
|
||||
data-bs-dismiss="modal"
|
||||
isLoading={isSubmitting}
|
||||
disabled={isSubmitting}
|
||||
|
||||
Reference in New Issue
Block a user