codeforlife-portal 8.3.7__py2.py3-none-any.whl → 8.3.8__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codeforlife-portal
3
- Version: 8.3.7
3
+ Version: 8.3.8
4
4
  Classifier: Programming Language :: Python
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Framework :: Django
@@ -111,7 +111,7 @@ example_project/portal_test_settings.py,sha256=mTyObCGkZEI0IQSZkqCjb1WZ7ebjQLwui
111
111
  example_project/settings.py,sha256=pHQDI_A_yXV3u1efj689tc-vPI6nBFma4gMMPBzj0aI,5652
112
112
  example_project/urls.py,sha256=FUTzHPlUS1O5kqMHjL5V4L552N2ln7uTDXcw9wjKUto,422
113
113
  example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
114
- portal/__init__.py,sha256=MfRmBzkYevkFvKDnDE52jzpXW42SCoiWRMFzqpdxzOA,22
114
+ portal/__init__.py,sha256=830gX8muYFc22AmswN648u89HvKPUixSiF0sI1T7I1g,22
115
115
  portal/admin.py,sha256=RKJizTF6dPJKmGPZw7nZUM0X8jkiTjgyKhLQxtvHJ0I,6148
116
116
  portal/app_settings.py,sha256=DhWLQOwM0zVOXE3O5TNKbMM9K6agfLuCsHOdr1J7xEI,651
117
117
  portal/backends.py,sha256=2Dss6_WoQwPuDzJUF1yEaTQTNG4eUrD12ujJQ5cp5Tc,812
@@ -424,7 +424,7 @@ portal/strings/coding_club.py,sha256=fMQt829owRrqsH7CWTxo_TUrTOx70ll92XciRgqhlUw
424
424
  portal/strings/help_and_support.py,sha256=S6lQU6y0WhwBl33KDPlFA48NGQpuuBUGOY9WsB_ys0U,386
425
425
  portal/strings/home_learning.py,sha256=ZZ9rLupgBGrawxQ1kovCyYId6mK3w5LHchX8Ct8J2Lc,273
426
426
  portal/strings/materials.py,sha256=6hkXU5EhrDA-nWWQIiJ5nSZTXjulJFtEd4O0RNYVcbI,274
427
- portal/strings/play.py,sha256=BfhrZMfyNAZOZbNTCAINUyxB4vgc5UFgnTdSUoKQ-mQ,714
427
+ portal/strings/play.py,sha256=QbHlRfSPZNZrwuiF-Mi5agVmkwl975iJWiprxdvx3UY,777
428
428
  portal/strings/teach.py,sha256=fhzX55gs9eKEYUfCoTGcJYWuVJA2bx7mXvQMtXfp9-Q,257
429
429
  portal/strings/teacher_resources.py,sha256=8fdLLv0n140BQ0u1ivHhaJCFhz2qwNt4g0tCT-H4UW0,350
430
430
  portal/strings/ten_year_map.py,sha256=iodL7p1MZwo1pd3az6kPvr6OvoSgZa91H2gjeMw4OkY,517
@@ -452,7 +452,7 @@ portal/templates/portal/home.html,sha256=J10xWo7opn_BjQrdxpn0wg1bo6w4DwjpTEOJ-pk
452
452
  portal/templates/portal/home_learning.html,sha256=U1_AYrTNLqCjla7-vdVkC6SOigGBAmu3kscuiYNH4rw,10070
453
453
  portal/templates/portal/locked_out.html,sha256=JeiFHFyueFX03D54k82swjxvKY78cFG8Vre-bKKv_7Y,894
454
454
  portal/templates/portal/locked_out_school_student.html,sha256=bcpLtu4mkHR-zILLuArtHH2OfUSjHiqntcdbTMlx5Kg,684
455
- portal/templates/portal/play.html,sha256=ETfPEVoWeWC8Jwwrr_2WaxYM_TyV4EHkq1l3RuKtrRM,5604
455
+ portal/templates/portal/play.html,sha256=QNoJfCMy9Ogz7AiVQmfCFmiF8qN6OTaFXkFx6uoxyhw,5601
456
456
  portal/templates/portal/privacy_notice.html,sha256=78KsMVUvZi_nQUG12k-zGiMjN_bT0R4X_K-scaUNcJQ,54662
457
457
  portal/templates/portal/register.html,sha256=4RqUxRiQOvd-oHAM5x6U01zdlYRfy-h8NUGl8UIiBC0,12531
458
458
  portal/templates/portal/reset_password.html,sha256=YzsREz5D2OwhicMLahVOVDXiNDxoHlPqU5iu96i36W0,1373
@@ -466,7 +466,7 @@ portal/templates/portal/login/independent_student.html,sha256=G4u82m0lko4yQvqRDM
466
466
  portal/templates/portal/login/student.html,sha256=s5rUyT-u7gei2xWQ-Ba35ePC5WbtwReEzUZAKwUoZVY,1261
467
467
  portal/templates/portal/login/student_class_code.html,sha256=rJr6NB4Oz7XjZXDOUHpwzT6r6yxh7nZ5joca-z2bK-s,966
468
468
  portal/templates/portal/login/teacher.html,sha256=s-8s55_D0jCf7ejEDIN2Vexpde0BljojRAz9QODLSUk,2671
469
- portal/templates/portal/partials/banner.html,sha256=fJdavxl4nB5llR8N3sw-uP12K1GlHCe8rNSZ2m5Io5g,1235
469
+ portal/templates/portal/partials/banner.html,sha256=HV6XG99ZEuN8Njlx-bGenZMTUI69-1NsxX3YfccX2CA,1531
470
470
  portal/templates/portal/partials/benefits.html,sha256=TZm4U_XimgivkPMjDXxxkV7PLfRyi2PAwkH8Y4sFDps,2363
471
471
  portal/templates/portal/partials/card_list.html,sha256=yHcp4oc0WRG9H6Ek871VCHbwYkDRcwQYbZ320gtsFn8,1550
472
472
  portal/templates/portal/partials/character_list.html,sha256=SnNFHzbIkOSaiRPIvSdplEf_B87UYgJ1pOvMltNDxLE,415
@@ -601,7 +601,7 @@ portal/tests/pageObjects/portal/teach/onboarding_student_list_page.py,sha256=28V
601
601
  portal/tests/pageObjects/portal/teach/onboarding_students_page.py,sha256=522Y79PfNV1PcR-Clf19KnNe2r3xf4sPPAUnroIzk80,971
602
602
  portal/tests/pageObjects/portal/teach/teach_base_page.py,sha256=vnd5YO15baBgCkqyBkXGZpdjZRMRpeeN69dH-fG383A,1229
603
603
  portal/tests/snapshots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
604
- portal/tests/snapshots/snap_test_partials.py,sha256=eFgii9Jd_9_X1v6Kfr9jCCR1ovIMPO_lnMXoiHTiFNU,2378
604
+ portal/tests/snapshots/snap_test_partials.py,sha256=ErYrQezzALwvP-vrOwOVyITG67WEUpcroSdYs414fek,2481
605
605
  portal/tests/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
606
606
  portal/tests/utils/classes.py,sha256=MEwGTKjPRYdWiVL1V6l28NpdvRUa06yRa6PPcHT6Trc,223
607
607
  portal/tests/utils/messages.py,sha256=LeYqCEU-ubEO1lrPSAaXF6WsM8M7C-ZIfVwwlbAFT28,1769
@@ -633,8 +633,8 @@ portal/views/two_factor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
633
633
  portal/views/two_factor/core.py,sha256=Lk32z2SN2Pg0rRkK-N-LXMvXC1kKKsH3l692kiSDQ4E,964
634
634
  portal/views/two_factor/form.py,sha256=lnHNKI-BMlpncTuW3zUzjPaJJNuEra2I_nOam0eOKFY,257
635
635
  portal/views/two_factor/profile.py,sha256=SHSg_xHccE5PtD-OfuOkYhREYz_er4bj5ro1RjJ88Yw,393
636
- codeforlife_portal-8.3.7.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
637
- codeforlife_portal-8.3.7.dist-info/METADATA,sha256=uAbhy7DUnvpfPSZXzd-kGIavmxHQEnA7vWyf_hi_c5c,3077
638
- codeforlife_portal-8.3.7.dist-info/WHEEL,sha256=WDDPHYzpiOIm6GP1C2_8y8W6q16ICddAgOHlhTje9Qc,109
639
- codeforlife_portal-8.3.7.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
640
- codeforlife_portal-8.3.7.dist-info/RECORD,,
636
+ codeforlife_portal-8.3.8.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
637
+ codeforlife_portal-8.3.8.dist-info/METADATA,sha256=dErvdzhb1YJeLyK8zaMuy9llsy1GEi6VzzbRC_zkjS0,3077
638
+ codeforlife_portal-8.3.8.dist-info/WHEEL,sha256=WDDPHYzpiOIm6GP1C2_8y8W6q16ICddAgOHlhTje9Qc,109
639
+ codeforlife_portal-8.3.8.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
640
+ codeforlife_portal-8.3.8.dist-info/RECORD,,
portal/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "8.3.7"
1
+ __version__ = "8.3.8"
portal/strings/play.py CHANGED
@@ -1,9 +1,9 @@
1
1
  PLAY_BANNER = {
2
2
  "title": "Play",
3
- "subtitle": "Anyone can learn how to code. We will help you learn how. It’s "
4
- "fun, free and easy.",
3
+ "subtitle": "Anyone can learn how to code. We will help you learn how. It’s " "fun, free and easy.",
5
4
  "text": "",
6
- "button": {"text": "Play Rapid Router", "link": "levels"},
5
+ "button": {"text": "Try Rapid Router", "link": "levels"},
6
+ "button2": {"text": "Try Python Den", "link": "python_levels"},
7
7
  "image_class": "banner--picture--play",
8
8
  "alt": "Boy playing on ipad",
9
9
  "image_description": "Credit: Annie Spratt, Unsplash",
@@ -10,9 +10,14 @@
10
10
  {% if text %}
11
11
  <p>{{ text }}</p>
12
12
  {% endif %}
13
- {% if button %}
14
- <a href="{% url button.link %}" class="button button--primary button-right-arrow">{{ button.text}}</a>
15
- {% endif %}
13
+ <div class="button-group">
14
+ {% if button %}
15
+ <a href="{% url button.link %}" class="button button--primary button-right-arrow">{{ button.text}}</a>
16
+ {% endif %}
17
+ {% if button2 %}
18
+ <a href="{% url button2.link %}" class="button button--primary button-right-arrow">{{ button2.text}}</a>
19
+ {% endif %}
20
+ </div>
16
21
  </div>
17
22
  <div>
18
23
  <div class="banner--picture">
@@ -39,7 +39,7 @@
39
39
  <div class="col-sm-12">
40
40
  <a href="{% url 'levels' %}"
41
41
  class="button button--primary button--icon col-sm-8">
42
- Play Rapid Router <span class="iconify" data-icon="mdi:chevron-right"></span></a>
42
+ Try Rapid Router <span class="iconify" data-icon="mdi:chevron-right"></span></a>
43
43
  </div>
44
44
  </div>
45
45
  </div>
@@ -47,7 +47,7 @@
47
47
  <a href="https://www.youtube-nocookie.com/embed/w0Pw_XikQSs?rel=0&amp;autoplay=1"
48
48
  class="youtube">
49
49
  <img src="{% static 'portal/img/thumbnail_play_rapid_router.png' %}"
50
- alt="Image of Rapid Router game with play button in bottom right corner">
50
+ alt="Image of Rapid Router game with try button in bottom right corner">
51
51
  </a>
52
52
  </div>
53
53
  </div>
@@ -121,7 +121,7 @@
121
121
  <div class="col-sm-12">
122
122
  <a href="{% url 'python_levels' %}"
123
123
  class="button button--primary button--icon col-sm-8">
124
- Play Python Den <span class="iconify" data-icon="mdi:chevron-right"></span></a>
124
+ Try Python Den <span class="iconify" data-icon="mdi:chevron-right"></span></a>
125
125
  </div>
126
126
  </div>
127
127
  </div>
@@ -19,7 +19,10 @@ snapshots['test_banner 1'] = '''<div class="banner banner--teacher">
19
19
 
20
20
  <p>Test text</p>
21
21
 
22
-
22
+ <div class="button-group">
23
+
24
+
25
+ </div>
23
26
  </div>
24
27
  <div>
25
28
  <div class="banner--picture">