Re-run linter
This commit is contained in:
parent
ccfcdc75f4
commit
fd3f3f26af
@ -7,8 +7,9 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
||||
'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-family:
|
||||
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
||||
'Helvetica Neue', sans-serif;
|
||||
color: var(--in-text-color);
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,9 @@
|
||||
}
|
||||
];
|
||||
|
||||
let entries = $derived(links.filter((link) => hasPrivileges(user.privileges || [], link.privileges)));
|
||||
let entries = $derived(
|
||||
links.filter((link) => hasPrivileges(user.privileges || [], link.privileges))
|
||||
);
|
||||
</script>
|
||||
|
||||
<aside class="admin-sidebar">
|
||||
|
@ -1,32 +1,32 @@
|
||||
{
|
||||
"authorize": {
|
||||
"title": "Authorize application",
|
||||
"errorPage": "The authorization URL provided is invalid or malformed. Please forward this message to the developers of the application you came here from:",
|
||||
"authorize": "Authorize the application",
|
||||
"reject": "Reject",
|
||||
"allowed": "This application will have access to..",
|
||||
"disallowed": "This application will NOT have access to..",
|
||||
"scope": {
|
||||
"profile": "Your username and display name",
|
||||
"email": "Your email address",
|
||||
"picture": "Your profile picture",
|
||||
"account": "Changing your password or other account settings",
|
||||
"management": "Commit administrative actions to the extent of your user privileges"
|
||||
},
|
||||
"link": {
|
||||
"website": "Website",
|
||||
"privacy": "Privacy policy",
|
||||
"terms": "Terms of Service"
|
||||
}
|
||||
},
|
||||
"device": {
|
||||
"title": "Authorize device",
|
||||
"description": "Please enter the code displayed on your device to proceed.",
|
||||
"deviceCode": "Device code",
|
||||
"success": "Success! Please check back to your device for further instructions. You may now close this window."
|
||||
},
|
||||
"errors": {
|
||||
"noCode": "Please enter a code.",
|
||||
"invalidCode": "The provided code is invalid or it has expired"
|
||||
}
|
||||
"authorize": {
|
||||
"title": "Authorize application",
|
||||
"errorPage": "The authorization URL provided is invalid or malformed. Please forward this message to the developers of the application you came here from:",
|
||||
"authorize": "Authorize the application",
|
||||
"reject": "Reject",
|
||||
"allowed": "This application will have access to..",
|
||||
"disallowed": "This application will NOT have access to..",
|
||||
"scope": {
|
||||
"profile": "Your username and display name",
|
||||
"email": "Your email address",
|
||||
"picture": "Your profile picture",
|
||||
"account": "Changing your password or other account settings",
|
||||
"management": "Commit administrative actions to the extent of your user privileges"
|
||||
},
|
||||
"link": {
|
||||
"website": "Website",
|
||||
"privacy": "Privacy policy",
|
||||
"terms": "Terms of Service"
|
||||
}
|
||||
},
|
||||
"device": {
|
||||
"title": "Authorize device",
|
||||
"description": "Please enter the code displayed on your device to proceed.",
|
||||
"deviceCode": "Device code",
|
||||
"success": "Success! Please check back to your device for further instructions. You may now close this window."
|
||||
},
|
||||
"errors": {
|
||||
"noCode": "Please enter a code.",
|
||||
"invalidCode": "The provided code is invalid or it has expired"
|
||||
}
|
||||
}
|
||||
|
@ -23,9 +23,9 @@
|
||||
let internalErrors: string[] = $state([]);
|
||||
let submitted = $state(false);
|
||||
let errors = $derived([...internalErrors, ...(form?.errors?.length ? form.errors : [])]);
|
||||
let actionUrl = $derived(data.setter
|
||||
? `?/setPassword&token=${$page.url.searchParams.get('token')}`
|
||||
: '?/sendEmail');
|
||||
let actionUrl = $derived(
|
||||
data.setter ? `?/setPassword&token=${$page.url.searchParams.get('token')}` : '?/sendEmail'
|
||||
);
|
||||
let pageTitle = $derived(data.setter ? 'setNewPassword' : 'resetPassword');
|
||||
|
||||
const enhanceFn: SubmitFunction = ({ formData, cancel }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user