Compare commits

...

3 Commits

12 changed files with 194 additions and 4 deletions

9
.idea/kcscDev.iml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/kcscDev.iml" filepath="$PROJECT_DIR$/.idea/kcscDev.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

43
.idea/workspace.xml Normal file
View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="cbd5a5a9-c605-4176-9f67-f130dc5cafd5" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/egovframe-template-simple-react-contribution/yarn.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/kcsc-back-end/src/main/resources/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/kcsc-back-end/src/main/resources/application.properties" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="ProjectColorInfo"><![CDATA[{
"associatedIndex": 3
}]]></component>
<component name="ProjectId" id="2ZsMR0eqQ4kriuFhAPE5h7h5XZA" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "thkim",
"last_opened_file_path": "C:/Users/dbnt/git/dbnt/kcscDev"
}
}]]></component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="cbd5a5a9-c605-4176-9f67-f130dc5cafd5" name="Changes" comment="" />
<created>1703206321951</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1703206321951</updated>
</task>
<servers />
</component>
</project>

View File

@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
]
}

View File

@ -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>

View File

@ -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>
);
}

View File

@ -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;

View File

@ -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;

View File

@ -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";

View File

@ -35,3 +35,7 @@ out/
### VS Code ###
.vscode/
**/.idea
**/.vscode