From e1517b89c017b0fde3043b942cf6f8d73657796d Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Sat, 4 Mar 2023 18:51:50 +0000 Subject: [PATCH] Add analysis module --- ref-test/app/analysis/__init__.py | 0 ref-test/app/analysis/static/css/analysis.css | 30 ++ ref-test/app/analysis/static/css/style.css | 260 ++++++++++++++++++ ref-test/app/analysis/static/js/analysis.js | 130 +++++++++ .../analysis/static/js/jquery-3.6.0.min.js | 2 + ref-test/app/analysis/static/js/script.js | 115 ++++++++ .../analysis/templates/analysis/analysis.html | 116 ++++++++ .../templates/analysis/components/base.html | 84 ++++++ .../analysis/components/client-alerts.html | 1 + .../analysis/components/datatable.html | 28 ++ .../templates/analysis/components/footer.html | 2 + .../analysis/components/input-forms.html | 4 + .../templates/analysis/components/navbar.html | 137 +++++++++ .../analysis/components/og-meta.html | 18 ++ .../components/secondary-navs/tests.html | 23 ++ .../analysis/components/server-alerts.html | 43 +++ .../analysis/templates/analysis/index.html | 29 ++ ref-test/app/analysis/views.py | 62 +++++ 18 files changed, 1084 insertions(+) create mode 100644 ref-test/app/analysis/__init__.py create mode 100644 ref-test/app/analysis/static/css/analysis.css create mode 100644 ref-test/app/analysis/static/css/style.css create mode 100644 ref-test/app/analysis/static/js/analysis.js create mode 100644 ref-test/app/analysis/static/js/jquery-3.6.0.min.js create mode 100644 ref-test/app/analysis/static/js/script.js create mode 100644 ref-test/app/analysis/templates/analysis/analysis.html create mode 100644 ref-test/app/analysis/templates/analysis/components/base.html create mode 100644 ref-test/app/analysis/templates/analysis/components/client-alerts.html create mode 100644 ref-test/app/analysis/templates/analysis/components/datatable.html create mode 100644 ref-test/app/analysis/templates/analysis/components/footer.html create mode 100644 ref-test/app/analysis/templates/analysis/components/input-forms.html create mode 100644 ref-test/app/analysis/templates/analysis/components/navbar.html create mode 100644 ref-test/app/analysis/templates/analysis/components/og-meta.html create mode 100644 ref-test/app/analysis/templates/analysis/components/secondary-navs/tests.html create mode 100644 ref-test/app/analysis/templates/analysis/components/server-alerts.html create mode 100644 ref-test/app/analysis/templates/analysis/index.html create mode 100644 ref-test/app/analysis/views.py diff --git a/ref-test/app/analysis/__init__.py b/ref-test/app/analysis/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/ref-test/app/analysis/static/css/analysis.css b/ref-test/app/analysis/static/css/analysis.css new file mode 100644 index 0000000..de45037 --- /dev/null +++ b/ref-test/app/analysis/static/css/analysis.css @@ -0,0 +1,30 @@ +.info-panel { + display: none; +} + +.control-panel { + margin-left: auto; + margin-right: 0; + width:fit-content; +} + +#alert-box { + margin: 30px auto; + max-width: 460px; +} + +.block { + border: 2px solid black; + border-radius: 10px; + margin: 10px; + padding: 5px; +} + +.question-body, .question-block { + padding: 0px 2em; +} + +blockquote { + padding: 0px 2em; + font-style: italic; +} \ No newline at end of file diff --git a/ref-test/app/analysis/static/css/style.css b/ref-test/app/analysis/static/css/style.css new file mode 100644 index 0000000..7a22f31 --- /dev/null +++ b/ref-test/app/analysis/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 `