Skip to content

Commit

Permalink
Merge pull request #128 from PLADI-ALM/fix/PDW-67-refactoring
Browse files Browse the repository at this point in the history
[PDW-67/fix] 자잘한 UI 수정
  • Loading branch information
psyeon1120 authored Nov 8, 2023
2 parents 6bc61b0 + 154cd02 commit de769b4
Show file tree
Hide file tree
Showing 25 changed files with 455 additions and 559 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import UserManage from 'pages/admin/user/UserManage';
import ResourceManage from 'pages/admin/resource/ResourceManage';
import ResourceManageAdd from "./pages/admin/resource/ResourceManageAdd";
import ResourceManageDetail from 'pages/admin/resource/ResourceManageDetail';
import OfficeManageDetail from 'pages/admin/office/OfficeBookingManageDetail';
import OfficeManageDetail from 'pages/admin/office/OfficeManageDetail';

function App() {

Expand Down
15 changes: 8 additions & 7 deletions src/components/button/ImageFullButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import React from "react";
import styled from "styled-components";

const Button = styled.button`
background: none;
border: 0;
border-radius: 10px;
box-shadow: 0 4px 14px 0 #00000040;
padding: 0;
align-items: center;
display: flex;
background: none;
border: 0;
border-radius: 10px;
box-shadow: 0 4px 14px 0 #00000040;
padding: 0;
align-items: center;
display: flex;
cursor: pointer;
`

const Img = styled.img`
Expand Down
15 changes: 8 additions & 7 deletions src/components/capsule/Capsule.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import React from "react";
import styled from "styled-components"

const PurpleCapsule = styled.p`
border-radius: 20px;
background: #A263DE;
text-align: center;
color: #FFF;
font-size: 18px;
padding: 7px 15px;
margin: 0 10px 0 0;
border-radius: 20px;
background: #A263DE;
text-align: center;
color: #FFF;
font-size: 18px;
padding: 7px 15px;
margin: 0 10px 0 0;
min-width: fit-content;
height: fit-content;
`

const WhiteCapsule = styled(PurpleCapsule)`
Expand Down
1 change: 0 additions & 1 deletion src/components/modal/BigModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export const ExitBtn = styled.button`
background: none;
width: 40px;
height: 40px;
font-family: NanumSquare_ac;
font-size: 40px;
border: none;
color: #4C4C4C;
Expand Down
11 changes: 5 additions & 6 deletions src/components/officeBooking/BookingPurpose.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from "styled-components"

export const BookingPurposeContainer = styled.div`
margin: 20px 0 20px 20px;
margin-left: 20px;
display: flex;
align-items: flex-start;
`
Expand All @@ -19,10 +19,9 @@ export const BookingCapsuleContainer = styled.div`

export const PurposeContainer = styled.p`
display: flex;
width: 90%;
padding: 7px 0 7px 10px;
font-size: 20px;
font-weight: 400;
flex: 1;
font-size: 22px;
text-align: left;
margin: 0 10px;
margin-left: 10px;
line-height: 34px;
`
5 changes: 3 additions & 2 deletions src/components/officeBooking/BookingTimeBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ let endT = -1;
let bookedTimeList = [];

export const BookingContentContainer = styled.div`
margin: 30px 0 20px 20px;
margin: 30px 0 30px 20px;
display: flex;
align-items: baseline;
`

export const BookingDateTextContainer = styled.div`
Expand All @@ -33,7 +34,7 @@ export const BookingTimeContainer = styled.div`
`

export const RequestButtonContainer = styled.div`
margin: 0 20px 20px 0;
margin: 20px;
display: flex;
justify-content: flex-end;
`
Expand Down
2 changes: 1 addition & 1 deletion src/components/rightContainer/RightContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const WhiteContainer = styled.div`
background: #FFF;
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.25);
overflow-y: scroll;
display: grid;
//display: grid;
height: 100%;
width: 100%;
position: relative;
Expand Down
7 changes: 3 additions & 4 deletions src/components/searchBar/ManageSearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,15 @@ export const ManageAddButtonImage = styled.img`
function ManageSearchBar(props) {

const handleOnKeyPress = e => {
if (e.key === 'Enter') {
props.onEnter(e) // Enter 입력이 되면 클릭 이벤트 실행
}
// if (e.key === 'Enter')
props.onEnter(e) // Enter 입력이 되면 클릭 이벤트 실행
};

return (
<Container>
<ManageSearchContainer>
<ManageSearchImage src={SearchInputImage}/>
<ManageSearchText onKeyUp={handleOnKeyPress} placeholder="이름 검색"/>
<ManageSearchText onChange={handleOnKeyPress} placeholder="이름 검색"/>
</ManageSearchContainer>
{
props.selectOptions !== null ?
Expand Down
1 change: 1 addition & 0 deletions src/constants/Path.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const ADMIN_MENUS = [
{ name: '직원 관리', path: '/admin/users' },
{ name: '회의실 관리', path: '/admin/offices' },
{ name: '장비 관리', path: '/admin/resources' },
{ name: '차량 관리', path: '/admin/cars' },
{ name: '회의실 예약 관리', path: '/admin/officeBooking' },
{ name: '장비 예약 관리', path: '/admin/resourceBooking' },
{ name: '차량 예약 관리', path: '/admin/carBooking' }
Expand Down
5 changes: 2 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ a {
input, button, select, text, p, textarea {
font-family: 'NanumSquare_ac';
outline: none;
}

textarea {
word-break: break-all;
resize: none;
margin: 0;
}

::-webkit-scrollbar {
Expand Down
134 changes: 0 additions & 134 deletions src/pages/admin/office/OfficeBookingManageDetail.js

This file was deleted.

Loading

0 comments on commit de769b4

Please sign in to comment.