forked from hiho-coder/hiho-resolver
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
executable file
·77 lines (71 loc) · 3.52 KB
/
index.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>acm-resolver</title>
<link type="text/css" rel="stylesheet" href="libs/style/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="libs/style/sticky-footer.css">
<link type="text/css" rel="stylesheet" href="css/main.css">
</head>
<body class="app">
<!-- top navbar -->
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="" id="title">
acm-resolver
</a>
</div>
<!-- <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div> -->
</div>
</nav>
<!-- page content -->
<div class="rank-list" style="display:none">
<div id="rank-{{$index}}" class="rank-list-item clearfix" v-for="team in ranks" track-by="user_id">
<div class="rank">{{ team.rank_show }}</div>
<div class="content">
<div class="name">{{ users[team.user_id].college }}--{{ users[team.user_id].name }}</div>
<ul class="problems">
<li v-for="n in p_count" class="{{team.problem[n+1]|problemStatus}} p-{{n+1}} item">
<div class="{{team.problem[n+1]|problemStatus}} p-content">{{team.problem[n+1] | submissions}}</div>
</li>
</ul>
</div>
<div class="penalty">{{ team.penalty | toMinutes }}</div>
<div class="solved">{{ team.score }}</div>
</div>
</div>
<!-- <pre style="margin:50px 10px;">{{ $data | json }}</pre> -->
<!-- sticky footer -->
<footer class="footer">
<div class="container clearfix">
<p class="text-muted pull-left">
<textarea id="input-data" cols="100" rows="1"></textarea>
</p>
<p class="text-muted pull-left" style="margin-left: 10px;">
<button onclick="loadDataNeedDoubleCheck()">加载数据</button>
</p>
<p class="text-muted pull-left" style="margin-left: 10px;">
<button onclick="loadExampleData()">加载示例数据</button>
</p>
<p class="text-muted pull-left" style="margin-left: 10px;">
<button onclick="clearCacheNeedDoubleCheck()">清空缓存</button>
</p>
</div>
</footer>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script type="text/javascript" src="libs/js/jquery.min.js"></script>
<script type="text/javascript" src="libs/js/underscore-min.js"></script>
<script type="text/javascript" src="libs/js/jquery.scrollTo.min.js"></script>
<script type="text/javascript" src="libs/js/vue.1.js"></script>
<script type="text/javascript" src="hiho-resolver.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>