mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +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,10 +1,13 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import ProfileSettings from 'components/pages/settings/profile/ProfileSettings';
|
||||
|
||||
export default function ProfilePage() {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<ProfileSettings />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<ProfileSettings />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import TeamSettings from 'components/pages/settings/teams/TeamSettings';
|
||||
import { useRouter } from 'next/router';
|
||||
|
|
@ -11,9 +12,11 @@ export default function TeamDetailPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<TeamSettings teamId={id} />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<TeamSettings teamId={id} />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import TeamsList from 'components/pages/settings/teams/TeamsList';
|
||||
|
||||
|
|
@ -7,9 +8,11 @@ export default function TeamsPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<TeamsList />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<TeamsList />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import { useRouter } from 'next/router';
|
||||
import WebsiteSettings from 'components/pages/settings/websites/WebsiteSettings';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
|
|
@ -11,9 +12,11 @@ export default function WebsiteSettingsPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<WebsiteSettings websiteId={id} />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<WebsiteSettings websiteId={id} />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import WebsitesList from 'components/pages/settings/websites/WebsitesList';
|
||||
|
||||
|
|
@ -7,9 +8,11 @@ export default function WebsitesPage({ disabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<WebsitesList />
|
||||
</SettingsLayout>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<WebsitesList />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue