codeforlife-portal 6.41.3__py2.py3-none-any.whl → 6.41.5__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codeforlife-portal might be problematic. Click here for more details.
- cfl_common/setup.py +1 -1
- {codeforlife_portal-6.41.3.dist-info → codeforlife_portal-6.41.5.dist-info}/METADATA +3 -3
- {codeforlife_portal-6.41.3.dist-info → codeforlife_portal-6.41.5.dist-info}/RECORD +10 -10
- portal/__init__.py +1 -1
- portal/static/portal/img/logo_cfl.png +0 -0
- portal/static/portal/img/logo_cfl_reminder_cards.jpg +0 -0
- portal/views/teacher/teach.py +6 -3
- {codeforlife_portal-6.41.3.dist-info → codeforlife_portal-6.41.5.dist-info}/LICENSE.md +0 -0
- {codeforlife_portal-6.41.3.dist-info → codeforlife_portal-6.41.5.dist-info}/WHEEL +0 -0
- {codeforlife_portal-6.41.3.dist-info → codeforlife_portal-6.41.5.dist-info}/top_level.txt +0 -0
cfl_common/setup.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: codeforlife-portal
|
|
3
|
-
Version: 6.41.
|
|
3
|
+
Version: 6.41.5
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.8
|
|
6
6
|
Classifier: Framework :: Django
|
|
7
7
|
License-File: LICENSE.md
|
|
8
|
-
Requires-Dist: django ==3.2.
|
|
8
|
+
Requires-Dist: django ==3.2.25
|
|
9
9
|
Requires-Dist: django-countries ==7.3.1
|
|
10
10
|
Requires-Dist: djangorestframework ==3.13.1
|
|
11
11
|
Requires-Dist: django-pipeline ==2.0.8
|
|
@@ -25,7 +25,7 @@ Requires-Dist: sqlparse ==0.4.4
|
|
|
25
25
|
Requires-Dist: libsass ==0.22.0
|
|
26
26
|
Requires-Dist: phonenumbers ==8.12.12
|
|
27
27
|
Requires-Dist: more-itertools ==8.7.0
|
|
28
|
-
Requires-Dist: cfl-common ==6.41.
|
|
28
|
+
Requires-Dist: cfl-common ==6.41.5
|
|
29
29
|
Requires-Dist: django-ratelimit ==3.0.1
|
|
30
30
|
Requires-Dist: django-preventconcurrentlogins ==0.8.2
|
|
31
31
|
Requires-Dist: django-csp ==3.7
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
cfl_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cfl_common/setup.py,sha256=
|
|
2
|
+
cfl_common/setup.py,sha256=5Rk-FXyWToTujXqGRYqeA0A5nJ4NC5woXxyb6NLLbpo,818
|
|
3
3
|
cfl_common/common/__init__.py,sha256=XlncBOpKp_gekbKH7Y_i6yu1qy5tJc3Y8sn8cDy-Vgk,48
|
|
4
4
|
cfl_common/common/app_settings.py,sha256=IlFosu8P-m3ZOWnlX9MZupuLe2tFUDzQarBjYNDQ3kg,2491
|
|
5
5
|
cfl_common/common/apps.py,sha256=49UXZ3bSkFKvIEOL4zM7y1sAhccQJyRtsoOg5XVd_8Y,129
|
|
@@ -99,7 +99,7 @@ example_project/portal_test_settings.py,sha256=dxxdij_LiYDSQIsnoeuJ6y0Kob0rCC0CN
|
|
|
99
99
|
example_project/settings.py,sha256=GLelTfsnhAuf_rqjXUoIWoLtzKvr-9l8UQDQ23rxPQc,5580
|
|
100
100
|
example_project/urls.py,sha256=OVeRQ-TCpzHISBRuzqD0yd3ewF7H5U3c-f2p2alfUD0,430
|
|
101
101
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
102
|
-
portal/__init__.py,sha256=
|
|
102
|
+
portal/__init__.py,sha256=W7a69GHPeZkX6OrrDZxmHgUlk8Qd3F0Pwexx_RKDOhM,23
|
|
103
103
|
portal/admin.py,sha256=k5Hsiln43DlVPoufnrx5AXWu_RijX8xi_n7wwBuuCJo,5132
|
|
104
104
|
portal/app_settings.py,sha256=DhWLQOwM0zVOXE3O5TNKbMM9K6agfLuCsHOdr1J7xEI,651
|
|
105
105
|
portal/backends.py,sha256=2Dss6_WoQwPuDzJUF1yEaTQTNG4eUrD12ujJQ5cp5Tc,812
|
|
@@ -208,8 +208,8 @@ portal/static/portal/img/kurono_logo_grey_background.svg,sha256=kv8ss2u29IeL1Pyz
|
|
|
208
208
|
portal/static/portal/img/kurono_logo_mark.svg,sha256=pqyBT2VwoXJOp_n3bdui1kVA1uw4Y8ROHnnWgKrX3x0,1494
|
|
209
209
|
portal/static/portal/img/kurono_resources_hero.jpg,sha256=aggqujljpNbly6m-0y8VY_C3Fmlhb1jf4iwgCW6FCaE,119585
|
|
210
210
|
portal/static/portal/img/kurono_story.png,sha256=mlKMWVKceOWt5YAOf1P7JdJJ8REawY0hMIJsfsUqp4s,737438
|
|
211
|
-
portal/static/portal/img/logo_cfl.png,sha256=
|
|
212
|
-
portal/static/portal/img/logo_cfl_reminder_cards.jpg,sha256=
|
|
211
|
+
portal/static/portal/img/logo_cfl.png,sha256=COKEGSkoUFxI5sVcb3GCAOtmxoQbeZJ2EEwVXmkF3pc,28845
|
|
212
|
+
portal/static/portal/img/logo_cfl_reminder_cards.jpg,sha256=_jVvWRCbROrz0q2AhN6gnPGwU6FAyhfLO6bKquuIljQ,261670
|
|
213
213
|
portal/static/portal/img/logo_cfl_white_landscape.png,sha256=_Sg468s_RShF-R5fRDFd7hvQsYqjDWZamV8GKIyeXDQ,4747
|
|
214
214
|
portal/static/portal/img/logo_ocado.png,sha256=_DtumBwHzTHvwRz38ilECL-zOmNdZh9l8vSNQLveqxo,5232
|
|
215
215
|
portal/static/portal/img/logo_ocado_group.png,sha256=ZnwSMrUlqXaawdAAbENwTDPdEswhA3EbFirP5fAZ59w,2543
|
|
@@ -630,13 +630,13 @@ portal/views/student/edit_account_details.py,sha256=keMakqgqy5xB76QbpwsnkadxbMg_
|
|
|
630
630
|
portal/views/student/play.py,sha256=-v9lBjHF3_PAKRgWcCGGt_bEOpIkmJDJnzgR5JvqrMo,8908
|
|
631
631
|
portal/views/teacher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
632
632
|
portal/views/teacher/dashboard.py,sha256=_zKAEIaMwCI5LdF5QN2kLy59UTkNhNnx5mYhe-mfdVA,24991
|
|
633
|
-
portal/views/teacher/teach.py,sha256=
|
|
633
|
+
portal/views/teacher/teach.py,sha256=B71jReMJ4BYFmo7NtJVK3-4DeXEwxfu_WA3Ij1RYzdI,34725
|
|
634
634
|
portal/views/two_factor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
635
635
|
portal/views/two_factor/core.py,sha256=O_wcBeFqdPYSGNGv-pT_vbs5-Dj1Z-Jfkd6f9-E5yZI,760
|
|
636
636
|
portal/views/two_factor/form.py,sha256=lnHNKI-BMlpncTuW3zUzjPaJJNuEra2I_nOam0eOKFY,257
|
|
637
637
|
portal/views/two_factor/profile.py,sha256=tkl_ludo8arMtd5LKNmohM66vpC_YQiP-0nspTSJiJ4,383
|
|
638
|
-
codeforlife_portal-6.41.
|
|
639
|
-
codeforlife_portal-6.41.
|
|
640
|
-
codeforlife_portal-6.41.
|
|
641
|
-
codeforlife_portal-6.41.
|
|
642
|
-
codeforlife_portal-6.41.
|
|
638
|
+
codeforlife_portal-6.41.5.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
639
|
+
codeforlife_portal-6.41.5.dist-info/METADATA,sha256=7Z9vG1kRYxFAzbXra0yCUKroW1Y1zSmcc9fVWU2LSj8,1169
|
|
640
|
+
codeforlife_portal-6.41.5.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
641
|
+
codeforlife_portal-6.41.5.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
|
|
642
|
+
codeforlife_portal-6.41.5.dist-info/RECORD,,
|
portal/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "6.41.
|
|
1
|
+
__version__ = "6.41.5"
|
|
Binary file
|
|
Binary file
|
portal/views/teacher/teach.py
CHANGED
|
@@ -804,16 +804,19 @@ def teacher_print_reminder_cards(request, access_code):
|
|
|
804
804
|
p.setStrokeColor(black)
|
|
805
805
|
p.rect(left, bottom, CARD_WIDTH, CARD_HEIGHT)
|
|
806
806
|
|
|
807
|
+
card_logo_height = CARD_HEIGHT - INTER_CARD_MARGIN * 2
|
|
808
|
+
|
|
807
809
|
# logo
|
|
808
810
|
p.drawImage(
|
|
809
811
|
logo_image,
|
|
810
|
-
left,
|
|
812
|
+
left + INTER_CARD_MARGIN,
|
|
811
813
|
bottom + INTER_CARD_MARGIN,
|
|
812
|
-
height=
|
|
814
|
+
height=card_logo_height,
|
|
813
815
|
preserveAspectRatio=True,
|
|
816
|
+
anchor="w",
|
|
814
817
|
)
|
|
815
818
|
|
|
816
|
-
text_left = left + logo_image.getSize()[0]
|
|
819
|
+
text_left = left + INTER_CARD_MARGIN + (logo_image.getSize()[0] / logo_image.getSize()[1]) * card_logo_height
|
|
817
820
|
|
|
818
821
|
# student details
|
|
819
822
|
p.setFillColor(black)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|