diff --git a/502.html b/502.html index 98f4dbb..a65c3cd 100644 --- a/502.html +++ b/502.html @@ -49,7 +49,7 @@
diff --git a/judge/utils/email_render.py b/judge/utils/email_render.py index 5d790f5..a092f88 100644 --- a/judge/utils/email_render.py +++ b/judge/utils/email_render.py @@ -8,7 +8,6 @@ def render_email_message(request, contexts): email_contexts = { "username": request.user.username, "domain": current_site.domain, - "protocol": "https" if request.is_secure() else "http", "site_name": settings.SITE_NAME, "message": None, "title": None, diff --git a/resources/common.js b/resources/common.js index c82d0ad..006ff88 100644 --- a/resources/common.js +++ b/resources/common.js @@ -148,7 +148,7 @@ function register_time(elems, limit) { // in hours } window.notification_template = { - icon: '/logo.png' + icon: '/logo.svg' }; window.notification_timeout = 5000; diff --git a/resources/icons/icon.svg b/resources/icons/icon.svg new file mode 100644 index 0000000..f16e119 --- /dev/null +++ b/resources/icons/icon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/icons/logo.svg b/resources/icons/logo.svg new file mode 100644 index 0000000..82d8f95 --- /dev/null +++ b/resources/icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/icons/logo1.png b/resources/icons/logo1.png deleted file mode 100644 index b7f38f0..0000000 Binary files a/resources/icons/logo1.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-144x144.png b/resources/icons/old/android-chrome-144x144.png deleted file mode 100644 index 6a5f355..0000000 Binary files a/resources/icons/old/android-chrome-144x144.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-192x192.png b/resources/icons/old/android-chrome-192x192.png deleted file mode 100644 index 86ba0f1..0000000 Binary files a/resources/icons/old/android-chrome-192x192.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-36x36.png b/resources/icons/old/android-chrome-36x36.png deleted file mode 100644 index 1afb5d0..0000000 Binary files a/resources/icons/old/android-chrome-36x36.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-48x48.png b/resources/icons/old/android-chrome-48x48.png deleted file mode 100644 index 373c603..0000000 Binary files a/resources/icons/old/android-chrome-48x48.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-72x72.png b/resources/icons/old/android-chrome-72x72.png deleted file mode 100644 index 47ea2ce..0000000 Binary files a/resources/icons/old/android-chrome-72x72.png and /dev/null differ diff --git a/resources/icons/old/android-chrome-96x96.png b/resources/icons/old/android-chrome-96x96.png deleted file mode 100644 index 5d553bf..0000000 Binary files a/resources/icons/old/android-chrome-96x96.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-114x114-precomposed.png b/resources/icons/old/apple-touch-icon-114x114-precomposed.png deleted file mode 100644 index 5764db5..0000000 Binary files a/resources/icons/old/apple-touch-icon-114x114-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-114x114.png b/resources/icons/old/apple-touch-icon-114x114.png deleted file mode 100644 index 4bb4160..0000000 Binary files a/resources/icons/old/apple-touch-icon-114x114.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-120x120-precomposed.png b/resources/icons/old/apple-touch-icon-120x120-precomposed.png deleted file mode 100644 index 2ee5716..0000000 Binary files a/resources/icons/old/apple-touch-icon-120x120-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-120x120.png b/resources/icons/old/apple-touch-icon-120x120.png deleted file mode 100644 index 63a1fdd..0000000 Binary files a/resources/icons/old/apple-touch-icon-120x120.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-144x144-precomposed.png b/resources/icons/old/apple-touch-icon-144x144-precomposed.png deleted file mode 100644 index 2fd4d8e..0000000 Binary files a/resources/icons/old/apple-touch-icon-144x144-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-144x144.png b/resources/icons/old/apple-touch-icon-144x144.png deleted file mode 100644 index cc16c9f..0000000 Binary files a/resources/icons/old/apple-touch-icon-144x144.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-152x152-precomposed.png b/resources/icons/old/apple-touch-icon-152x152-precomposed.png deleted file mode 100644 index 1f6ea27..0000000 Binary files a/resources/icons/old/apple-touch-icon-152x152-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-152x152.png b/resources/icons/old/apple-touch-icon-152x152.png deleted file mode 100644 index 300b82f..0000000 Binary files a/resources/icons/old/apple-touch-icon-152x152.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-180x180-precomposed.png b/resources/icons/old/apple-touch-icon-180x180-precomposed.png deleted file mode 100644 index 8553085..0000000 Binary files a/resources/icons/old/apple-touch-icon-180x180-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-180x180.png b/resources/icons/old/apple-touch-icon-180x180.png deleted file mode 100644 index d737f87..0000000 Binary files a/resources/icons/old/apple-touch-icon-180x180.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-57x57-precomposed.png b/resources/icons/old/apple-touch-icon-57x57-precomposed.png deleted file mode 100644 index deb2048..0000000 Binary files a/resources/icons/old/apple-touch-icon-57x57-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-57x57.png b/resources/icons/old/apple-touch-icon-57x57.png deleted file mode 100644 index 2b2533d..0000000 Binary files a/resources/icons/old/apple-touch-icon-57x57.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-60x60-precomposed.png b/resources/icons/old/apple-touch-icon-60x60-precomposed.png deleted file mode 100644 index 6b16cb1..0000000 Binary files a/resources/icons/old/apple-touch-icon-60x60-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-60x60.png b/resources/icons/old/apple-touch-icon-60x60.png deleted file mode 100644 index 7c86aba..0000000 Binary files a/resources/icons/old/apple-touch-icon-60x60.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-72x72-precomposed.png b/resources/icons/old/apple-touch-icon-72x72-precomposed.png deleted file mode 100644 index 85fa920..0000000 Binary files a/resources/icons/old/apple-touch-icon-72x72-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-72x72.png b/resources/icons/old/apple-touch-icon-72x72.png deleted file mode 100644 index 3aa3aff..0000000 Binary files a/resources/icons/old/apple-touch-icon-72x72.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-76x76-precomposed.png b/resources/icons/old/apple-touch-icon-76x76-precomposed.png deleted file mode 100644 index abaf04a..0000000 Binary files a/resources/icons/old/apple-touch-icon-76x76-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-76x76.png b/resources/icons/old/apple-touch-icon-76x76.png deleted file mode 100644 index a2d3734..0000000 Binary files a/resources/icons/old/apple-touch-icon-76x76.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon-precomposed.png b/resources/icons/old/apple-touch-icon-precomposed.png deleted file mode 100644 index 8553085..0000000 Binary files a/resources/icons/old/apple-touch-icon-precomposed.png and /dev/null differ diff --git a/resources/icons/old/apple-touch-icon.png b/resources/icons/old/apple-touch-icon.png deleted file mode 100644 index e537d48..0000000 Binary files a/resources/icons/old/apple-touch-icon.png and /dev/null differ diff --git a/resources/icons/old/browserconfig.xml b/resources/icons/old/browserconfig.xml deleted file mode 100644 index df8a72d..0000000 --- a/resources/icons/old/browserconfig.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - #da532c - - - diff --git a/resources/icons/old/favicon-16x16.png b/resources/icons/old/favicon-16x16.png deleted file mode 100644 index aa2cc02..0000000 Binary files a/resources/icons/old/favicon-16x16.png and /dev/null differ diff --git a/resources/icons/old/favicon-32x32.png b/resources/icons/old/favicon-32x32.png deleted file mode 100644 index 6358f95..0000000 Binary files a/resources/icons/old/favicon-32x32.png and /dev/null differ diff --git a/resources/icons/old/favicon.ico b/resources/icons/old/favicon.ico deleted file mode 100644 index 06d5fd9..0000000 Binary files a/resources/icons/old/favicon.ico and /dev/null differ diff --git a/resources/icons/old/logo_old.png b/resources/icons/old/logo_old.png deleted file mode 100644 index 9eb296a..0000000 Binary files a/resources/icons/old/logo_old.png and /dev/null differ diff --git a/resources/icons/old/mstile-144x144.png b/resources/icons/old/mstile-144x144.png deleted file mode 100644 index c005af3..0000000 Binary files a/resources/icons/old/mstile-144x144.png and /dev/null differ diff --git a/resources/icons/old/mstile-150x150.png b/resources/icons/old/mstile-150x150.png deleted file mode 100644 index 800d2b7..0000000 Binary files a/resources/icons/old/mstile-150x150.png and /dev/null differ diff --git a/resources/icons/old/mstile-310x150.png b/resources/icons/old/mstile-310x150.png deleted file mode 100644 index ffd4452..0000000 Binary files a/resources/icons/old/mstile-310x150.png and /dev/null differ diff --git a/resources/icons/old/mstile-310x310.png b/resources/icons/old/mstile-310x310.png deleted file mode 100644 index cbf683a..0000000 Binary files a/resources/icons/old/mstile-310x310.png and /dev/null differ diff --git a/resources/icons/old/mstile-70x70.png b/resources/icons/old/mstile-70x70.png deleted file mode 100644 index 86a935d..0000000 Binary files a/resources/icons/old/mstile-70x70.png and /dev/null differ diff --git a/resources/icons/old/safari-pinned-tab.svg b/resources/icons/old/safari-pinned-tab.svg deleted file mode 100644 index 3b41b63..0000000 --- a/resources/icons/old/safari-pinned-tab.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - -Created by potrace 1.11, written by Peter Selinger 2001-2013 - - - - - diff --git a/resources/pagedown/Markdown.Editor.js b/resources/pagedown/Markdown.Editor.js index ada1ad6..7842448 100644 --- a/resources/pagedown/Markdown.Editor.js +++ b/resources/pagedown/Markdown.Editor.js @@ -44,7 +44,7 @@ image: "Image Ctrl+G", imagedescription: "enter image description here", - imagedialog: "

Insert Image

https://dmoj.ca/logo.png \"optional title\"

Need free image hosting?

", + imagedialog: "

Insert Image

https://lqdoj.edu.vn/logo.png \"optional title\"

Need free image hosting?

", olist: "Numbered List
    Ctrl+O", ulist: "Bulleted List