mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-17 06:54:34 +00:00
- Added upstream objects
- Renamed host templates to nginx templates - Generate upstream templates - Better nginx error reporting when reloading - Use tparse for golang test reporting
This commit is contained in:
@ -51,7 +51,16 @@ const navItems: NavItem[] = [
|
||||
{
|
||||
label: intl.formatMessage({ id: "hosts.title" }),
|
||||
icon: <Icon as={FiMonitor} />,
|
||||
to: "/hosts",
|
||||
subItems: [
|
||||
{
|
||||
label: intl.formatMessage({ id: "hosts.title" }),
|
||||
to: "/hosts",
|
||||
},
|
||||
{
|
||||
label: intl.formatMessage({ id: "upstreams.title" }),
|
||||
to: "/upstreams",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: intl.formatMessage({ id: "access-lists.title" }),
|
||||
@ -95,8 +104,8 @@ const navItems: NavItem[] = [
|
||||
to: "/settings/general",
|
||||
},
|
||||
{
|
||||
label: intl.formatMessage({ id: "host-templates.title" }),
|
||||
to: "/settings/host-templates",
|
||||
label: intl.formatMessage({ id: "nginx-templates.title" }),
|
||||
to: "/settings/nginx-templates",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -212,13 +212,13 @@ function PermissionSelector({
|
||||
</Stack>
|
||||
<Stack direction={{ base: "column", md: "row" }}>
|
||||
<Flex flex={1}>
|
||||
{intl.formatMessage({ id: "host-templates.title" })}
|
||||
{intl.formatMessage({ id: "nginx-templates.title" })}
|
||||
</Flex>
|
||||
<Flex flex={1}>
|
||||
<Select
|
||||
defaultValue={getDefaultValue("host-templates")}
|
||||
defaultValue={getDefaultValue("nginx-templates")}
|
||||
onChange={onSelectChange}
|
||||
name="host-templates"
|
||||
name="nginx-templates"
|
||||
size="sm"
|
||||
variant="filled"
|
||||
disabled={!selected}>
|
||||
|
Reference in New Issue
Block a user