mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
#591 - php
This commit is contained in:
@ -24,6 +24,8 @@ import ServerHeader from '@/pages/servers/components/header';
|
||||
import Layout from '@/layouts/app/layout';
|
||||
import { usePage, usePoll } from '@inertiajs/react';
|
||||
import { Site } from '@/types/site';
|
||||
import PHPIcon from '@/icons/php';
|
||||
import NodeIcon from '@/icons/node';
|
||||
|
||||
export default function ServerLayout({ children }: { children: ReactNode }) {
|
||||
usePoll(7000);
|
||||
@ -92,6 +94,18 @@ export default function ServerLayout({ children }: { children: ReactNode }) {
|
||||
]
|
||||
: [],
|
||||
},
|
||||
{
|
||||
title: 'PHP',
|
||||
href: route('php', { server: page.props.server.id }),
|
||||
icon: PHPIcon,
|
||||
isDisabled: isMenuDisabled,
|
||||
},
|
||||
{
|
||||
title: 'NodeJS',
|
||||
href: '#',
|
||||
icon: NodeIcon,
|
||||
isDisabled: isMenuDisabled,
|
||||
},
|
||||
{
|
||||
title: 'Firewall',
|
||||
href: route('firewall', { server: page.props.server.id }),
|
||||
|
Reference in New Issue
Block a user