-
Notifications
You must be signed in to change notification settings - Fork 0
/
request.html
220 lines (205 loc) · 8.34 KB
/
request.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" initial-scale=1.0>
<link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">
<title>Task Left</title>
<link rel="stylesheet" type="text/css" href="Semantic/semantic.css">
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="Semantic/semantic.js"></script>
<link href="https://fonts.googleapis.com/css?family=Nanum+Gothic|Noto+Sans" rel="stylesheet">
<link href="jquery/css/ui-lightness/jquery-ui-1.10.0.custom.css" rel="stylesheet"/>
<link href="./request.css" rel="stylesheet"/>
</head>
<body>
<!-- Confirm Message Box Area -->
<div id="TempModal"></div>
<div class="ui card centered" id="ModalBox">
<div class="content">
<div class="header">정말로 거절하시겠습니까?</div>
</div>
<div class="extra content">
<div class="ui form">
<div class="field">
<label>거절하시는 이유 (입력권장)</label>
<input type="text" id="RefuseInput" placeholder="ex)학생지원팀으로 문의바랍니다" autofocus>
</div>
</div>
</div>
<div class="extra content">
<div class="ui two buttons">
<div class="ui grey button CancelDelete">취소</div>
<div class="ui red button DeleteRequest">전송</div>
</div>
</div>
</div>
<!-- Top Menu Bar Area -->
<div class="ui top fixed inverted segment" id="header">
<div class="ui top inverted secondary pointing menu">
<a class="active item" id="redir_request">
해야 할 일
</a>
<a class="item" id="redir_compl">
완료된 일
</a>
<a class="item" id="redir_notice">
공지하기
</a>
<div class="right menu">
<a class="item" id="reset">
<i class="fas fa-sync-alt"></i>
</a>
</div>
<div class="right menu">
<a class="item" id="gohome">
<i class="fas fa-home"></i>
</a>
</div>
</div>
</div>
<!-- Map Area -->
<div id="map"></div>
<script>
function initMap() {
var kaist = {lat: 36.369684, lng: 127.362378};
window.map = new google.maps.Map(document.getElementById('map'), {
zoom: 15,
center: kaist
});
}
</script>
<!-- Filter Menu Bar Area -->
<div id="wrapper"></div>
<div class="ui small pointing menu">
<a class="active item todolistmenu" id="SeeAll">
전체
<div class="ui green label todolistmenulabel" id="label_all">-</div>
</a>
<a class="item todolistmenu" id="SeeDanger">
긴급
<div class="ui label todolistmenulabel" id="label_danger">-</div>
</a>
<a class="item todolistmenu" id="SeeLiving">
생활
<div class="ui label todolistmenulabel" id="label_living">-</div>
</a>
<a class="item todolistmenu" id="SeeRepair">
수리
<div class="ui label todolistmenulabel" id="label_repair">-</div>
</a>
</div>
<!-- Loading Indicator Area -->
<div class="ui active centered inline text loader">로딩중</div>
<!--=== Request Task Area ===-->
<div id="request_wrapper">
<ul id="ulcontent">
</ul>
</div>
<!------------------------------Task Left Template------------------------------>
<script id="task-left-template-danger" type="text/template">
<li>
<p class="invisible">{{keyvalue}}</p>
<div id="cardnews" class="ui fluid card">
<div class="content">
<div class="header"><a class="item" id="lowerbar">
<div class="ui red horizontal label">{{category}}</div>
{{title}}</a></div>
<div id="variable_content">
<div class="description">
{{content}}
</div>
<div class="ui segments">
<div class="ui segment"><a class="bold">위치</a> | {{location}}</div>
<div class="ui segment"><a class="bold">의뢰인</a> | {{student}}</div>
</div>
<div class="ui two buttons">
<div class="ui grey button" id="trashed">의뢰 거부하기</div>
<div class="ui green button" id="finished">완료했습니다</div>
</div>
</div>
</div>
<div class="extra content" id="lowerbar">
<span class="right floated" id="expand_message">자세히보기<i class="angle down icon"></i></span>
<span><i class="clock outline icon"></i>{{request_date}}</span>
</div>
</div>
</li>
</script>
<script id="task-left-template-repair" type="text/template">
<li>
<p class="invisible">{{keyvalue}}</p>
<div id="cardnews" class="ui fluid card">
<div class="content">
<div class="header"><a class="item" id="lowerbar">
<div class="ui blue horizontal label">{{category}}</div>
{{title}}</a></div>
<div id="variable_content">
<div class="description">
{{content}}
</div>
<div class="ui segments">
<div class="ui segment"><a class="bold">위치</a> | {{location}}</div>
<div class="ui segment"><a class="bold">의뢰인</a> | {{student}}</div>
<!--
<div class="ui segment">{{location}}</div>
-->
</div>
<div class="ui two buttons">
<div class="ui grey button" id="trashed">의뢰 거부하기</div>
<div class="ui green button" id="finished">완료했습니다</div>
</div>
</div>
</div>
<div class="extra content" id="lowerbar">
<span class="right floated" id="expand_message">자세히보기<i class="angle down icon"></i></span>
<span><i class="clock outline icon"></i>{{request_date}}</span>
</div>
</div>
</li>
</script>
<script id="task-left-template-living" type="text/template">
<li>
<p class="invisible">{{keyvalue}}</p>
<div id="cardnews" class="ui fluid card">
<div class="content">
<div class="header"><a class="item" id="lowerbar">
<div class="ui yellow horizontal label">{{category}}</div>
{{title}}</a></div>
<div id="variable_content">
<div class="description">
{{content}}
</div>
<div class="ui segments">
<div class="ui segment"><a class="bold">위치</a> | {{location}}</div>
<div class="ui segment"><a class="bold">의뢰인</a> | {{student}}</div>
<!--
<div class="ui segment">{{location}}</div>
-->
</div>
<div class="ui two buttons">
<div class="ui grey button" id="trashed">의뢰 거부하기</div>
<div class="ui green button" id="finished">완료했습니다</div>
</div>
</div>
</div>
<div class="extra content" id="lowerbar">
<span class="right floated" id="expand_message">자세히보기<i class="angle down icon"></i></span>
<span><i class="clock outline icon"></i>{{request_date}}</span>
</div>
</div>
</li>
</script>
<script src="jquery/js/jquery-3.3.1.min.js"></script>
<script src="jquery/js/jquery-ui-1.10.0.custom.min.js"></script>
<script src="https://cdn.rawgit.com/janl/mustache.js/master/mustache.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.0.2/firebase.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCfT-5QGLpLVyDVdZFoS3o3sDfRO_Mj-oY&callback=initMap">
</script>
<script src="./request.js"></script>
</body>
</html>