This commit is contained in:
Lea 2024-01-18 00:47:44 +01:00
parent c9421cebb4
commit d3cdc84d33
Signed by: Lea
GPG key ID: 1BAFFE8347019C42
4 changed files with 10 additions and 12 deletions

View file

@ -47,8 +47,6 @@ RUN chown nextjs:nodejs .next
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
ENV PORT 3000

View file

@ -54,7 +54,7 @@ export default function Aliases() {
</Button>
<Button
size="1"
variant="solid"
variant="soft"
onClick={() => deleteAlias(alias.alias)
.then(() => setAliases(aliases?.filter(a => a.id != alias.id)))}
>
@ -96,7 +96,7 @@ export default function Aliases() {
<Dialog.Trigger>
<Button
size="1"
variant="solid"
variant="soft"
>
Delete
</Button>
@ -111,7 +111,7 @@ export default function Aliases() {
</Dialog.Close>
<Dialog.Close>
<Button
variant="solid"
variant="soft"
onClick={() => deleteAlias(alias.alias)
.then(() => setAliases(aliases?.filter(a => a.id != alias.id)))}
>

View file

@ -1,3 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

View file

@ -168,7 +168,7 @@ export default function SelfService() {
{validPassword
? (
<Button
variant="solid"
variant="soft"
onClick={async () => {
setNewPassword("");
@ -184,7 +184,7 @@ export default function SelfService() {
)
: (
<Tooltip content="The password must have a minimum length of 8 characters">
<Button variant="solid" disabled>Update</Button>
<Button variant="soft" disabled>Update</Button>
</Tooltip>
)
}
@ -285,7 +285,7 @@ export default function SelfService() {
</Dialog.Close>
<Dialog.Close>
<Button
variant="solid"
variant="soft"
disabled={!allowAlias}
onClick={async () => {
setNewAliasUsername("");
@ -298,7 +298,7 @@ export default function SelfService() {
console.error(e);
alert(e);
}
}}>Change</Button>
}}>Create</Button>
</Dialog.Close>
</Flex>
</Dialog.Content>
@ -327,7 +327,7 @@ export default function SelfService() {
<Table.Cell justify='end'>
<Dialog.Root>
<Dialog.Trigger>
<Button variant="solid" size="1" mr="2">Delete</Button>
<Button variant="soft" size="1" mr="2">Delete</Button>
</Dialog.Trigger>
<Dialog.Content>
@ -343,7 +343,7 @@ export default function SelfService() {
</Dialog.Close>
<Dialog.Close>
<Button
variant="solid"
variant="soft"
onClick={async () => {
try {
await deleteAlias(alias.alias);