mirror of
https://github.com/immich-app/immich
synced 2025-06-07 09:20:57 +00:00
fix(web): modal colors (#18332)
* feat(web): clear person birthdate * fix(web): modal colors
This commit is contained in:
parent
1219fd82a0
commit
8ab5040351
@ -30,7 +30,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal {title} onClose={() => onClose(false)} {size} class="bg-light text-dark">
|
<Modal {title} onClose={() => onClose(false)} {size}>
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
{#if promptSnippet}{@render promptSnippet()}{:else}
|
{#if promptSnippet}{@render promptSnippet()}{:else}
|
||||||
<p>{prompt}</p>
|
<p>{prompt}</p>
|
||||||
|
@ -12,13 +12,7 @@
|
|||||||
const { onClose, newPassword }: Props = $props();
|
const { onClose, newPassword }: Props = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal
|
<Modal title={$t('password_reset_success')} icon={mdiCheck} onClose={() => onClose()} size="small">
|
||||||
title={$t('password_reset_success')}
|
|
||||||
icon={mdiCheck}
|
|
||||||
onClose={() => onClose()}
|
|
||||||
size="small"
|
|
||||||
class="bg-light text-dark"
|
|
||||||
>
|
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
<Text>{$t('admin.user_password_has_been_reset')}</Text>
|
<Text>{$t('admin.user_password_has_been_reset')}</Text>
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal title={$t('create_new_user')} {onClose} size="small" class="text-dark bg-light">
|
<Modal title={$t('create_new_user')} {onClose} size="small">
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<form onsubmit={onSubmit} autocomplete="off" id="create-new-user-form">
|
<form onsubmit={onSubmit} autocomplete="off" id="create-new-user-form">
|
||||||
{#if error}
|
{#if error}
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose} class="text-dark bg-light">
|
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose}>
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<form onsubmit={onSubmit} autocomplete="off" id="edit-user-form">
|
<form onsubmit={onSubmit} autocomplete="off" id="edit-user-form">
|
||||||
<div class="mb-4 flex flex-col gap-2">
|
<div class="mb-4 flex flex-col gap-2">
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small" class="bg-light text-dark">
|
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small">
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<p>
|
<p>
|
||||||
<FormatMessage key="admin.user_restore_description" values={{ user: user.name }}>
|
<FormatMessage key="admin.user_restore_description" values={{ user: user.name }}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user