Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
survey
Commits
c00364bb
Commit
c00364bb
authored
Jul 04, 2022
by
Jiwon Yoon
Browse files
세부 수정
parent
f10cce0d
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/CreateSurveyForm/CreateSurveyFormPage.tsx
View file @
c00364bb
...
@@ -48,7 +48,7 @@ export interface RatingType extends BasicQuestionType {
...
@@ -48,7 +48,7 @@ export interface RatingType extends BasicQuestionType {
const
EssayQ
:
EssayType
=
{
const
EssayQ
:
EssayType
=
{
type
:
"
essay
"
,
type
:
"
essay
"
,
id
:
"
000000000000
"
,
id
:
"
000000000000
"
,
title
:
"
Question
1
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
null
,
content
:
null
,
...
@@ -56,7 +56,7 @@ const EssayQ: EssayType = {
...
@@ -56,7 +56,7 @@ const EssayQ: EssayType = {
const
RadioQ
:
RadioType
=
{
const
RadioQ
:
RadioType
=
{
type
:
"
radio
"
,
type
:
"
radio
"
,
id
:
"
000000000001
"
,
id
:
"
000000000001
"
,
title
:
"
Question
2
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
{
content
:
{
...
@@ -68,7 +68,7 @@ const RadioQ: RadioType = {
...
@@ -68,7 +68,7 @@ const RadioQ: RadioType = {
const
CheckboxQ
:
CheckboxType
=
{
const
CheckboxQ
:
CheckboxType
=
{
type
:
"
checkbox
"
,
type
:
"
checkbox
"
,
id
:
"
000000000002
"
,
id
:
"
000000000002
"
,
title
:
"
Question
3
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
{
content
:
{
...
@@ -79,7 +79,7 @@ const CheckboxQ: CheckboxType = {
...
@@ -79,7 +79,7 @@ const CheckboxQ: CheckboxType = {
const
DropdownQ
:
DropdownType
=
{
const
DropdownQ
:
DropdownType
=
{
type
:
"
dropdown
"
,
type
:
"
dropdown
"
,
id
:
"
000000000003
"
,
id
:
"
000000000003
"
,
title
:
"
Question
4
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
{
content
:
{
...
@@ -90,7 +90,7 @@ const DropdownQ: DropdownType = {
...
@@ -90,7 +90,7 @@ const DropdownQ: DropdownType = {
const
FileQ
:
FileType
=
{
const
FileQ
:
FileType
=
{
type
:
"
file
"
,
type
:
"
file
"
,
id
:
"
000000000004
"
,
id
:
"
000000000004
"
,
title
:
"
Question
5
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
{
content
:
{
...
@@ -101,7 +101,7 @@ const FileQ: FileType = {
...
@@ -101,7 +101,7 @@ const FileQ: FileType = {
const
RatingQ
:
RatingType
=
{
const
RatingQ
:
RatingType
=
{
type
:
"
rating
"
,
type
:
"
rating
"
,
id
:
"
000000000005
"
,
id
:
"
000000000005
"
,
title
:
"
Question
6
"
,
title
:
"
Question
Title
"
,
isRequired
:
false
,
isRequired
:
false
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
comment
:
"
질문에 대한 설명을 입력해주세요
"
,
content
:
{
content
:
{
...
@@ -153,7 +153,7 @@ export const CreateSurveyForm = () => {
...
@@ -153,7 +153,7 @@ export const CreateSurveyForm = () => {
return
(
return
(
<
div
className
=
"flex flex-col place-items-center"
>
<
div
className
=
"flex flex-col place-items-center"
>
<
div
className
=
"flex flex-col container place-items-center"
>
<
div
className
=
"flex flex-col container place-items-center
mt-4
"
>
<
input
<
input
type
=
"text"
type
=
"text"
className
=
"font-bold text-4xl text-center m-2 border-b-2"
className
=
"font-bold text-4xl text-center m-2 border-b-2"
...
@@ -171,6 +171,11 @@ export const CreateSurveyForm = () => {
...
@@ -171,6 +171,11 @@ export const CreateSurveyForm = () => {
QuestionListChange
=
{
QuestionListChange
}
QuestionListChange
=
{
QuestionListChange
}
addQuestion
=
{
addQuestion
}
addQuestion
=
{
addQuestion
}
/>
/>
<
div
>
<
button
className
=
"border bg-themeColor my-5 py-2 px-3 font-bold text-white"
>
설문조사 생성
</
button
>
</
div
>
</
div
>
</
div
>
);
);
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment