From e36ca626ee55a6704ae66b7b9c63e3f69fcf3b2d Mon Sep 17 00:00:00 2001 From: tiger2005 <41613797+tiger2005@users.noreply.github.com> Date: Fri, 15 Oct 2021 13:28:29 +0800 Subject: [PATCH 1/3] Add authorize option --- css/client.css | 2 +- css/problem/client.css | 8 +- index.html | 31 ++- js/authorize.js | 39 ++++ js/client.js | 48 ++-- js/contest.js | 2 +- js/locale.js | 24 ++ js/multi.js | 3 + js/problem-watcher.js | 63 ++++++ js/problem.js | 63 +----- js/settings.js | 42 ++++ js/sha512.js | 497 +++++++++++++++++++++++++++++++++++++++++ problem.html | 3 +- 13 files changed, 727 insertions(+), 98 deletions(-) create mode 100644 js/problem-watcher.js create mode 100644 js/sha512.js diff --git a/css/client.css b/css/client.css index 34588fb..92ad51b 100644 --- a/css/client.css +++ b/css/client.css @@ -843,7 +843,7 @@ pre{ font-weight: bold; font-size: 28px; margin-bottom: 15px; - margin-top: 5px; + margin-top: 30px; } .settingsUI{ margin: 20px 0px !important; diff --git a/css/problem/client.css b/css/problem/client.css index 22d660f..f1c0e3d 100644 --- a/css/problem/client.css +++ b/css/problem/client.css @@ -221,9 +221,9 @@ body{ } .bigButton{ cursor: pointer; - width: calc(100% - 20px); - margin: 10px; - height: 30px; + width: 100%; + margin: 10px 0px; + height: 40px; border-radius: 5px; font-size: 16px; font-family: var(--font-family); @@ -240,7 +240,7 @@ body{ border-radius: 5px; } .submitInterfaceTitle{ - font-size: 18px; + font-size: 16px; } .closeSubmitPage{ position: absolute; diff --git a/index.html b/index.html index 768388b..0949abf 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,7 @@ + @@ -503,6 +504,34 @@
+
+
+
Radio Name
+
Radio Addition
+
+
+ + +
+
+
+
+
Radio Name
+
Radio Addition
+
+
+ +
+
+
+
+
Radio Name
+
Radio Addition
+
+
+ +
+
@@ -751,7 +780,7 @@
-
+