-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_home.html
More file actions
308 lines (263 loc) · 9.38 KB
/
user_home.html
File metadata and controls
308 lines (263 loc) · 9.38 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script>
function setChildValue(index) {
window.location.href = "lawyer_search.html?index=" + index;
}
</script>
<link rel="shortcut icon" href="#">
<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;
width: auto;
align-items: center;
}
#user_name {
color: rgb(242, 146, 72)
}
#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)
}
#intro_video {
display: block;
margin-left: auto;
margin-right: auto;
}
#introduction {
margin-left: 100px;
}
#intro_text {
font-family: 'Do Hyeon', sans-serif;
font-size: 125%;
padding-left: 40px;
padding-right: 20px;
padding-top: 100px;
border-bottom-width: 8px;
border-bottom-color: rgb(242, 146, 72);
border-bottom-style: solid;
}
#operation_method {
margin-left: 300px;
}
#operate_text {
font-family: 'Do Hyeon', sans-serif;
font-size: 125%;
padding-left: 20px;
padding-right: 20px;
padding-top: 100px;
border-bottom-width: 8px;
border-bottom-color: rgb(242, 146, 72);
border-bottom-style: solid;
}
#use_method {
margin-left: 100px;
}
#use_text {
font-family: 'Do Hyeon', sans-serif;
padding-left: 20px;
padding-right: 20px;
padding-top: 100px;
border-bottom-width: 8px;
border-bottom-color: rgb(242, 146, 72);
border-bottom-style: solid;
}
#alpha_info {
list-style-type: none;
}
#support {
float: right;
margin-right: 50px;
}
#support tbody tr td {
padding-left: 30px;
}
#menubar li.user {
float: right;
margin-left: -1px;
z-index: 1;
}
</style>
</head>
<body>
<header>
<div>
<a id="logo" href="#none" onclick="move_home()">
<center><img src="img/main_logo.png" width="600" height="200"></center>
</a>
</div>
<br><br><br>
<nav id="menubar">
<ul>
<!-- 변호사 검색 버튼 -->
<li><a href="#none" onclick="move_search()">변호사 검색 & 상담 예약 신청</a></li>
<!-- 사이버법률상담 버튼 -->
<li><a href="#none" onclick="move_cyber()">사이버법률상담</a></li>
<!-- 이용 안내 버튼 -->
<li><a href="#none" onclick="move_howtouse()">이용 안내</a></li>
<li><a href="#none" onclick="move_blog()">마을변호사 소식</a></li>
<li><a href="#none" onclick="move_qna()">자주묻는 질문</a></li>
<li class="user"><a href="./home.html">로그아웃</a></li>
<li class="user"><a id="user_name">땡땡땡</a></li>
</ul>
</nav>
<br>
<!-- 소개 영상 -->
<div>
<video id="intro_video" width="500" height="400" controls autoplay muted>
<source src="intro_30sec.mp4" type="video/mp4">
</video>
</div>
</header>
<!-- 소개 글 -->
<section id="introduction">
<table>
<tbody>
<tr>
<td><img src="img/introduction.png" width="400" height="150"></td>
<td id="intro_text">시민들이 집이나 생활 속에서 접하는 법률문제를 쉽고 편리하게 상의하고,<br>법률적 조언을 받을 수 있도록 마을(洞)마다 연결된 우리 동네
주치의 같은 변호사입니다.</td>
</tr>
</tbody>
</table>
</section>
<br><br><br><br>
<!-- 운영방법 -->
<section id="operation_method">
<table>
<tbody>
<tr>
<td id="operate_text" width=1000px>공익활동에 관심 있는 변호사와 마을(洞)을 1:1로 연결합니다.</td>
<td><img src="img/operation_method.png" width="250" height="150"></td>
</tr>
</tbody>
</table>
</section>
<br>
<!-- 이용방법 -->
<section id="use_method">
<table>
<tbody>
<tr>
<td><img src="img/use_method.png" width="250" height="150"></td>
<td id="use_text">
<ul>
<li><a>변호사 검색 메뉴에서 지역 검색으로 마을 변호사 확인</a></li>
<li><a>변호사 선택 후, 상담 신청 글 작성</a></li>
<li><a>변호사가 상담 글 확인 후, 개별 연락</a></li>
<li id="alpha_info"><a>(간단한 법률 고민 상담은 사이버법률상담 메뉴를 통해 이루어지며 상담 내용은 변호사에게만 공개됩니다.)</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
</section>
<br><br><br>
<hr><br>
<footer>
<table id="support">
<tbody>
<tr>
<td><img src="img/support_institution1.jpg" width="110" height="60"></td>
<td><img src="img/support_institution2.png" width="60" height="60"></td>
<td><img src="img/support_institution3.png" width="55" height="55"></td>
</tr>
</tbody>
</table>
</footer>
<br><br><br><br><br><br>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">
function setChildValue(index) {
window.location.href = "user_reservation.html?index=" + index;
}
function change_name(name) {
var user = document.getElementById("user_name");
user.innerText = name + " 님";
}
var getParameter = function (param) {
var returnValue;
var url = location.href;
var parameters = (url.slice(url.indexOf('?') + 1, url.length)).split('&');
for (var i = 0; i < parameters.length; i++) {
var varName = parameters[i].split('=')[0];
if (varName.toUpperCase() == param.toUpperCase()) {
returnValue = parameters[i].split('=')[1];
return decodeURIComponent(returnValue);
}
}
};
$(document).ready(function () {
var name = getParameter('index');
console.log('name : ' + name);
if (name != undefined) {
//alert(name + "님 환영합니다");
change_name(name);
}
});
function move_search() {
var name = getParameter('index');
window.location.href = "lawyer_search.html?index=" + name;
}
function move_cyber() {
var name = getParameter('index');
window.location.href = "cyber_qa_user.html?index=" + name;
}
function move_home() {
var name = getParameter('index');
window.location.href = "user_home.html?index=" + name;
}
function move_blog() {
var name = getParameter('index');
window.location.href = "blog_user.html?index=" + name;
}
function move_howtouse() {
var name = getParameter('index');
window.location.href = "howtouse_user.html?index=" + name;
}
function move_qna() {
var name = getParameter('index');
window.location.href = "qna_user.html?index=" + name;
}
</script>
</body>
</html>