-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_sign_up.html
More file actions
190 lines (160 loc) · 5.53 KB
/
user_sign_up.html
File metadata and controls
190 lines (160 loc) · 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html>
<head>
<title>우리 마을 변호사</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Jua&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap" rel="stylesheet">
<style>
#logo {
display: block;
}
#login {
float: right;
color: darkgray;
font-family: 'Jua', sans-serif;
font-size: small;
}
#login td {
padding-right: 10px;
}
a:link {
color: darkgray;
text-decoration: none;
}
a:visited {
color: darkgray;
text-decoration: none;
}
#menubar {
background: rgb(163, 213, 201);
}
#menubar ul {
margin: 0;
padding: 3;
width: 95%;
}
#menubar ul li {
display: inline-block;
list-style-type: none;
padding: 6px 20px;
}
#menubar ul li a {
color: rgb(68, 68, 68);
text-decoration: none;
font-family: 'Black Han Sans', sans-serif;
font-size: 125%;
}
#menubar ul li a:hover {
color: rgb(242, 146, 72)
}
/* li {
margin-top: 60px;
margin-bottom: 60px;
} */
.section {
border: 5px;
width: 100%;
height: 100%;
text-align: center;
font-family: 'Do Hyeon', sans-serif;
}
#sign_up {
margin: auto;
margin-bottom: 20px;
border: 1px solid;
}
th,
td {
padding: 10px;
}
.section input[type="submit"] {
background-color: azure;
text-align: center;
font-family: 'Do Hyeon', sans-serif;
}
</style>
</head>
<body>
<header>
<div>
<a id="logo" href="home.html"><center><img src="img/main_logo.png" width="600" height="200"></center></a>
<table id="login">
<tbody>
<tr>
<!-- 로그인 버튼 -->
<td><a href="user_login.html"><img src="img/user_login.png" width="40" height="40"></a></td>
<td><a href="user_login.html">로그인</a></td>
<!-- 변호사 로그인 버튼 -->
<td><a href="lawyer_login.html"><img src="img/lawyer_login.png" width="40" height="40"></a></td>
<td><a href="lawyer_login.html">변호사 로그인</a></td>
</tr>
</tbody>
</table>
</div>
<br><br><br>
<nav id="menubar">
<ul>
<!-- 변호사 검색 버튼 -->
<li><a href="lawyer_search_origin.html">변호사 검색 & 상담 예약 신청</a></li>
<!-- 사이버법률상담 버튼 -->
<li><a href="#none" onclick="move_no()">사이버법률상담</a></li>
<!-- 이용 안내 버튼 -->
<li><a href="howtouse.html">이용 안내</a></li>
<li><a href="blog.html">마을변호사 소식</a></li>
<li><a href="qna.html">자주묻는 질문</a></li>
</ul>
</nav>
<br>
</header>
<section class="section">
<h2>회원가입</h2>
<form name="infor" method="get" action="./user_login.html" onsubmit="return check()">
<table id="sign_up">
<tr>
<td>아이디</td>
<td><input type="text" size="30" name="id"></td>
</tr>
<tr>
<td>비밀번호</td>
<td><input type="password" size="30" name="password"></td>
</tr>
<tr>
<td>이름</td>
<td><input type="text" size="30" name="name"></td>
</tr>
<tr>
<td>성별</td>
<td><input type="radio" name="gender" value="남성">남성<input type="radio" style="margin-left: 50px"
name="gender" value="여성">여성</td>
</tr>
<tr>
<td>전화번호</td>
<td><input type="tel" size="30" name="phone"></td>
</tr>
<tr>
<td>이메일</td>
<td><input type="email" size="30" name="email"></td>
</tr>
</table>
<input type="submit" value="회원가입" style="padding:5px; width:150px">
</form>
</section>
<script>
function check() {
if (infor.id.value == "" || infor.password.value=="" || infor.name.value==""||infor.gender.value==""|| infor.phone.value==""||infor.email.value=="") {
alert("모든 항목을 입력해주세요.");
return false;
}
else
return true;
}
function move_no(){
alert("로그인이 필요한 서비스 입니다.");
}
</script>
</body>
</html>