Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: infra/tools/antibody/static/leaderboard.js

Issue 1235373004: Added script to generate stats on a git checkout (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@new_antibody_db_schema
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « infra/tools/antibody/static/leaderboard.css ('k') | infra/tools/antibody/static/leaderboard_arcade.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/tools/antibody/static/leaderboard.js
diff --git a/infra/tools/antibody/static/leaderboard.js b/infra/tools/antibody/static/leaderboard.js
new file mode 100644
index 0000000000000000000000000000000000000000..9d7a1a2d79c032b839dcdd639b2260899a6eb344
--- /dev/null
+++ b/infra/tools/antibody/static/leaderboard.js
@@ -0,0 +1,14 @@
+$(document).ready(function(){
+
+ $(document).stylesheets[3].disabled = true;
+
+ $('#change_css').onclick=function(){
+ if ($(document).stylesheets[3].disabled) {
+ $(document).stylesheets[3].disabled = false;
+ $(document).stylesheets[2].disabled = true;
+ } else {
+ $(document).stylesheets[3].disabled = true;
+ $(document).stylesheets[2].disabled = false;
+ }
+ };
+});
« no previous file with comments | « infra/tools/antibody/static/leaderboard.css ('k') | infra/tools/antibody/static/leaderboard_arcade.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698