Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G Genesys Website
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys Website
  • Issues
  • #108
Closed
Open
Issue created Oct 27, 2018 by Matija Obreza@mobrezaOwner

Admin layout

Update AdminLayout component, but don't use PageLayout, use:

const Layout = ({route, match, t}: { route: any, match: any, t: any}) => (
  <div className="admin-layout">
    <Header menus={ <Menu t={ t } /> } />
    { renderRoutes(route.routes, match.path) }
  </div>
);

Admin header

Implement layout/admin/Header to render as displayed below:

image

  • Use existing <UserMenuComponent and <UserLoginMenuComponent
  • Use existing <LangListComponent />

To detect which menu item is active you may need to pass match to the <Header.

See details in #94 (closed)

Edited Oct 27, 2018 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking