mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Updated layout for settings pages.
This commit is contained in:
parent
9260e5bc33
commit
43ef6884df
16 changed files with 124 additions and 81 deletions
|
|
@ -14,14 +14,16 @@ export default function PasswordChangeButton() {
|
|||
return (
|
||||
<>
|
||||
{toast}
|
||||
<ModalTrigger modalProps={{ title: formatMessage(labels.changePassword) }}>
|
||||
<ModalTrigger>
|
||||
<Button>
|
||||
<Icon>
|
||||
<Icons.Lock />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.changePassword)}</Text>
|
||||
</Button>
|
||||
<Modal>{close => <PasswordEditForm onSave={handleSave} onClose={close} />}</Modal>
|
||||
<Modal title={formatMessage(labels.changePassword)}>
|
||||
{close => <PasswordEditForm onSave={handleSave} onClose={close} />}
|
||||
</Modal>
|
||||
</ModalTrigger>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export default function WebsiteDetails({ websiteId }) {
|
|||
showLink={false}
|
||||
stickyHeader={true}
|
||||
/>
|
||||
{!chartLoaded && <Loading icon="dots" />}
|
||||
{!chartLoaded && <Loading icon="dots" style={{ minHeight: 300 }} />}
|
||||
{chartLoaded && (
|
||||
<>
|
||||
{!view && <WebsiteTableView websiteId={websiteId} />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue