기본코드관리 작업중.
parent
097089d048
commit
cb7773b0c5
|
|
@ -4,12 +4,12 @@ import { NavLink } from 'react-router-dom';
|
|||
import URL from 'constants/url';
|
||||
import {Accordion} from "react-bootstrap";
|
||||
|
||||
function EgovLeftNavAdmin() {
|
||||
function EgovLeftNavAdmin({activeKey}) {
|
||||
return (
|
||||
<div className="nav">
|
||||
<div className="inner">
|
||||
<h2 className={"nav_title"}>사이트관리</h2>
|
||||
<Accordion>
|
||||
<Accordion defaultActiveKey={activeKey}>
|
||||
<Accordion.Item eventKey={"0"}>
|
||||
<Accordion.Header>환경설정</Accordion.Header>
|
||||
<Accordion.Body>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,51 @@
|
|||
import React from 'react';
|
||||
import CODE from "../../../constants/code";
|
||||
import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
|
||||
import {Link} from "react-router-dom";
|
||||
import URL from "../../../constants/url";
|
||||
import ParentCodeDiv from "./baseCode/ParentCodeDiv";
|
||||
import Row from "react-bootstrap/Row";
|
||||
import Col from "react-bootstrap/Col";
|
||||
import ChildCodeDiv from "./baseCode/ChildCodeDiv";
|
||||
|
||||
|
||||
function BaseCodeMgt(props) {
|
||||
|
||||
return (
|
||||
<div className="container">
|
||||
BaseCodeMgt
|
||||
<div className="c_wrap">
|
||||
<div className="location">
|
||||
<ul>
|
||||
<li><Link to={URL.MAIN} className="home">Home</Link></li>
|
||||
<li><Link to={URL.ADMIN}>사이트관리</Link></li>
|
||||
<li>기본 코드 관리</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="layout">
|
||||
{/* <!-- Navigation --> */}
|
||||
<EgovLeftNav activeKey={"0"}></EgovLeftNav>
|
||||
<div className="contents NOTICE_LIST" id="contents">
|
||||
{/* <!-- 본문 --> */}
|
||||
|
||||
<div className="top_tit">
|
||||
<h1 className="tit_1">사이트관리</h1>
|
||||
</div>
|
||||
|
||||
<h2 className="tit_2">기본 코드 관리</h2>
|
||||
<Row>
|
||||
<Col xs={"6"}>
|
||||
<ParentCodeDiv/>
|
||||
</Col>
|
||||
<Col xs={"6"}>
|
||||
<ChildCodeDiv/>
|
||||
</Col>
|
||||
</Row>
|
||||
<div className={"childCode"}>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
import {Container} from "react-bootstrap";
|
||||
import Row from "react-bootstrap/Row";
|
||||
import Col from "react-bootstrap/Col";
|
||||
import Form from 'react-bootstrap/Form'
|
||||
import Button from "react-bootstrap/Button";
|
||||
|
||||
function ChildCodeDiv(){
|
||||
return (
|
||||
<Container className={"pt-3"}>
|
||||
<Row className={"py-2 bg-light border-bottom"}>
|
||||
<Col xs={4}>코드</Col>
|
||||
<Col xs={4}>코드명</Col>
|
||||
<Col xs={2}>삭제</Col>
|
||||
<Col xs={2}>수정</Col>
|
||||
</Row>
|
||||
{}
|
||||
<Row className={"py-1"}>
|
||||
<Col xs={4}>
|
||||
<Form.Control type={"text"} placeholder={"코드"} size={"sm"}/>
|
||||
</Col>
|
||||
<Col xs={4}>
|
||||
<Form.Control type={"text"} placeholder={"코드명"} size={"sm"}/>
|
||||
</Col>
|
||||
<Col xs={{span:2, offset:2}}><Button type={"button"} variant={"primary"} size={"sm"}>등록</Button></Col>
|
||||
</Row>
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
export default ChildCodeDiv;
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
import {Container} from "react-bootstrap";
|
||||
import Row from "react-bootstrap/Row";
|
||||
import Col from "react-bootstrap/Col";
|
||||
import Form from 'react-bootstrap/Form'
|
||||
import Button from "react-bootstrap/Button";
|
||||
|
||||
function ParentCodeDiv(){
|
||||
return (
|
||||
<Container className={"pt-3"}>
|
||||
<Row className={"py-2 bg-light border-bottom"}>
|
||||
<Col xs={4}>코드그룹</Col>
|
||||
<Col xs={4}>코드그룹명</Col>
|
||||
<Col xs={2}>삭제</Col>
|
||||
<Col xs={2}>수정</Col>
|
||||
</Row>
|
||||
{}
|
||||
<Row className={"py-1"}>
|
||||
<Col xs={4}>
|
||||
<Form.Control type={"text"} placeholder={"코드그룹"} size={"sm"}/>
|
||||
</Col>
|
||||
<Col xs={4}>
|
||||
<Form.Control type={"text"} placeholder={"코드그룹명"} size={"sm"}/>
|
||||
</Col>
|
||||
<Col xs={{span:2, offset:2}}><Button type={"button"} variant={"primary"} size={"sm"}>등록</Button></Col>
|
||||
</Row>
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
export default ParentCodeDiv;
|
||||
|
|
@ -2,7 +2,6 @@ import {React, useCallback, useEffect, useState} from "react";
|
|||
import Modal from "react-bootstrap/Modal";
|
||||
import * as EgovNet from "../../api/egovFetch";
|
||||
import {VwDiv} from "./Vw.style";
|
||||
import Form from "react-bootstrap/Form";
|
||||
import Col from "react-bootstrap/Col";
|
||||
import Row from "react-bootstrap/Row";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue