|
@@ -18,6 +18,7 @@ import getMeta from '@/utils/meta'
|
|
|
import DefaultNavbar from '@/features/ui/components/bootstrap-5/navbar/default-navbar'
|
|
import DefaultNavbar from '@/features/ui/components/bootstrap-5/navbar/default-navbar'
|
|
|
import FatFooter from '@/features/ui/components/bootstrap-5/footer/fat-footer'
|
|
import FatFooter from '@/features/ui/components/bootstrap-5/footer/fat-footer'
|
|
|
import SidebarDsNav from '@/features/project-list/components/sidebar/sidebar-ds-nav'
|
|
import SidebarDsNav from '@/features/project-list/components/sidebar/sidebar-ds-nav'
|
|
|
|
|
+import SystemMessages from '@/shared/components/system-messages'
|
|
|
|
|
|
|
|
export function ProjectListDsNav() {
|
|
export function ProjectListDsNav() {
|
|
|
const navbarProps = getMeta('ol-navbar')
|
|
const navbarProps = getMeta('ol-navbar')
|
|
@@ -59,66 +60,71 @@ export function ProjectListDsNav() {
|
|
|
/>
|
|
/>
|
|
|
<main className="project-list-wrapper">
|
|
<main className="project-list-wrapper">
|
|
|
<SidebarDsNav />
|
|
<SidebarDsNav />
|
|
|
- <div className="project-ds-nav-content">
|
|
|
|
|
- <div className="project-ds-nav-main">
|
|
|
|
|
- {error ? <DashApiError /> : ''}
|
|
|
|
|
- <UserNotifications />
|
|
|
|
|
- <div className="project-list-header-row">
|
|
|
|
|
- <ProjectListTitle
|
|
|
|
|
- filter={filter}
|
|
|
|
|
- selectedTag={selectedTag}
|
|
|
|
|
- selectedTagId={selectedTagId}
|
|
|
|
|
- className="text-truncate d-none d-md-block"
|
|
|
|
|
- />
|
|
|
|
|
- <div className="project-tools">
|
|
|
|
|
- <div className="d-none d-md-block">
|
|
|
|
|
- {selectedProjects.length === 0 ? (
|
|
|
|
|
|
|
+ <div className="project-ds-nav-content-and-messages">
|
|
|
|
|
+ <div className="project-ds-nav-content">
|
|
|
|
|
+ <div className="project-ds-nav-main">
|
|
|
|
|
+ {error ? <DashApiError /> : ''}
|
|
|
|
|
+ <UserNotifications />
|
|
|
|
|
+ <div className="project-list-header-row">
|
|
|
|
|
+ <ProjectListTitle
|
|
|
|
|
+ filter={filter}
|
|
|
|
|
+ selectedTag={selectedTag}
|
|
|
|
|
+ selectedTagId={selectedTagId}
|
|
|
|
|
+ className="text-truncate d-none d-md-block"
|
|
|
|
|
+ />
|
|
|
|
|
+ <div className="project-tools">
|
|
|
|
|
+ <div className="d-none d-md-block">
|
|
|
|
|
+ {selectedProjects.length === 0 ? (
|
|
|
|
|
+ <CurrentPlanWidget />
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <ProjectTools />
|
|
|
|
|
+ )}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="d-md-none">
|
|
|
<CurrentPlanWidget />
|
|
<CurrentPlanWidget />
|
|
|
- ) : (
|
|
|
|
|
- <ProjectTools />
|
|
|
|
|
- )}
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="d-md-none">
|
|
|
|
|
- <CurrentPlanWidget />
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className="project-ds-nav-project-list">
|
|
|
|
|
- <OLRow className="d-none d-md-block">
|
|
|
|
|
- <OLCol lg={7}>
|
|
|
|
|
- <SearchForm
|
|
|
|
|
- inputValue={searchText}
|
|
|
|
|
- setInputValue={setSearchText}
|
|
|
|
|
- filter={filter}
|
|
|
|
|
- selectedTag={selectedTag}
|
|
|
|
|
- />
|
|
|
|
|
- </OLCol>
|
|
|
|
|
- </OLRow>
|
|
|
|
|
- <div className="project-list-sidebar-survey-wrapper d-md-none">
|
|
|
|
|
- {/* Omit the survey card in mobile view for now */}
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="mt-1 d-md-none">
|
|
|
|
|
- <div
|
|
|
|
|
- role="toolbar"
|
|
|
|
|
- className="projects-toolbar"
|
|
|
|
|
- aria-label={t('projects')}
|
|
|
|
|
- >
|
|
|
|
|
- <ProjectsDropdown />
|
|
|
|
|
- <SortByDropdown />
|
|
|
|
|
|
|
+ <div className="project-ds-nav-project-list">
|
|
|
|
|
+ <OLRow className="d-none d-md-block">
|
|
|
|
|
+ <OLCol lg={7}>
|
|
|
|
|
+ <SearchForm
|
|
|
|
|
+ inputValue={searchText}
|
|
|
|
|
+ setInputValue={setSearchText}
|
|
|
|
|
+ filter={filter}
|
|
|
|
|
+ selectedTag={selectedTag}
|
|
|
|
|
+ />
|
|
|
|
|
+ </OLCol>
|
|
|
|
|
+ </OLRow>
|
|
|
|
|
+ <div className="project-list-sidebar-survey-wrapper d-md-none">
|
|
|
|
|
+ {/* Omit the survey card in mobile view for now */}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="mt-1 d-md-none">
|
|
|
|
|
+ <div
|
|
|
|
|
+ role="toolbar"
|
|
|
|
|
+ className="projects-toolbar"
|
|
|
|
|
+ aria-label={t('projects')}
|
|
|
|
|
+ >
|
|
|
|
|
+ <ProjectsDropdown />
|
|
|
|
|
+ <SortByDropdown />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="mt-3">
|
|
|
|
|
+ <TableContainer bordered>
|
|
|
|
|
+ {tableTopArea}
|
|
|
|
|
+ <ProjectListTable />
|
|
|
|
|
+ </TableContainer>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="mt-3">
|
|
|
|
|
+ <LoadMore />
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- <div className="mt-3">
|
|
|
|
|
- <TableContainer bordered>
|
|
|
|
|
- {tableTopArea}
|
|
|
|
|
- <ProjectListTable />
|
|
|
|
|
- </TableContainer>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className="mt-3">
|
|
|
|
|
- <LoadMore />
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <FatFooter />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <SystemMessages />
|
|
|
</div>
|
|
</div>
|
|
|
- <FatFooter />
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</main>
|
|
</main>
|
|
|
</div>
|
|
</div>
|