-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
163 lines (149 loc) · 8.22 KB
/
index.html
File metadata and controls
163 lines (149 loc) · 8.22 KB
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
<!DOCTYPE html>
<html>
<head>
<title>USACO Rating</title>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="icon" href="./favicon.png">
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/utility.css">
<meta name="keywords" content="usaco rating,codetiger,blog,usaco,codeforces,rating,estimator,practice,converter">
<meta name="description" content="A tool to estimate the difficulties of USACO problems in terms of CodeForces rating.">
<meta name="title" content="USACO Rating">
<meta name="Author" content="CodeTiger">
<meta property="og:type" content="website">
<meta property="og:url" content="https://codetiger.me/project/usaco/">
<meta property="og:title" content="USACO Rating">
<meta property="og:description" content="A tool to estimate the difficulties of USACO problems in terms of CodeForces rating.">
<meta property="og:image" content="https://codetiger.me/project/usaco/favicon.png">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://codetiger.me/project/usaco/">
<meta property="twitter:title" content="USACO Rating">
<meta property="twitter:description" content="A tool to estimate the difficulties of USACO problems in terms of CodeForces rating.">
<meta property="twitter:image" content="https://codetiger.me/project/usaco/favicon.png">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
<script src="./js/localIO.js"></script>
<script src="./js/cookieIO.js"></script>
</head>
<body>
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark">
<a class="mb-0 h1 navbar-brand active" href="./">USACO Rating</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="./">Problems</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./frontend/faq.html">FAQ</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./frontend/contribute.html">Contribute</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./frontend/vote.html">Vote</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./frontend/about.html">About</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Links
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="http://usaco.org/">USACO</a>
<a class="dropdown-item" href="https://github.com/CodeTiger927/USACO-Rating">GitHub</a>
<a class="dropdown-item" href="https://codetiger.me/">CodeTiger</a>
<a class="dropdown-item" href="https://usaco.guide/">USACO Guide</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="main-container">
<div class="custom-control custom-switch" style="display: inline-flex">
<input type="checkbox" class="custom-control-input" id="practice">
<label class="custom-control-label" for="practice">Practice Mode</label>
</div>
<span id="HelpBadgeTooltip-difficulty" class="badge badge-secondary badge-pill" style="display: inline-flex;margin-right: 15px;" data-toggle="popover" data-content="Progress are stored locally via local storage. Click on cells with problem names to update their status." data-original-title="" title="">?</span>
<div class="custom-control custom-switch" style="display: inline-flex;margin-right: 20px;">
<input type="checkbox" class="custom-control-input" id="median">
<label class="custom-control-label" for="median">Use Median</label>
</div>
<div class="dropdown" style="display: inline-flex;">
<button class="btn btn-secondary dropdown-toggle" type="button" id="sortbymenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Sort By</button>
<div class="dropdown-menu" aria-labelledby="sortbymenu">
<a class="dropdown-item" href="javascript:sortProblems(0)">Contest</a>
<a class="dropdown-item" href="javascript:sortProblems(1)">Rating</a>
<a class="dropdown-item" href="javascript:sortProblems(2)">Quality</a>
</div>
</div>
<div class="row justify-content-start" style="margin-left: 0;margin-top: 30px;">
<div class="btn-group">
<button class="btn btn-secondary active" onclick="display(0)" id="b0">
Platinum
</button>
<button class="btn btn-secondary" onclick="display(1)" id="b1">
Gold
</button>
<button class="btn btn-secondary" onclick="display(2)" id="b2">
Silver
</button>
<button class="btn btn-secondary" onclick="display(3)" id="b3">
Bronze
</button>
</div>
</div>
<table class="table table-bordered" style="margin-top: 40px;font-weight: 450;">
<thead>
<tr>
<th scope="col"><a href="javascript:sortProblems(0)" style="cursor: pointer;text-decoration: none;color: #212529;" id="contest">Contest ▾</a></th>
<th scope="col"><a>Name</a></th>
<th scope="col"><a href="javascript:sortProblems(1)" style="cursor: pointer;text-decoration: none;color: #212529;" id="difficulty">Difficulty ▴</a></th>
<th scope="col"><a href="javascript:sortProblems(2)" style="cursor: pointer;text-decoration: none;color: #212529;" id="quality">Quality ▴</a></th>
<tr>
</thead>
<tbody class="problems">
</tbody>
</table>
</div>
<!-- Announcements -->
<div class="modal fade" id="Announcements" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="announcementTitles">Updates</h4>
</div>
<div class="modal-body">
<h5>2/8/2024</h5>
<ul>
<li>Added a link recovery system for volunteers who lost their invitation link! Check out the new <a href="frontend/recovery.html">Recovery</a> page.</li>
</ul>
<h5>1/14/2023</h5>
<ul>
<li>Added an automatic registartion system for voting volunteers! Check out the new <a href="frontend/contribute.html">Contribute</a> page.</li>
</ul>
<h5>5/28/2021</h5>
<ul>
<li>Added <b>practice mode</b>! You can mark questions you've done with different colors like <a href="https://oichecklist.pythonanywhere.com/">oichecklist</a>. Try it out by clicking on cells with the problem names after enabling practice mode.</li>
<li>You no longer need to keep looking for your invite link. Just use it once and you can directly access the voting page through the <b>Vote</b> tab on the navigation bar!</li>
<li>We now have successfully given a rating to <b>all of the problems</b>! A huge thanks to our contributors(I will create a top contributor page soon to honor them).</li>
<li>Added <b>announcement</b>/update system to display the newest additions :D</li>
</ul><br>
Also reminder to give your feedback by going to our <a href="https://github.com/CodeTiger927/USACO-Rating/issues">github page</a>, or upvote suggestions you like most ♥
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="./js/index.js"></script>
</body>
</html>