-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
118 lines (103 loc) · 4.95 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Codeforces Analyzer</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="js/main.js"></script>
<link rel="stylesheet" href="css/master.css">
</head>
<body>
<div class="container head">
<h2 class="text-center codeforces">CF Problem Recommender</h2>
<div class="row handleblock">
<div class="col-sm-4"></div>
<div class="col-sm-4 form-group">
<input type="text" class="form-control" placeholder="Enter Codeforces handle" id="handle_inp" autofocus>
</div>
<div class="col-sm-2"><button type="submit" class="btn btn-primary" id="display_values">Go</button></div>
</div>
</div>
<div class="container text-center" id="alert_message">Handle does not exist!</div>
<div class="container" id="display_block">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-sm-5">
<div class="container">
<h3>Statistics for: <p id = "handle_display"></p></h3>
<br>
<div><b>Current Rating:</b> <p id = "rank_display"></p></div>
<br>
<div><b>Max Rating:</b> <p id = "max_rating_display"></p> <span class="badge" id = "max_rank_display"></span></div>
<br>
<!-- <div><b>Current Rank:</b> <p id = "current_rank_display"></p><span class="badge">New</span></div> -->
<div><b>Current Rank:</b> <span class="badge" id = "current_rank_display"></span></div>
<br>
<div><b>Contests:</b> <p id="contest_display"></p></div>
<br>
<div class="text-danger" id = "recent_contests"></div>
</div>
</div>
<div class="col-sm-6">
<div class="container" id="chart">
<div id="tags" class="hidden to-clear to-hide mdl-shadow--2dp mdl-cell mdl-cell--8-col mdl-cell--8-col-desktop">
</div>
</div>
<div class="container" id="chart_error">
<div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div id="problems"></div>
<div class="col-sm-6">
<div class="container block">
<h3 class="text-center">Recommended Problems for <p id="recm_handle"></p></h3>
<div class="row">
<div class="col-sm-12">
<div class="card recommendations">
<div id="Easy"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card recommendations">
<div id="Medium"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card recommendations">
<div id="Hard"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="container block">
<h3 class="text-center">Recent Contests</h3>
<div class="text-danger text-center" id="nocontests"> <br> No Contest History!</div>
<div class="container recent">
<ul class="list-group list-group-flush" id="contestlist">
<li class="list-group-item">
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div style="margin:20px"></div>
</body>
</html>