mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Tidy up proxy logs, add copy action for headers
This commit is contained in:
@ -11,7 +11,7 @@ import SettingsEthernetIcon from "@material-ui/icons/SettingsEthernet";
|
||||
import SendIcon from "@material-ui/icons/Send";
|
||||
import Link from "next/link";
|
||||
|
||||
import Layout from "../components/Layout";
|
||||
import Layout, { Page } from "../components/Layout";
|
||||
|
||||
const useStyles = makeStyles((theme: Theme) =>
|
||||
createStyles({
|
||||
@ -33,7 +33,7 @@ const useStyles = makeStyles((theme: Theme) =>
|
||||
function Index(): JSX.Element {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Layout>
|
||||
<Layout page={Page.Home} title="">
|
||||
<Box p={4}>
|
||||
<Box mb={4} width="60%">
|
||||
<Typography variant="h2">
|
||||
|
@ -1,16 +1,13 @@
|
||||
import React from "react";
|
||||
import { Box, Button, Typography } from "@material-ui/core";
|
||||
import { Button, Typography } from "@material-ui/core";
|
||||
import ListIcon from "@material-ui/icons/List";
|
||||
import Link from "next/link";
|
||||
|
||||
import Layout from "../../components/Layout";
|
||||
import Layout, { Page } from "../../components/Layout";
|
||||
|
||||
function Index(): JSX.Element {
|
||||
return (
|
||||
<Layout>
|
||||
<Box mb={2}>
|
||||
<Typography variant="h5">Proxy setup</Typography>
|
||||
</Box>
|
||||
<Layout page={Page.ProxySetup} title="Proxy setup">
|
||||
<Typography paragraph>Coming soon…</Typography>
|
||||
<Link href="/proxy/logs" passHref>
|
||||
<Button
|
||||
|
@ -1,14 +1,9 @@
|
||||
import { Typography, Box } from "@material-ui/core";
|
||||
|
||||
import LogsOverview from "../../../components/reqlog/LogsOverview";
|
||||
import Layout from "../../../components/Layout";
|
||||
import Layout, { Page } from "../../../components/Layout";
|
||||
|
||||
function ProxyLogs(): JSX.Element {
|
||||
return (
|
||||
<Layout>
|
||||
<Box mb={2}>
|
||||
<Typography variant="h5">Proxy logs</Typography>
|
||||
</Box>
|
||||
<Layout page={Page.ProxyLogs} title="Proxy logs">
|
||||
<LogsOverview />
|
||||
</Layout>
|
||||
);
|
||||
|
@ -1,13 +1,10 @@
|
||||
import { Box, Typography } from "@material-ui/core";
|
||||
|
||||
import Layout from "../../components/Layout";
|
||||
import Layout, { Page } from "../../components/Layout";
|
||||
|
||||
function Index(): JSX.Element {
|
||||
return (
|
||||
<Layout>
|
||||
<Box mb={2}>
|
||||
<Typography variant="h5">Sender</Typography>
|
||||
</Box>
|
||||
<Layout page={Page.Sender} title="Sender">
|
||||
<Typography paragraph>Coming soon…</Typography>
|
||||
</Layout>
|
||||
);
|
||||
|
Reference in New Issue
Block a user