aboutsummaryrefslogtreecommitdiffstats
path: root/toj/index.html
diff options
context:
space:
mode:
authorpzread <netfirewall@gmail.com>2013-04-21 15:33:11 +0800
committerpzread <netfirewall@gmail.com>2013-04-21 15:33:11 +0800
commitd8ba93f32ca6bf5f412a07756b6443595c7bfda8 (patch)
tree113591dd33a88331eab038b76e05fee4cca804c7 /toj/index.html
parent567ecd63584b5fac473e23502f0747aa1f7e97d8 (diff)
downloadtaiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar.gz
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar.bz2
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar.lz
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar.xz
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.tar.zst
taiwan-online-judge-d8ba93f32ca6bf5f412a07756b6443595c7bfda8.zip
Use php.ini define include path. Add base personal statistic. Fix some bugs. Improve square event. Add contest sqmod
Diffstat (limited to 'toj/index.html')
-rwxr-xr-xtoj/index.html85
1 files changed, 60 insertions, 25 deletions
diff --git a/toj/index.html b/toj/index.html
index 11a7a97..8f68a8b 100755
--- a/toj/index.html
+++ b/toj/index.html
@@ -6,8 +6,8 @@
<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="/codemirror.css">
+<link rel="stylesheet" type="text/css" 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">
@@ -18,8 +18,9 @@
<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="/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/jquery.easing.1.3.js"></script>
+<script type="text/javascript" src="https://www.google.com/jsapi"></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>
@@ -87,13 +88,25 @@ a:hover{
color:#E9E9E9;
text-decoration:underline;
}
-input,select{
+input{
+ height:32px;
font-size:16px;
font-family:'Roboto','LiHei Pro','微軟正黑體';
+ padding:0px 6px 0px 6px;
+ border-width:0px;
+ display:block;
+}
+select{
+ height:32px;
+ font-size:16px;
+ font-family:'Roboto','LiHei Pro','微軟正黑體';
+ border-width:0px;
+ display:block;
}
</style>
<script type="text/javascript">
+ google.load("visualization","1",{packages:["corechart"]});
$(document).ready(function(){
com.init();
user.init();
@@ -157,7 +170,7 @@ input,select{
<div class="com_pbox none_pbox">
<div style="margin:192px 0px 0px 246px;">
- <h1>Oops! 此頁不存在</h1>
+ <h1>Oops! 此頁不存在或權限不足</h1>
<a href="/toj/home/" style="margin-left:6px; color:#E9E9E9;">回首頁</a>
</div>
</div>
@@ -167,13 +180,17 @@ input,select{
<div class="subset">
<table class="filter">
<tr class="head">
- <th class="key"><h3>過濾器</h3></th>
+ <th class="key"><strong>過濾器</strong></th>
<th class="value"><button class="clear">清除</button></th>
</tr>
<tr class="item uid">
<td class="key">UID</td>
<td class="value">None</td>
</tr>
+ <tr class="item proid">
+ <td class="key">ProID</td>
+ <td class="value"><input type="textbox" value="None"></td>
+ </tr>
<tr class="item result">
<td class="key">Result</td>
<td class="value">
@@ -216,11 +233,29 @@ input,select{
</div>
<div class="data_box">
<button class="looksub">查看動態</button>
+ <h2>統計</h2>
+ <div class="statis">
+ <div class="subpie chart_box">
+ <div class="title">上傳次數</div>
+ <div class="chart"></div>
+ </div>
+ <div class="trypie chart_box">
+ <div class="title">嘗試題目</div>
+ <div class="chart"></div>
+ </div>
+ <div class="timecombo chart_box">
+ <div class="title">時間</div>
+ <div class="chart"></div>
+ </div>
+ <div style="clear:both"></div>
+ </div>
+ <h2>已嘗試題目</h2>
+ <div class="trylist"></div>
</div>
</div>
<div class="com_pbox edit_pbox">
<div class="edit_box">
- <h1>個人資料</h1>
+ <h2>個人資料</h2>
<label>暱稱</label>
<input name="nickname" type="textbox">
<label>照片</label>
@@ -231,7 +266,7 @@ input,select{
<label>電子郵件</label>
<input name="email" type="textbox"><br>
- <h1>重設密碼</h1>
+ <h2>重設密碼</h2>
<label>舊使用者密碼</label>
<input name="password_old" type="password">
<label>新使用者密碼</label>
@@ -246,29 +281,29 @@ input,select{
</div>
<div class="com_pbox mgsq_pbox">
<div class="in_box">
- <h1>已加入方塊</h1>
- <h2>等待中</h2>
+ <h2>已加入方塊</h2>
+ <h3>等待中</h3>
<div class="wait"></div><br>
- <h2>進行中</h2>
+ <h3>進行中</h3>
<div class="run"></div><br>
- <h2>已結束</h2>
+ <h3>已結束</h3>
<div class="past"></div>
</div>
<div class="out_box">
- <h1>未加入方塊</h1>
- <h2>等待中</h2>
+ <h2>未加入方塊</h2>
+ <h3>等待中</h3>
<div class="wait"></div><br>
- <h2>進行中</h2>
+ <h3>進行中</h3>
<div class="run"></div><br>
- <h2>已結束</h2>
+ <h3>已結束</h3>
<div class="past"></div>
</div>
</div>
<div class="com_pbox mg_pbox">
<div class="left_box">
- <h1>方塊</h1>
+ <h2>方塊</h2>
<button class="newsq">建立方塊</button>
- <h1>題目</h1>
+ <h2>題目</h2>
<button class="newpro">建立題目</button>
<table class="prolist">
<tr class="head">
@@ -325,7 +360,7 @@ input,select{
<div class="user_mask">
<div class="com_mbox editsq_mbox">
<div class="edit_box">
- <h1>基本資料</h1>
+ <h2>基本資料</h2>
<label>方塊名稱</label>
<input name="sqname" type="textbox" size="16" placeholder="foo">
<label>模組名稱</label>
@@ -362,11 +397,11 @@ input,select{
<button class="delete" style="display:none;">刪除</button>
</div>
<div class="pro_box">
- <h1>已加入題目</h1>
+ <h2>已加入題目</h2>
<div class="prolist_box">
<table class="prolist prolist_in"></table>
</div>
- <h1>未加入題目</h1>
+ <h2>未加入題目</h2>
<div class="prolist_box">
<table class="prolist prolist_out"></table>
</div>
@@ -375,7 +410,7 @@ input,select{
</div>
<div class="com_mbox editpro_mbox">
<div class="edit_box">
- <h1>基本資料</h1>
+ <h2>基本資料</h2>
<label>題目名稱</label>
<input name="name" type="textbox" size="16" placeholder="foo">
<label>模組ID</label>
@@ -386,7 +421,7 @@ input,select{
<option value=2>隱藏</option>
</select>
<div class="update" style="display:none;">
- <h1>更新題目</h1>
+ <h2>更新題目</h2>
<span class="cacheid"></span><br><br>
<button class="update">更新</button>
<button class="rejudge">重測</button>
@@ -405,7 +440,7 @@ input,select{
<div class="title"></div>
<div class="error"></div>
<div class="oper">
- <select name="lang">
+ <select name="lang" style="display:inline-block;">
<option value="1">C++</option>
</select>
<button class="submit">確定</button>