Commit 58e8f781 authored by Kim, Subin's avatar Kim, Subin
Browse files

찐 수정 완료

parent 28ab3286
......@@ -13,7 +13,7 @@ const StudyPlanEditForm = () => {
useEffect(() => {
let isMounted = true;
const checkInfo = { studyplanTitle: studyplan.studyplanTitle, endDate: studyplan.endDate}
const checkInfo = { studyplanTitle: studyplan.studyplanTitle, endDate: studyplan.endDate }
if (studyplan.deadline !== "on") {
checkInfo.endTime = studyplan.endTime
} else {
......@@ -38,7 +38,6 @@ const StudyPlanEditForm = () => {
}
return (
<>
<div className="pt-5">
<select className="form-select mb-4" aria-label="Default select example">
<option selected>관련 과목을 선택해주세요.</option>
......@@ -47,7 +46,7 @@ const StudyPlanEditForm = () => {
<option value="3">수학적 모델링</option>
</select>
<input type="text" name="studyplanTitle"
className="form-control border-top-0 border-end-0 border-start-0 shadow-none rounded-0 mb-5"
className={`form-control shadow-none rounded-0 mb-5 ${styles.textInput}`}
placeholder="제목" onChange={handleChange} />
<div className="d-flex mb-3">
<label className="col col-form-label align-self-center py-0">마감일</label>
......@@ -70,7 +69,6 @@ const StudyPlanEditForm = () => {
</div>
<BtnGroup disabled={disabled} />
</div>
</>
)
}
......
......@@ -34,7 +34,7 @@ const TodoModal = () => {
placeholder="제목" onChange={handleChange} value={todo.todoTitle} />
<div className="d-flex justify-content-between mt-4">
<label className="col-2 col-form-label ms-2">날짜</label>
<div className="col-6 d-flex align-items-center">
<div className="col-8 d-flex align-items-center">
<input type="date" className="form-control form-control-sm" name="todoDate" onChange={handleChange} value={todo.todoDate} />
</div>
</div>
......
import Menu from "../components/Menu/Menu.js";
import HomeBtn from "../components/Buttons/HomeBtn.js";
import Weekly from "../components/Calendar/Weekly.js";
import TodoModal from "../components/Modal/TodoModal.js";
import TodoPostModal from "../components/Modal/TodoPostModal.js";
import Footer from "../components/Footer.js";
import TodoList from "../components/TodoList.js";
import Footer from "../components/Footer.js";
const ToDoPage = () => {
return (
......@@ -13,18 +11,7 @@ const ToDoPage = () => {
<HomeBtn />
<h1 className="text-center">To-do</h1>
<Weekly />
<div className="d-flex justify-content-between mt-3">
<div className="d-flex align-items-center">
<input className={`form-check-input rounded-0 shadow-none mt-0 ${styles.checkBox}`} type="checkbox" />
<label className={`form-check-label fs-5 ms-3 ${styles.title}`}>과제03 제출하기sadsa</label>
</div>
<div style={{ cursor: "pointer" }}>
<i class="bi bi-arrow-right pe-2 fs-5" data-bs-toggle="modal" data-bs-target="#postmodal"><TodoPostModal /></i>
<i className="bi bi-pencil-square pe-2 fs-5" data-bs-toggle="modal" data-bs-target="#staticBackdrop"></i>
<TodoModal />
<i className="bi bi-trash fs-5"></i>
</div>
</div>
<TodoList />
<Footer />
</>
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment