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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
|
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Taiwan Online Judge</title>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/codemirror.css">
<link rel="stylesheet" href="/lesser-dark.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/common.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/index.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/notice.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/home.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/stat.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/user.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/sq.css">
<link rel="stylesheet" type="text/css" href="/toj/jcs/pro.css">
<script src="/jquery-1.9.1.min.js"></script>
<script src="/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/codemirror.js"></script>
<script type="text/javascript" src="/clike.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax:{inlineMath:[['$','$'],['\\(','\\)']]}
});
</script>
<script src="/toj/jcs/common.js"></script>
<script src="/toj/jcs/index.js"></script>
<script src="/toj/jcs/notice.js"></script>
<script src="/toj/jcs/home.js"></script>
<script src="/toj/jcs/stat.js"></script>
<script src="/toj/jcs/user.js"></script>
<script src="/toj/jcs/sq.js"></script>
<script src="/toj/jcs/pro.js"></script>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
<style type="text/css">
/*@font-face{
font-family:Droid Sans Mono;
src:url('/DroidSansMono.ttf');
}*/
/*::-webkit-scrollbar{
width:12px;
}
::-webkit-scrollbar-track{
background-color:#E9E9E9;
}
::-webkit-scrollbar-thumb {
background-color:rgba(0,0,0,0.4);
}
::-webkit-scrollbar-thumb:window-inactive {
background-color:rgba(0,0,0,0.1);
}*/
body{
color:#E9E9E9;
background-color:#373C38;
font-family:'Roboto','LiHei Pro','微軟正黑體';
overflow-y:scroll;
}
button{
height:32px;
margin:0px 0px;
padding:0px 16px 0px 16px;
font-size:16px;
font-family:'Roboto','LiHei Pro','微軟正黑體';
color:#E9E9E9;
background-color:#00896C;
border:none;
cursor:pointer;
}
button:hover{
background-color:#24936E;
}
a{
color:#E9E9E9;
text-decoration:none;
}
a:hover{
color:#E9E9E9;
text-decoration:underline;
}
input,select{
font-size:16px;
font-family:'Roboto','LiHei Pro','微軟正黑體';
}
</style>
<script type="text/javascript">
$(document).ready(function(){
com.init();
user.init();
index.init();
notice.init();
home.init();
stat.init();
sq.init();
pro.init();
com.exheight();
$(window).resize(function(e){com.exheight();});
$(window).on('popstate',function(e){
if(location.href != com.url_curr){
com.url_prev = com.url_curr;
com.url_curr = location.href;
com.url_chg();
}
});
com.url_chg();
});
</script>
</head>
<body>
<div class="index_head_box">
<div id="index_head" class="index_head">
<div class="title">Taiwan Online Judge</div>
<div class="tab_box"></div>
<div class="content_box"></div>
</div>
<div id="index_head_panel" class="panel">開始</div>
<div id="index_head_notice" class="notice" style="display:none">[0]</div>
<div id="index_head_nickname" class="nickname"><a class="nickname"></a></div>
</div>
<div id="index_panel_box" exminheight=true class="index_panel_box"><ul id="index_panel" class="index_panel">
<li class="button home"><a href="/toj/home/" class="button">首頁</a></li>
<li class="button stat"><a href="/toj/stat/allsub/" class="button">狀態</a></li>
<li class="button user" style="display:none;"><a class="button">個人</a></li>
<li class="button square"><a class="button">方塊</a></li>
<ul class="square_box"></ul>
<li class="button login" style="margin:64px 0px 0px 0px; display:none;"><a href="/toj/login/" class="button">登入</a></li>
<li class="button register" style="display:none;"><a href="/toj/register/" class="button">註冊</a></li>
<li class="button logout" style="margin:64px 0px 0px 0px; display:none;"><a href="/toj/logout/" class="button">登出</a></li>
</ul></div>
<div id="notice_list_box" exminheight=true class="notice_list_box"><ul id="notice_list" class="notice_list"></ul></div>
<div id="index_page" class="index_page">
<div exheight=true extop=32 class="com_pbox home_pbox">
<audio id="tmpload_audio" src="/tmpload.ogg" preload></audio>
<audio id="tmp_audio" src="/tmp.ogg" preload></audio>
<div id="tmpani" style="width:100%; height:100%; background-color:#0C0C0C;">
<canvas id="tmpcanv" width=1280 height=720 style="margin:0px auto 0px auto; display:block;"></canvas>
</div>
</div>
<div class="com_pbox none_pbox">
<div style="margin:192px 0px 0px 246px;">
<h1>Oops! 此頁不存在</h1>
<a href="/toj/home/" style="margin-left:6px; color:#E9E9E9;">回首頁</a>
</div>
</div>
<div class="stat_page">
<div class="com_pbox sub_pbox allsub_pbox">
<table class="sublist">
<tr class="head">
<th class="subid">SubID</th>
<th class="proid" >ProID</th>
<th class="nickname">暱稱</th>
<th class="runtime">執行時間</th>
<th class="memory">記憶體</th>
<th class="result">結果</th>
<th class="score">分數</th>
<th class="time">時間</th>
<th class="lang">語言</th>
</tr>
</table>
</div>
</div>
<div class="user_page">
<div class="com_pbox main_pbox">
<div class="info_box">
<img class="avatar"></img>
<div class="aboutme"></div>
</div>
</div>
<div class="com_pbox edit_pbox">
<div class="edit_box">
<h1>個人資料</h1>
<label>暱稱</label>
<input name="nickname" type="textbox">
<label>照片</label>
<input name="avatar" type="textbox" placeholder="http://example.png">
<img class="avatar"></img>
<label>關於我</label>
<input name="aboutme" type="textbox">
<label>電子郵件</label>
<input name="email" type="textbox"><br>
<h1>重設密碼</h1>
<label>舊使用者密碼</label>
<input name="password_old" type="password">
<label>新使用者密碼</label>
<input name="password_new" type="password">
<label>重復新密碼</label>
<input name="password_repeat" type="password"><br>
<div class="error"></div>
<button class="submit">確定</button>
<button class="cancel">取消</button>
</div>
</div>
<div class="com_pbox mgsq_pbox">
<div class="in_box">
<h1>已加入方塊</h1>
<h2>等待中</h2>
<div class="wait"></div><br>
<h2>進行中</h2>
<div class="run"></div><br>
<h2>已結束</h2>
<div class="past"></div>
</div>
<div class="out_box">
<h1>未加入方塊</h1>
<h2>等待中</h2>
<div class="wait"></div><br>
<h2>進行中</h2>
<div class="run"></div><br>
<h2>已結束</h2>
<div class="past"></div>
</div>
</div>
<div class="com_pbox mg_pbox">
<div class="left_box">
<h1>方塊</h1>
<button class="newsq">建立方塊</button>
<h1>題目</h1>
<button class="newpro">建立題目</button>
<table class="prolist">
<tr class="head">
<th class="proid">ProID</th>
<th class="name">題目名稱</th>
<th class="cacheid">CacheID</th>
<th></th>
</tr>
</table>
</div>
</div>
</div>
<div class="sq_page"></div>
<div class="com_pbox pro_pbox"></div>
<div class="com_pbox login_pbox">
<div class="info_box">
<h1>登入TOJ, 開始你的解題</h1>
<strong>沒有帳號?</strong><a href="/toj/register/" style="margin-left:6px; color:#E9E9E9;">註冊</a>
</div>
<div class="login_box">
<h1>登入</h1>
<div class="error"></div>
<input name="username" type="textbox" placeholder="使用者名稱">
<input name="password" type="password" placeholder="使用者密碼">
<button>登入</button>
</div>
</div>
<div class="com_pbox register_pbox">
<div class="info_box">
<h1>註冊TOJ, 開始你的解題</h1>
<strong>有帳號?</strong><a href="/toj/login/" style="margin-left:6px; color:#E9E9E9;">登入</a>
</div>
<div class="register_box">
<h1>註冊</h1>
<div class="error"></div>
<input name="username" type="textbox" placeholder="使用者名稱">
<input name="password" type="password" placeholder="使用者密碼">
<input name="password_repeat" type="password" placeholder="重復密碼">
<input name="nickname" type="textbox" placeholder="暱稱">
<input name="email" type="textbox" placeholder="電子郵件">
<button>註冊</button>
</div>
</div>
</div>
<div id="index_mask" class="index_mask_nopbox">
<button class="close">關閉</button>
<div class="user_mask">
<div class="com_mbox editsq_mbox">
<div class="edit_box">
<h1>基本資料</h1>
<label>方塊名稱</label>
<input name="sqname" type="textbox" size="16" placeholder="foo">
<label>模組名稱</label>
<input name="sqmodname" type="textbox" size="16" placeholder="sqmod_foo">
<label>隱私</label>
<select name="publicity">
<option value=3>公開</option>
<option value=2>可申請</option>
<option value=1>秘密</option>
</select>
<label>時間限制</label>
<select name="infinite">
<option value=1>無時限</option>
<option value=2>有時限</option>
</select>
<div class="time" style="display:none;">
<label>開始時間</label><br>
<input name="s_year" type="textbox" size="1" placeholder="2501" style="display:inline-block">
<input name="s_month" type="textbox" size="1" placeholder="1" style="display:inline-block">
<input name="s_day" type="textbox" size="1" placeholder="1" style="display:inline-block">
<input name="s_hr" type="textbox" size="1" placeholder="18" style="margin:0px 0px 0px 6px; display:inline-block">
<input name="s_min" type="textbox" size="1" placeholder="30" style="display:inline-block"><br>
<label>結束時間</label><br>
<input name="e_year" type="textbox" size="1" placeholder="2501" style="display:inline-block">
<input name="e_month" type="textbox" size="1" placeholder="1" style="display:inline-block">
<input name="e_day" type="textbox" size="1" placeholder="1" style="display:inline-block">
<input name="e_hr" type="textbox" size="1" placeholder="18" style="margin:0px 0px 0px 6px; display:inline-block">
<input name="e_min" type="textbox" size="1" placeholder="30" style="display:inline-block">
</div>
<div class="error"></div>
<button class="submit">確定</button>
<button class="cancel">取消</button>
<button class="delete" style="display:none;">刪除</button>
</div>
<div class="pro_box">
<h1>已加入題目</h1>
<div class="prolist_box">
<table class="prolist prolist_in"></table>
</div>
<h1>未加入題目</h1>
<div class="prolist_box">
<table class="prolist prolist_out"></table>
</div>
</div>
<div style="width:100%; clear:both;"></div>
</div>
<div class="com_mbox editpro_mbox">
<div class="edit_box">
<h1>基本資料</h1>
<label>題目名稱</label>
<input name="name" type="textbox" size="16" placeholder="foo">
<label>模組ID</label>
<input name="modid" type="textbox" size="16" placeholder="1">
<label>隱私</label>
<select name="hidden">
<option value=1>公開</option>
<option value=2>隱藏</option>
</select>
<div class="update" style="display:none;">
<h1>更新題目</h1>
<span class="cacheid"></span><br><br>
<button class="update">更新</button>
<button class="rejudge">重測</button>
</div>
<div class="error"></div>
<button class="submit">確定</button>
<button class="cancel">取消</button>
<button class="delete" style="">刪除</button>
</div>
</div>
</div>
<div class="pro_mask">
<div exheight=true extop=32 exbottom=32 class="com_mbox sub_mbox">
<div class="head">
<div class="title"></div>
<div class="error"></div>
<div class="oper">
<select name="lang">
<option value="1">C++</option>
</select>
<button class="submit">確定</button>
</div>
</div>
<div exheight=true extop=76 exbottom=38 class="codebox"></div>
</div>
</div>
<div class="stat_mask">
<div class="com_mbox subres_mbox"></div>
<div class="com_mbox subfile_mbox">
<button class="result" style="margin:6px 0px 0px 0px; float:right;">結果</button>
<h2 class="subid"></h2>
</div>
</div>
</div>
</body>
</html>
|