Compare commits

..

No commits in common. "65ca1c32ffdee6eb81663649234e88fd1d7d1e99" and "8525445e1848be2576bb01418fb0d611e79ab431" have entirely different histories.

36 changed files with 135 additions and 178 deletions

View File

@ -1,6 +1,6 @@
import React from "react";
import { getCorrectDate } from "@utils/calendarHelper";
import { getCorrectDate } from "@components/Calendar/calendarHelper";
import "./archiveTasksItem.scss";

View File

@ -13,7 +13,7 @@ import rectangle from "assets/images/rectangle_secondPage.png";
import CalendarComponent from "./CalendarComponent";
import "./calendar.scss";
import { currentMonth } from "../../utils/calendarHelper";
import { currentMonth } from "./calendarHelper";
const Calendar = () => {
if (localStorage.getItem("role_status") !== "18") {

View File

@ -7,7 +7,7 @@ import ellipse from "assets/icons/ellipse.png";
import rectangle from "assets/images/rectangle__calendar.png";
import "./calendarComponent.scss";
import { calendarHelper, currentMonthAndDay } from "../../utils/calendarHelper";
import { calendarHelper, currentMonthAndDay } from "./calendarHelper";
const CalendarComponent = ({ onSelect }) => {
const [value, setValue] = useState(moment());

View File

@ -43,7 +43,7 @@ import send from "assets/icons/send.svg";
import watch from "assets/icons/watch.svg";
import avatarMok from "assets/images/avatarMok.png";
import { getCorrectDate } from "../../../../utils/calendarHelper";
import { getCorrectDate } from "../../../Calendar/calendarHelper";
import "./modalTicket.scss";
registerLocale("ru", ru);

View File

@ -21,7 +21,7 @@ import { apiRequest } from "@api/request";
import { useNotification } from "@hooks/useNotification";
import { getCorrectDate } from "@utils/calendarHelper";
import { getCorrectDate } from "@components/Calendar/calendarHelper";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import FileTracker from "@components/FileTracker/FileTracker";

View File

@ -28,7 +28,7 @@ import { apiRequest } from "@api/request";
import { useNotification } from "@hooks/useNotification";
import { getCorrectDate } from "@utils/calendarHelper";
import { getCorrectDate } from "@components/Calendar/calendarHelper";
import BaseButton from "@components/Common/BaseButton/BaseButton";
import { Loader } from "@components/Common/Loader/Loader";
import ModalLayout from "@components/Common/ModalLayout/ModalLayout";

View File

@ -16,7 +16,7 @@ import { urlForLocal } from "@utils/helper";
import { apiRequest } from "@api/request";
import { getReports } from "@utils/calendarHelper";
import { getReports } from "@components/Calendar/calendarHelper";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import { Navigation } from "@components/Navigation/Navigation";

View File

@ -23,7 +23,7 @@ import {
getCorrectDate,
getReports,
hourOfNum
} from "@utils/calendarHelper";
} from "@components/Calendar/calendarHelper";
import BaseButton from "@components/Common/BaseButton/BaseButton";
import arrow from "assets/icons/arrows/arrowCalendar.png";

View File

@ -26,7 +26,7 @@ import {
getCorrectDate,
getCreatedDate,
hourOfNum
} from "../../utils/calendarHelper";
} from "../Calendar/calendarHelper";
import "./reportForm.scss";
registerLocale("ru", ru);

View File

@ -1,13 +1,8 @@
.report-form {
background: #f1f1f1;
min-height: 100vh;
display: flex;
flex-direction: column;
.container {
display: flex;
flex-direction: column;
flex: 1;
max-width: 1160px;
margin-top: 23px;

View File

@ -14,7 +14,7 @@ import {
getCorrectDate,
getCreatedDate,
hourOfNum
} from "@utils/calendarHelper";
} from "@components/Calendar/calendarHelper";
import { Loader } from "@components/Common/Loader/Loader";
import "./shortReport.scss";

View File

@ -6,7 +6,7 @@ import { urlForLocal } from "@utils/helper";
import { apiRequest } from "@api/request";
import { getCorrectDate } from "@utils/calendarHelper";
import { getCorrectDate } from "@components/Calendar/calendarHelper";
import TrackerTaskSubComment from "@components/TrackerTaskComment/TrackerTaskComment";
import del from "assets/icons/delete.svg";

View File

@ -13,7 +13,7 @@ import { urlForLocal } from "@utils/helper";
import { apiRequest } from "@api/request";
import { getCorrectDate } from "@utils/calendarHelper";
import { getCorrectDate } from "@components/Calendar/calendarHelper";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import ModalLayout from "@components/Common/ModalLayout/ModalLayout";

View File

@ -5,7 +5,6 @@
min-height: 100vh;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -7,7 +7,7 @@ import { getRequestDates, setRequestDate } from "@redux/reportSlice";
import { apiRequest } from "@api/request";
import { getReports } from "@utils/calendarHelper";
import { getReports } from "@components/Calendar/calendarHelper";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import { Navigation } from "@components/Navigation/Navigation";

View File

@ -5,7 +5,6 @@
min-height: 100vh;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -167,7 +167,6 @@
}
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -5,7 +5,6 @@
min-height: 100vh;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -378,7 +378,6 @@
}
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -144,7 +144,6 @@
}
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -2,9 +2,7 @@ import React from "react";
import { Navigation } from "@components/Navigation/Navigation";
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
import { Footer } from "@components/Common/Footer/Footer";
import "./payouts.scss";
import { Footer } from "@components/common/Footer/Footer";
export const Payouts = () => {
return (

View File

@ -1,13 +0,0 @@
.payouts {
display: flex;
flex-direction: column;
min-height: 100vh;
background: #f1f1f1;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;
}
}

View File

@ -4,7 +4,6 @@
flex-direction: column;
min-height: 100vh;
&__container {
max-width: 1160px;
display: flex;
flex-direction: column;
margin: 0 auto 42px auto;

View File

@ -58,7 +58,7 @@ import accept from "assets/images/accept.png";
import archive from "assets/images/archiveIcon.png";
import avatarMok from "assets/images/avatarMok.png";
import { getCorrectDate } from "../../utils/calendarHelper";
import { getCorrectDate } from "../../components/Calendar/calendarHelper";
export const ProjectTracker = () => {
const dispatch = useDispatch();

View File

@ -5,7 +5,6 @@
flex-direction: column;
&__container {
max-width: 1160px;
display: flex;
flex-direction: column;
margin: 23px auto 42px auto;
@ -77,7 +76,6 @@
}
&__container {
max-width: 1160px;
display: flex;
margin: 23px auto 42px auto;
flex: 1 1 auto;
@ -100,8 +98,6 @@
flex-direction: column;
&__container {
max-width: 1160px;
flex-direction: column;
display: flex;
margin: 23px auto 42px auto;
flex: 1 1 auto;
@ -140,7 +136,6 @@
flex-direction: column;
&__container {
max-width: 1160px;
display: flex;
flex-direction: column;
margin: 23px auto 42px auto;

View File

@ -9,7 +9,6 @@ import { copyProjectLink } from "@utils/helper";
import { Navigation } from "@components/Navigation/Navigation";
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
import { Footer } from "@components/Common/Footer/Footer";
import arrow from "assets/icons/arrows/arrowCalendar.png";
import emailImg from "assets/icons/emailStatistics.svg";
@ -72,6 +71,7 @@ const Statistics = () => {
/>
<h2 className="tracker__title">Управление проектами с трекером</h2>
</div>
</div>
<div className="tracker__tabs">
<div className="tracker__tabs__head">
<Link
@ -202,8 +202,6 @@ const Statistics = () => {
</div>
</div>
</div>
<Footer />
</div>
);
};

View File

@ -4,13 +4,6 @@
flex-direction: column;
min-height: 100vh;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;
}
&-header {
display: flex;
justify-content: space-between;

View File

@ -510,7 +510,6 @@
}
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;

View File

@ -10,7 +10,7 @@ import {
getCorrectDate,
getCreatedDate,
hourOfNum
} from "@utils/calendarHelper";
} from "@components/Calendar/calendarHelper";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import { Navigation } from "@components/Navigation/Navigation";

View File

@ -5,7 +5,6 @@
min-height: 100vh;
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;