Skip to content

Commit 81f9367

Browse files
committed
response 부분 프론트 끄으으으으으읕
1 parent 5053dcf commit 81f9367

File tree

13 files changed

+84
-73
lines changed

13 files changed

+84
-73
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ django-bootstrap4
33
django-allauth==0.38.0
44
django-extensions
55
Werkzeug
6-
pyOpenSSL
6+
pyOpenSSL
7+
django-rest-framework
-12.9 KB
Binary file not shown.
-23.3 KB
Binary file not shown.
-4.56 KB
Binary file not shown.
-3.97 KB
Binary file not shown.
9.45 KB
Loading

response/templates/response/charts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
})
8080
</script>
8181

82-
<div class="resultField" style="font-family:'나눔스퀘어 Light', serif; background-color: #eee3c8; padding: 60px 150px;">
82+
<div class="resultField" style="font-family:'나눔스퀘어 Light', serif; background-color: #e0ba8a; padding: 60px 250px;">
8383
<div class='container' style="background-color: white; padding: 100px; border-radius: 60px;" align='center'>
8484
<div class="result_titles" style="margin-bottom: 100px;">
8585
<h1 align="center" class="result_title" style="font-weight: bold; color: #3e2703">{{ survey.title }}</h1><br>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% extends 'layout.html' %}
2+
3+
{% block content %}
4+
<div class="container" style="font-family: '나눔스퀘어 Light', serif; vertical-align: middle; height: 600px; line-height: 600px; text-align: center;">
5+
<div class="SurveyComplete" style="background-color: #fbfbfb; display: inline-block; vertical-align: middle; line-height: normal; height: 450px; width: 750px; padding: 50px;">
6+
{{ user }}님 <br>
7+
{{ survey.title }} 에 참여해주셔서 감사합니다.
8+
9+
<a href="{% url 'root' %}" class="btn btn-primary">Go home</a>
10+
<a href="{% url 'response:result_survey' survey.pk %}" class="btn btn-success">Reuslt</a>
11+
</div>
12+
{% endblock %}
13+
14+
15+
{% block content %}
16+
<div class="container" style="font-family: '나눔스퀘어 Light', serif; vertical-align: middle; height: 600px; line-height: 600px; text-align: center;">
17+
<div class="previewTitle" style="background-color: #fbfbfb; display: inline-block; vertical-align: middle; line-height: normal; height: 450px; width: 750px; padding: 50px;">
18+
<div class="previewImage" style="margin-bottom: 20px;"><img src="{% static 'response/images/quotation.png' %}" width="30" height="30"></div>
19+
<h1 class="previewTitle" style="margin-bottom: 10px;">{{ survey.title }}</h1>
20+
<hr style="width: 500px; margin-bottom: 50px;">
21+
<p class="previewSubtitle" style="color: #333333; margin-bottom: 50px; font-size: 18px;">
22+
{{ survey.subtitle }}
23+
</p>
24+
<p class="previewInfo" style="margin-bottom: 30px; font-size: 14px;">
25+
작성자: {{ survey.author }}<br><br>
26+
문항수: {{ survey.field_set.count }}<br></p>
27+
<div class="previewButton">
28+
<a href="{% url 'response:response_survey' survey.pk %}" style="background-color: #c4a784; padding: 15px; border-radius: 10px; color: white;">Response</a>
29+
<a href="{% url 'board:main' %}" style="background-color: #c4a784; padding: 15px; border-radius: 10px; color: white; display: inline-block; width: 100px;">Back</a>
30+
</div>
31+
</div>
32+
</div>
33+
{% endblock %}

response/templates/response/practice_text.html

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
{% extends 'layout.html' %}
2+
{% load static %}
23

34
{% block content %}
4-
<div class="container">
5-
<div class="jumbotron">
6-
<h1 class="display-4">{{ survey.title }}</h1>
7-
<p class="lead">
5+
<div class="container" style="font-family: '나눔스퀘어 Light', serif; vertical-align: middle; height: 600px; line-height: 600px; text-align: center;">
6+
<div class="previewTitle" style="background-color: #fbfbfb; display: inline-block; vertical-align: middle; line-height: normal; height: 450px; width: 750px; padding: 50px;">
7+
<div class="previewImage" style="margin-bottom: 20px;"><img src="{% static 'response/images/quotation.png' %}" width="30" height="30"></div>
8+
<h1 class="previewTitle" style="margin-bottom: 10px;">{{ survey.title }}</h1>
9+
<hr style="width: 500px; margin-bottom: 50px;">
10+
<p class="previewSubtitle" style="color: #333333; margin-bottom: 50px; font-size: 18px;">
811
{{ survey.subtitle }}
912
</p>
10-
<hr class="my-4">
11-
작성자: {{ survey.author }}<br>
12-
문항수: {{ survey.field_set.count }}<br>
13-
14-
<a href="{% url 'response:response_survey' survey.pk %}" class="btn btn-primary">참여하기</a>
13+
<p class="previewInfo" style="margin-bottom: 30px; font-size: 14px;">
14+
작성자: {{ survey.author }}<br><br>
15+
문항수: {{ survey.field_set.count }}<br></p>
16+
<div class="previewButton">
17+
<a href="{% url 'response:response_survey' survey.pk %}" style="background-color: #c4a784; padding: 15px; border-radius: 10px; color: white;">Response</a>
18+
<a href="{% url 'board:main' %}" style="background-color: #c4a784; padding: 15px; border-radius: 10px; color: white; display: inline-block; width: 100px;">Back</a>
19+
</div>
1520
</div>
1621
</div>
1722
{% endblock %}

0 commit comments

Comments
 (0)