mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +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
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import UserSettings from 'components/pages/settings/users/UserSettings';
|
||||
import { useRouter } from 'next/router';
|
||||
|
|
@ -11,9 +12,11 @@ export default function TeamDetailPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<UserSettings userId={id} />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<UserSettings userId={id} />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import UsersList from 'components/pages/settings/users/UsersList';
|
||||
|
||||
|
|
@ -7,9 +8,11 @@ export default function UsersPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<UsersList />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<UsersList />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue