mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-15 12:06:11 +02:00
Support external routes
This commit is contained in:
parent
b5670d9a71
commit
52a55f71e6
10 changed files with 52 additions and 52 deletions
web/src/components
|
@ -37,7 +37,6 @@ const Preferences = () => {
|
|||
<Container maxWidth="md" sx={{marginTop: 3, marginBottom: 3}}>
|
||||
<Stack spacing={3}>
|
||||
<Notifications/>
|
||||
<DefaultServer/>
|
||||
<Users/>
|
||||
</Stack>
|
||||
</Container>
|
||||
|
@ -140,29 +139,6 @@ const Pref = (props) => {
|
|||
);
|
||||
};
|
||||
|
||||
const DefaultServer = (props) => {
|
||||
return (
|
||||
<Card sx={{ padding: 1 }}>
|
||||
<CardContent>
|
||||
<Typography variant="h5">
|
||||
Default server
|
||||
</Typography>
|
||||
<Paragraph>
|
||||
This server is used as a default when adding new topics.
|
||||
</Paragraph>
|
||||
<TextField
|
||||
margin="dense"
|
||||
id="defaultBaseUrl"
|
||||
placeholder="https://ntfy.sh"
|
||||
type="text"
|
||||
fullWidth
|
||||
variant="standard"
|
||||
/>
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
const Users = () => {
|
||||
const [dialogKey, setDialogKey] = useState(0);
|
||||
const [dialogOpen, setDialogOpen] = useState(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue