|
@@ -45,81 +45,81 @@ function ProjectListPageContent() {
|
|
|
<LoadingBranded loadProgress={loadProgress} />
|
|
<LoadingBranded loadProgress={loadProgress} />
|
|
|
</div>
|
|
</div>
|
|
|
) : (
|
|
) : (
|
|
|
- <div className="project-list-wrapper clearfix">
|
|
|
|
|
- {error ? <DashApiError /> : ''}
|
|
|
|
|
- {totalProjectsCount > 0 ? (
|
|
|
|
|
- <>
|
|
|
|
|
- <div className="project-list-sidebar-wrapper-react hidden-xs">
|
|
|
|
|
- <aside className="project-list-sidebar">
|
|
|
|
|
- <NewProjectButton id="new-project-button-sidebar" />
|
|
|
|
|
- <SidebarFilters />
|
|
|
|
|
- </aside>
|
|
|
|
|
- <SurveyWidget />
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className="project-list-main-react">
|
|
|
|
|
- <Row>
|
|
|
|
|
- <Col xs={12}>
|
|
|
|
|
- <UserNotifications />
|
|
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <Col md={7} className="hidden-xs">
|
|
|
|
|
- <SearchForm
|
|
|
|
|
- inputValue={searchText}
|
|
|
|
|
- setInputValue={setSearchText}
|
|
|
|
|
- />
|
|
|
|
|
- </Col>
|
|
|
|
|
- <Col md={5}>
|
|
|
|
|
- <div className="project-tools">
|
|
|
|
|
- <div className="hidden-xs">
|
|
|
|
|
- {selectedProjects.length === 0 ? (
|
|
|
|
|
|
|
+ <div className="project-list-row fill">
|
|
|
|
|
+ <div className="project-list-wrapper clearfix">
|
|
|
|
|
+ {error ? <DashApiError /> : ''}
|
|
|
|
|
+ {totalProjectsCount > 0 ? (
|
|
|
|
|
+ <>
|
|
|
|
|
+ <div className="project-list-sidebar-wrapper hidden-xs">
|
|
|
|
|
+ <aside className="project-list-sidebar">
|
|
|
|
|
+ <NewProjectButton id="new-project-button-sidebar" />
|
|
|
|
|
+ <SidebarFilters />
|
|
|
|
|
+ </aside>
|
|
|
|
|
+ <SurveyWidget />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="project-list-main">
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <Col xs={12}>
|
|
|
|
|
+ <UserNotifications />
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <Col md={7} className="hidden-xs">
|
|
|
|
|
+ <SearchForm
|
|
|
|
|
+ inputValue={searchText}
|
|
|
|
|
+ setInputValue={setSearchText}
|
|
|
|
|
+ />
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ <Col md={5}>
|
|
|
|
|
+ <div className="project-tools">
|
|
|
|
|
+ <div className="hidden-xs">
|
|
|
|
|
+ {selectedProjects.length === 0 ? (
|
|
|
|
|
+ <CurrentPlanWidget />
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <ProjectTools />
|
|
|
|
|
+ )}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="visible-xs">
|
|
|
<CurrentPlanWidget />
|
|
<CurrentPlanWidget />
|
|
|
- ) : (
|
|
|
|
|
- <ProjectTools />
|
|
|
|
|
- )}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div className="visible-xs">
|
|
|
|
|
- <CurrentPlanWidget />
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ <div className="visible-xs mt-1">
|
|
|
|
|
+ <div role="toolbar" className="projects-toolbar">
|
|
|
|
|
+ <ProjectsDropdown />
|
|
|
|
|
+ <SortByDropdown />
|
|
|
</div>
|
|
</div>
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- <div className="visible-xs mt-1">
|
|
|
|
|
- <div role="toolbar" className="projects-toolbar">
|
|
|
|
|
- <ProjectsDropdown />
|
|
|
|
|
- <SortByDropdown />
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- <Row className="row-spaced">
|
|
|
|
|
- <Col xs={12}>
|
|
|
|
|
- <div className="card project-list-card">
|
|
|
|
|
- <div className="visible-xs pt-2 pb-3">
|
|
|
|
|
- <div className="clearfix">
|
|
|
|
|
- <NewProjectButton
|
|
|
|
|
- id="new-project-button-projects-table"
|
|
|
|
|
- className="pull-left me-2"
|
|
|
|
|
- />
|
|
|
|
|
- <SearchForm
|
|
|
|
|
- inputValue={searchText}
|
|
|
|
|
- setInputValue={setSearchText}
|
|
|
|
|
- className="overflow-hidden"
|
|
|
|
|
- formGroupProps={{ className: 'mb-0' }}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <Row className="row-spaced">
|
|
|
|
|
+ <Col xs={12}>
|
|
|
|
|
+ <div className="card project-list-card">
|
|
|
|
|
+ <div className="visible-xs pt-2 pb-3">
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
|
+ <NewProjectButton
|
|
|
|
|
+ id="new-project-button-projects-table"
|
|
|
|
|
+ className="pull-left me-2"
|
|
|
|
|
+ />
|
|
|
|
|
+ <SearchForm
|
|
|
|
|
+ inputValue={searchText}
|
|
|
|
|
+ setInputValue={setSearchText}
|
|
|
|
|
+ className="overflow-hidden"
|
|
|
|
|
+ formGroupProps={{ className: 'mb-0' }}
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <ProjectListTable />
|
|
|
</div>
|
|
</div>
|
|
|
- <ProjectListTable />
|
|
|
|
|
- </div>
|
|
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- <Row className="row-spaced">
|
|
|
|
|
- <Col xs={12}>
|
|
|
|
|
- <LoadMore />
|
|
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </div>
|
|
|
|
|
- </>
|
|
|
|
|
- ) : (
|
|
|
|
|
- <div className="project-list-welcome-wrapper">
|
|
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ <Row className="row-spaced">
|
|
|
|
|
+ <Col xs={12}>
|
|
|
|
|
+ <LoadMore />
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </>
|
|
|
|
|
+ ) : (
|
|
|
<Row className="row-spaced">
|
|
<Row className="row-spaced">
|
|
|
<Col
|
|
<Col
|
|
|
xs={8}
|
|
xs={8}
|
|
@@ -131,8 +131,8 @@ function ProjectListPageContent() {
|
|
|
<WelcomeMessage />
|
|
<WelcomeMessage />
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
- </div>
|
|
|
|
|
- )}
|
|
|
|
|
|
|
+ )}
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|