mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-07-04 08:20:13 +02:00
Merge branch 'development' into main
This commit is contained in:
commit
b30269344d
|
@ -5,7 +5,7 @@ import authService from "../../services/auth.service";
|
||||||
|
|
||||||
const ActionAvatar = () => {
|
const ActionAvatar = () => {
|
||||||
return (
|
return (
|
||||||
<Menu>
|
<Menu position="bottom-start" withinPortal>
|
||||||
<Menu.Target>
|
<Menu.Target>
|
||||||
<ActionIcon>
|
<ActionIcon>
|
||||||
<Avatar size={28} radius="xl" />
|
<Avatar size={28} radius="xl" />
|
||||||
|
|
|
@ -114,27 +114,26 @@ const CreateUploadModalBody = ({
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<Accordion.Item
|
<Accordion.Item value="security" sx={{ borderBottom: "none" }}>
|
||||||
value="Security options"
|
<Accordion.Control>Security options</Accordion.Control>
|
||||||
sx={{ borderBottom: "none" }}
|
<Accordion.Panel>
|
||||||
>
|
<Stack align="stretch">
|
||||||
<Stack align="stretch">
|
<PasswordInput
|
||||||
<PasswordInput
|
variant="filled"
|
||||||
variant="filled"
|
placeholder="No password"
|
||||||
placeholder="No password"
|
label="Password protection"
|
||||||
label="Password protection"
|
{...form.getInputProps("password")}
|
||||||
{...form.getInputProps("password")}
|
/>
|
||||||
/>
|
<NumberInput
|
||||||
|
min={1}
|
||||||
<NumberInput
|
type="number"
|
||||||
min={1}
|
variant="filled"
|
||||||
type="number"
|
placeholder="No limit"
|
||||||
variant="filled"
|
label="Maximal views"
|
||||||
placeholder="No limit"
|
{...form.getInputProps("maxViews")}
|
||||||
label="Maximal views"
|
/>
|
||||||
{...form.getInputProps("maxViews")}
|
</Stack>
|
||||||
/>
|
</Accordion.Panel>
|
||||||
</Stack>
|
|
||||||
</Accordion.Item>
|
</Accordion.Item>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
<Button type="submit">Share</Button>
|
<Button type="submit">Share</Button>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user