Fixed pages
This commit is contained in:
parent
6dd8612eaf
commit
4be52d429c
@ -35,7 +35,14 @@ export const AuthHeader = () => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Школа</a>
|
<a
|
||||||
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
scrollToForm();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Трекер
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<NavLink to={"/auth-candidate"} className="candidate">
|
<NavLink to={"/auth-candidate"} className="candidate">
|
||||||
|
@ -118,7 +118,11 @@
|
|||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.createProject {
|
.createProject,
|
||||||
|
.createColumn,
|
||||||
|
.editProject,
|
||||||
|
.addWorker,
|
||||||
|
.editColumn {
|
||||||
background: linear-gradient(180deg, #fff 0%, #ebebeb 37.29%);
|
background: linear-gradient(180deg, #fff 0%, #ebebeb 37.29%);
|
||||||
.title-project {
|
.title-project {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
@ -26,6 +26,7 @@ export const ProjectTiket = ({ project, index }) => {
|
|||||||
const [modalSelect, setModalSelect] = useState(false);
|
const [modalSelect, setModalSelect] = useState(false);
|
||||||
const [modalAdd, setModalAdd] = useState(false);
|
const [modalAdd, setModalAdd] = useState(false);
|
||||||
const [acceptModalOpen, setAcceptModalOpen] = useState(false);
|
const [acceptModalOpen, setAcceptModalOpen] = useState(false);
|
||||||
|
const [path, setPath] = useState("");
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const { showNotification } = useNotification();
|
const { showNotification } = useNotification();
|
||||||
|
|
||||||
@ -69,25 +70,29 @@ export const ProjectTiket = ({ project, index }) => {
|
|||||||
setAcceptModalOpen(false);
|
setAcceptModalOpen(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function linkProject() {}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="project" key={index}>
|
<div className="project" key={index}>
|
||||||
<Link to={`/tracker/project/${project.id}`} className="project__link">
|
<Link to={`/tracker/project/${project.id}`}>
|
||||||
{project.name}
|
<p className="project__link">{project.name}</p>
|
||||||
|
|
||||||
|
<div className="project__info">
|
||||||
|
<p>Открытые задачи</p>
|
||||||
|
<span className="count">
|
||||||
|
{project.columns.reduce(
|
||||||
|
(accumulator, currentValue) =>
|
||||||
|
accumulator + currentValue.tasks.length,
|
||||||
|
0
|
||||||
|
)}
|
||||||
|
</span>
|
||||||
|
<img src={avatarProject} alt="#" className="project__avatar" />
|
||||||
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
<div className="project__info">
|
|
||||||
<p>Открытые задачи</p>
|
<span className="menu-settings" onClick={() => setModalSelect(true)}>
|
||||||
<span className="count">
|
...
|
||||||
{project.columns.reduce(
|
</span>
|
||||||
(accumulator, currentValue) =>
|
|
||||||
accumulator + currentValue.tasks.length,
|
|
||||||
0
|
|
||||||
)}
|
|
||||||
</span>
|
|
||||||
<img src={avatarProject} alt="#" className="project__avatar" />
|
|
||||||
<span className="menu-settings" onClick={() => setModalSelect(true)}>
|
|
||||||
...
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<Link
|
<Link
|
||||||
to={`/profile/statistics/${project.id}`}
|
to={`/profile/statistics/${project.id}`}
|
||||||
className="project__statistics"
|
className="project__statistics"
|
||||||
@ -102,7 +107,7 @@ export const ProjectTiket = ({ project, index }) => {
|
|||||||
projectId={project.id}
|
projectId={project.id}
|
||||||
></TrackerModal>
|
></TrackerModal>
|
||||||
|
|
||||||
<ModalSelect active={modalSelect}>
|
<ModalSelect active={modalSelect} onClick={(e) => e.stopPropagation()}>
|
||||||
<div className="project__settings-menu">
|
<div className="project__settings-menu">
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -78,14 +78,14 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.menu-settings {
|
.menu-settings {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
color: #6f6f6f;
|
color: #6f6f6f;
|
||||||
right: 0;
|
right: 26px;
|
||||||
top: -35%;
|
top: 59px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__avatar {
|
&__avatar {
|
||||||
|
Loading…
Reference in New Issue
Block a user