From 62160beab24278c158c883ff73c8d9da1a3e9b4a Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Wed, 15 Jun 2022 11:43:04 +0100 Subject: [PATCH] Restored static and template files --- ref-test/app/admin/static/css/style.css | 260 +++++++ ref-test/app/admin/static/favicon.ico | Bin 0 -> 15086 bytes ref-test/app/admin/static/favicon.png | Bin 0 -> 85851 bytes .../app/admin/static/js/jquery-3.6.0.min.js | 2 + ref-test/app/admin/static/js/script.js | 247 +++++++ .../admin/templates/admin/auth/account.html | 56 ++ .../app/admin/templates/admin/auth/login.html | 32 + .../admin/templates/admin/auth/register.html | 44 +- .../app/admin/templates/admin/auth/reset.html | 27 + .../templates/admin/auth/update-password.html | 29 + .../templates/admin/components/base.html | 82 +++ .../admin/components/certificate.html | 84 +++ .../admin/components/client-alerts.html | 1 + .../templates/admin/components/datatable.html | 28 + .../templates/admin/components/footer.html | 2 + .../admin/components/input-forms.html | 4 + .../templates/admin/components/navbar.html | 79 +++ .../templates/admin/components/og-meta.html | 17 + .../components/secondary-navs/tests.html | 23 + .../admin/components/server-alerts.html | 43 ++ ref-test/app/admin/templates/admin/index.html | 148 ++++ .../admin/templates/admin/result-detail.html | 188 +++++ .../app/admin/templates/admin/results.html | 138 ++++ .../templates/admin/settings/delete-user.html | 44 ++ .../admin/templates/admin/settings/index.html | 93 +++ .../templates/admin/settings/questions.html | 127 ++++ .../templates/admin/settings/update-user.html | 57 ++ .../admin/settings/upload-questions.html | 1 + .../admin/templates/admin/settings/users.html | 125 ++++ ref-test/app/admin/templates/admin/test.html | 184 +++++ ref-test/app/admin/templates/admin/tests.html | 167 +++++ ref-test/app/quiz/static/css/quiz.css | 158 +++++ ref-test/app/quiz/static/css/style.css | 218 ++++++ ref-test/app/quiz/static/favicon.ico | Bin 0 -> 15086 bytes ref-test/app/quiz/static/favicon.png | Bin 0 -> 85851 bytes .../fonts/opendyslexic3-bold-webfont.woff | Bin 0 -> 35920 bytes .../fonts/opendyslexic3-bold-webfont.woff2 | Bin 0 -> 28936 bytes .../fonts/opendyslexic3-regular-webfont.woff | Bin 0 -> 33276 bytes .../fonts/opendyslexic3-regular-webfont.woff2 | Bin 0 -> 26224 bytes .../opendyslexicmono-regular-webfont.woff | Bin 0 -> 30988 bytes .../opendyslexicmono-regular-webfont.woff2 | Bin 0 -> 23944 bytes ref-test/app/quiz/static/fonts/stylesheet.css | 0 .../app/quiz/static/js/jquery-3.6.0.min.js | 2 + ref-test/app/quiz/static/js/quiz.js | 650 ++++++++++++++++++ ref-test/app/quiz/static/js/script.js | 86 +++ ref-test/app/quiz/templates/quiz/404.html | 8 + ref-test/app/quiz/templates/quiz/client.html | 279 ++++++++ .../quiz/templates/quiz/components/base.html | 78 +++ .../templates/quiz/components/footer.html | 3 + .../templates/quiz/components/navbar.html | 14 + .../templates/quiz/components/og-meta.html | 17 + .../quiz/components/server-alerts.html | 43 ++ ref-test/app/quiz/templates/quiz/index.html | 21 + .../app/quiz/templates/quiz/instructions.html | 61 ++ ref-test/app/quiz/templates/quiz/privacy.html | 26 + ref-test/app/quiz/templates/quiz/result.html | 44 ++ .../app/quiz/templates/quiz/start-quiz.html | 46 ++ 57 files changed, 4085 insertions(+), 1 deletion(-) create mode 100644 ref-test/app/admin/static/css/style.css create mode 100644 ref-test/app/admin/static/favicon.ico create mode 100644 ref-test/app/admin/static/favicon.png create mode 100644 ref-test/app/admin/static/js/jquery-3.6.0.min.js create mode 100644 ref-test/app/admin/static/js/script.js create mode 100644 ref-test/app/admin/templates/admin/auth/account.html create mode 100644 ref-test/app/admin/templates/admin/auth/login.html create mode 100644 ref-test/app/admin/templates/admin/auth/reset.html create mode 100644 ref-test/app/admin/templates/admin/auth/update-password.html create mode 100644 ref-test/app/admin/templates/admin/components/base.html create mode 100644 ref-test/app/admin/templates/admin/components/certificate.html create mode 100644 ref-test/app/admin/templates/admin/components/client-alerts.html create mode 100644 ref-test/app/admin/templates/admin/components/datatable.html create mode 100644 ref-test/app/admin/templates/admin/components/footer.html create mode 100644 ref-test/app/admin/templates/admin/components/input-forms.html create mode 100644 ref-test/app/admin/templates/admin/components/navbar.html create mode 100644 ref-test/app/admin/templates/admin/components/og-meta.html create mode 100644 ref-test/app/admin/templates/admin/components/secondary-navs/tests.html create mode 100644 ref-test/app/admin/templates/admin/components/server-alerts.html create mode 100644 ref-test/app/admin/templates/admin/index.html create mode 100644 ref-test/app/admin/templates/admin/result-detail.html create mode 100644 ref-test/app/admin/templates/admin/results.html create mode 100644 ref-test/app/admin/templates/admin/settings/delete-user.html create mode 100644 ref-test/app/admin/templates/admin/settings/index.html create mode 100644 ref-test/app/admin/templates/admin/settings/questions.html create mode 100644 ref-test/app/admin/templates/admin/settings/update-user.html create mode 100644 ref-test/app/admin/templates/admin/settings/upload-questions.html create mode 100644 ref-test/app/admin/templates/admin/settings/users.html create mode 100644 ref-test/app/admin/templates/admin/test.html create mode 100644 ref-test/app/admin/templates/admin/tests.html create mode 100644 ref-test/app/quiz/static/css/quiz.css create mode 100644 ref-test/app/quiz/static/css/style.css create mode 100644 ref-test/app/quiz/static/favicon.ico create mode 100644 ref-test/app/quiz/static/favicon.png create mode 100644 ref-test/app/quiz/static/fonts/opendyslexic3-bold-webfont.woff create mode 100644 ref-test/app/quiz/static/fonts/opendyslexic3-bold-webfont.woff2 create mode 100644 ref-test/app/quiz/static/fonts/opendyslexic3-regular-webfont.woff create mode 100644 ref-test/app/quiz/static/fonts/opendyslexic3-regular-webfont.woff2 create mode 100644 ref-test/app/quiz/static/fonts/opendyslexicmono-regular-webfont.woff create mode 100644 ref-test/app/quiz/static/fonts/opendyslexicmono-regular-webfont.woff2 create mode 100644 ref-test/app/quiz/static/fonts/stylesheet.css create mode 100644 ref-test/app/quiz/static/js/jquery-3.6.0.min.js create mode 100644 ref-test/app/quiz/static/js/quiz.js create mode 100644 ref-test/app/quiz/static/js/script.js create mode 100644 ref-test/app/quiz/templates/quiz/404.html create mode 100644 ref-test/app/quiz/templates/quiz/client.html create mode 100644 ref-test/app/quiz/templates/quiz/components/base.html create mode 100644 ref-test/app/quiz/templates/quiz/components/footer.html create mode 100644 ref-test/app/quiz/templates/quiz/components/navbar.html create mode 100644 ref-test/app/quiz/templates/quiz/components/og-meta.html create mode 100644 ref-test/app/quiz/templates/quiz/components/server-alerts.html create mode 100644 ref-test/app/quiz/templates/quiz/index.html create mode 100644 ref-test/app/quiz/templates/quiz/instructions.html create mode 100644 ref-test/app/quiz/templates/quiz/privacy.html create mode 100644 ref-test/app/quiz/templates/quiz/result.html create mode 100644 ref-test/app/quiz/templates/quiz/start-quiz.html diff --git a/ref-test/app/admin/static/css/style.css b/ref-test/app/admin/static/css/style.css new file mode 100644 index 0000000..7a22f31 --- /dev/null +++ b/ref-test/app/admin/static/css/style.css @@ -0,0 +1,260 @@ +body { + padding: 80px 0; +} + +.site-footer { + background-color: lightgray; + font-size: small; +} + +.site-footer p { + margin: 0; +} + +.form-container { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + padding-top: 40px; + padding-bottom: 40px; +} + +.form-display { + width: 100%; + max-width: 420px; + padding: 15px; + margin: auto; +} + +.form-heading { + margin-bottom: 2rem; +} + +.form-label-group { + position: relative; + margin-bottom: 2rem; +} + +.form-label-group input, +.form-label-group label { + padding: var(--input-padding-y) var(--input-padding-x); + font-size: 16pt; +} + +.form-label-group label { + position: absolute; + top: 0; + left: 0; + display: block; + width: 100%; + margin-bottom: 0; /* Override default `