This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Yoochangmin/main
[FE][창민] :: check ,chcekdetail study 폼 완료
- Loading branch information
Showing
9 changed files
with
481 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
:root { | ||
--maincolor: #CDF0FF; /*메인 색상*/ | ||
--font50: 50px; /*메인 폰트 사이즈*/ | ||
--font30: 30px; | ||
--font15: 15px; | ||
--fonit20: 20px; | ||
} | ||
|
||
.gridContainner{ | ||
display: grid; | ||
|
||
grid-template-areas: | ||
'LMarginLayout main RMarginLayout'; | ||
grid-template-rows: auto; | ||
grid-template-columns: 1fr 1200px 1fr; | ||
} | ||
|
||
.LMarginLayout{ | ||
grid-area: LMarginLayout; | ||
} | ||
.RMarginLayout{ | ||
grid-area: RMarginLayout; | ||
} | ||
|
||
.upmargin{ | ||
height: 60px; | ||
} | ||
.undermargin{ | ||
height: 60px; | ||
} | ||
.bc{ | ||
display: flex; | ||
background-color: var(--maincolor); | ||
border-radius: 60px; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: 30px; | ||
} | ||
tr td{ | ||
padding-bottom: 30px; | ||
border: white 2px solid; | ||
vertical-align: center; | ||
justify-items: center; | ||
} | ||
|
||
table{ | ||
border: white 2px solid; | ||
border-radius: 60px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
:root { | ||
--maincolor: #CDF0FF; /*메인 색상*/ | ||
--font50: 50px; /*메인 폰트 사이즈*/ | ||
--font30: 30px; | ||
--font15: 15px; | ||
--fonit20: 20px; | ||
} | ||
|
||
.gridContainner{ | ||
display: grid; | ||
|
||
grid-template-areas: | ||
'LMarginLayout main RMarginLayout'; | ||
grid-template-rows: auto; | ||
grid-template-columns: 1fr 1200px 1fr; | ||
} | ||
|
||
.main{ | ||
grid-area:main ; | ||
background-color: var(--maincolor); | ||
padding: 20px; | ||
border-radius: 50px; | ||
} | ||
.LMarginLayout{ | ||
grid-area: LMarginLayout; | ||
} | ||
.RMarginLayout{ | ||
grid-area: RMarginLayout; | ||
} | ||
|
||
.upmargin{ | ||
height: 60px; | ||
} | ||
.undermargin{ | ||
height: 60px; | ||
} | ||
.check_containner{ | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
|
||
.complete{ | ||
padding-bottom: 20px; | ||
color: white; | ||
} | ||
button{ | ||
background-color: var(--maincolor); | ||
} | ||
img{ | ||
border: 2px solid white; | ||
background-color: var(--maincolor); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
[회원가입 승인] | ||
<br> | ||
<br> | ||
{%for a in check_users%} | ||
{{a.username}}|{{a.real_name}}|{{a.uni_num}}|{{a.email}}|{{a.status}}|{{a.approval}}</p> | ||
<a href = "{% url 'check_detail' a.id %}">관리</a> | ||
<br> | ||
<br> | ||
{%endfor%} | ||
</body> | ||
</html> | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block link %}{% static 'css/check.css' %} {% endblock %} | ||
{% block content %} | ||
<div class="upmargin"></div> | ||
<div class="gridContainner"> | ||
|
||
<div class="LMarginLayout"></div> | ||
<div class="RMarginLayout"></div> | ||
<div class="main"> | ||
<div id="board_name"> | ||
<h2>회원관리</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<div class=""> | ||
[회원관리 상태] | ||
</div> | ||
<br> | ||
<br> | ||
<div class="bc"> | ||
<table class="bulletin_board_table"> | ||
<tr class="test"><!-- 첫번째 줄 시작 --> | ||
<div class="hh"> | ||
<td class="id">아이디</td> | ||
<td class="realname">이름</td> | ||
<td class="classnumber">학번</td> | ||
<td class="email">이메일</td> | ||
<td class="등록형태">등록형태</td> | ||
<td class="등록형태">승인상태</td> | ||
</div> | ||
</tr> | ||
{% for a in check_users %} | ||
<tr class="test"><!-- 첫번째 줄 시작 --> | ||
<div class="gg"> | ||
<td class="id"> {{ a.username }}</td> | ||
<td class="realname">{{ a.real_name }}</td> | ||
<td class="classnumber">{{ a.uni_num }}</td> | ||
<td class="email">{{ a.email }}</td> | ||
<td class="등록형태">{{ a.status }} </td> | ||
<td class="등록형태">{{ a.approval }}</td> | ||
</div> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="undermargin"></div> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<p><img src="{{check_detail_user.card.url}}" width = "200" height ="200" alt ="x"/></p> | ||
<a href="{% url 'update_status' check_detail_user.id %}"><input type="submit" value="승인완료"></a> | ||
<a href="{% url 'delete_user' check_detail_user.id %}"><input type="submit" value="삭제"></a> | ||
</body> | ||
</html> | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block link %}{% static 'css/check_detail.css' %} {% endblock %} | ||
{% block content %} | ||
|
||
<div class="upmargin"></div> | ||
<div class="gridContainner"> | ||
|
||
<div class="LMarginLayout"></div> | ||
<div class="RMarginLayout"></div> | ||
|
||
<div class="main"> | ||
<div id="board_name"> | ||
<h2>회원관리</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<div class=""> | ||
[회원관리 승인] | ||
</div> | ||
<br> | ||
<br> | ||
<div class="check_containner"> | ||
<p><img src="{{ check_detail_user.card.url }}" width="500" height="500" alt="x"/></p> | ||
<div class="complete"><a href="{% url 'update_status' check_detail_user.id %}"><button type="submit" value="승인완료" class="btn btn-info">승인완료</a></div> | ||
<div class="delete"><a href="{% url 'delete_user' check_detail_user.id %}"><button type="submit" value="삭제" class="btn btn-info">삭제</a></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="undermargin"></div> | ||
|
||
|
||
{% endblock %} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.