fnschool 20251011.80531.840__py3-none-any.whl → 20251011.81705.829__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 fnschool might be problematic. Click here for more details.

Files changed (117) hide show
  1. fnschoo1/__init__.py +2 -1
  2. fnschoo1/db.sqlite3 +0 -0
  3. fnschoo1/static/images/favicon.ico +0 -0
  4. {fnschool-20251011.80531.840.dist-info → fnschool-20251011.81705.829.dist-info}/METADATA +1 -1
  5. fnschool-20251011.81705.829.dist-info/RECORD +101 -0
  6. fnschoo1/static_collected/admin/css/autocomplete.css +0 -377
  7. fnschoo1/static_collected/admin/css/base.css +0 -1224
  8. fnschoo1/static_collected/admin/css/changelists.css +0 -334
  9. fnschoo1/static_collected/admin/css/dark_mode.css +0 -136
  10. fnschoo1/static_collected/admin/css/dashboard.css +0 -30
  11. fnschoo1/static_collected/admin/css/forms.css +0 -546
  12. fnschoo1/static_collected/admin/css/login.css +0 -62
  13. fnschoo1/static_collected/admin/css/nav_sidebar.css +0 -145
  14. fnschoo1/static_collected/admin/css/responsive.css +0 -1043
  15. fnschoo1/static_collected/admin/css/responsive_rtl.css +0 -84
  16. fnschoo1/static_collected/admin/css/rtl.css +0 -311
  17. fnschoo1/static_collected/admin/css/vendor/select2/select2.css +0 -708
  18. fnschoo1/static_collected/admin/css/vendor/select2/select2.min.css +0 -1
  19. fnschoo1/static_collected/admin/css/widgets.css +0 -639
  20. fnschoo1/static_collected/admin/js/SelectBox.js +0 -128
  21. fnschoo1/static_collected/admin/js/SelectFilter2.js +0 -503
  22. fnschoo1/static_collected/admin/js/actions.js +0 -232
  23. fnschoo1/static_collected/admin/js/admin/DateTimeShortcuts.js +0 -496
  24. fnschoo1/static_collected/admin/js/admin/RelatedObjectLookups.js +0 -276
  25. fnschoo1/static_collected/admin/js/autocomplete.js +0 -33
  26. fnschoo1/static_collected/admin/js/calendar.js +0 -251
  27. fnschoo1/static_collected/admin/js/cancel.js +0 -29
  28. fnschoo1/static_collected/admin/js/change_form.js +0 -21
  29. fnschoo1/static_collected/admin/js/collapse.js +0 -43
  30. fnschoo1/static_collected/admin/js/core.js +0 -174
  31. fnschoo1/static_collected/admin/js/filters.js +0 -37
  32. fnschoo1/static_collected/admin/js/inlines.js +0 -439
  33. fnschoo1/static_collected/admin/js/jquery.init.js +0 -8
  34. fnschoo1/static_collected/admin/js/nav_sidebar.js +0 -81
  35. fnschoo1/static_collected/admin/js/popup_response.js +0 -24
  36. fnschoo1/static_collected/admin/js/prepopulate.js +0 -43
  37. fnschoo1/static_collected/admin/js/prepopulate_init.js +0 -20
  38. fnschoo1/static_collected/admin/js/theme.js +0 -57
  39. fnschoo1/static_collected/admin/js/urlify.js +0 -529
  40. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.js +0 -10913
  41. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.min.js +0 -2
  42. fnschoo1/static_collected/admin/js/vendor/select2/i18n/af.js +0 -43
  43. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ar.js +0 -36
  44. fnschoo1/static_collected/admin/js/vendor/select2/i18n/az.js +0 -33
  45. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bg.js +0 -38
  46. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bn.js +0 -39
  47. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bs.js +0 -48
  48. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ca.js +0 -41
  49. fnschoo1/static_collected/admin/js/vendor/select2/i18n/cs.js +0 -62
  50. fnschoo1/static_collected/admin/js/vendor/select2/i18n/da.js +0 -37
  51. fnschoo1/static_collected/admin/js/vendor/select2/i18n/de.js +0 -41
  52. fnschoo1/static_collected/admin/js/vendor/select2/i18n/dsb.js +0 -51
  53. fnschoo1/static_collected/admin/js/vendor/select2/i18n/el.js +0 -43
  54. fnschoo1/static_collected/admin/js/vendor/select2/i18n/en.js +0 -41
  55. fnschoo1/static_collected/admin/js/vendor/select2/i18n/es.js +0 -41
  56. fnschoo1/static_collected/admin/js/vendor/select2/i18n/et.js +0 -38
  57. fnschoo1/static_collected/admin/js/vendor/select2/i18n/eu.js +0 -45
  58. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fa.js +0 -42
  59. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fi.js +0 -42
  60. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fr.js +0 -43
  61. fnschoo1/static_collected/admin/js/vendor/select2/i18n/gl.js +0 -40
  62. fnschoo1/static_collected/admin/js/vendor/select2/i18n/he.js +0 -44
  63. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hi.js +0 -40
  64. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hr.js +0 -45
  65. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hsb.js +0 -51
  66. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hu.js +0 -44
  67. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hy.js +0 -40
  68. fnschoo1/static_collected/admin/js/vendor/select2/i18n/id.js +0 -36
  69. fnschoo1/static_collected/admin/js/vendor/select2/i18n/is.js +0 -37
  70. fnschoo1/static_collected/admin/js/vendor/select2/i18n/it.js +0 -43
  71. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ja.js +0 -40
  72. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ka.js +0 -42
  73. fnschoo1/static_collected/admin/js/vendor/select2/i18n/km.js +0 -38
  74. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ko.js +0 -42
  75. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lt.js +0 -45
  76. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lv.js +0 -41
  77. fnschoo1/static_collected/admin/js/vendor/select2/i18n/mk.js +0 -42
  78. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ms.js +0 -38
  79. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nb.js +0 -38
  80. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ne.js +0 -44
  81. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nl.js +0 -46
  82. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pl.js +0 -43
  83. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ps.js +0 -41
  84. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt-BR.js +0 -39
  85. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt.js +0 -41
  86. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ro.js +0 -43
  87. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ru.js +0 -48
  88. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sk.js +0 -61
  89. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sl.js +0 -41
  90. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sq.js +0 -43
  91. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr-Cyrl.js +0 -48
  92. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr.js +0 -48
  93. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sv.js +0 -40
  94. fnschoo1/static_collected/admin/js/vendor/select2/i18n/th.js +0 -36
  95. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tk.js +0 -36
  96. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tr.js +0 -40
  97. fnschoo1/static_collected/admin/js/vendor/select2/i18n/uk.js +0 -59
  98. fnschoo1/static_collected/admin/js/vendor/select2/i18n/vi.js +0 -37
  99. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-CN.js +0 -36
  100. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-TW.js +0 -33
  101. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.js +0 -7115
  102. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.min.js +0 -2
  103. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.js +0 -4993
  104. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.min.js +0 -160
  105. fnschoo1/static_collected/css/bootstrap.min.css +0 -11776
  106. fnschoo1/static_collected/css/fnschool.css +0 -26
  107. fnschoo1/static_collected/js/bootstrap.bundle.min.js +0 -4223
  108. fnschoo1/static_collected/js/bootstrap.min.js +0 -2919
  109. fnschoo1/static_collected/js/fnschool.js +0 -84
  110. fnschoo1/static_collected/js/jquery.min.js +0 -5413
  111. fnschoo1/static_collected/js/jquery.slim.min.js +0 -4331
  112. fnschoo1/static_collected/js/popper.min.js +0 -1306
  113. fnschool-20251011.80531.840.dist-info/RECORD +0 -207
  114. {fnschool-20251011.80531.840.dist-info → fnschool-20251011.81705.829.dist-info}/WHEEL +0 -0
  115. {fnschool-20251011.80531.840.dist-info → fnschool-20251011.81705.829.dist-info}/entry_points.txt +0 -0
  116. {fnschool-20251011.80531.840.dist-info → fnschool-20251011.81705.829.dist-info}/licenses/LICENSE +0 -0
  117. {fnschool-20251011.80531.840.dist-info → fnschool-20251011.81705.829.dist-info}/top_level.txt +0 -0
@@ -1,232 +0,0 @@
1
- /*global gettext, interpolate, ngettext*/
2
- 'use strict'
3
- {
4
- function show(selector) {
5
- document.querySelectorAll(selector).forEach(function (el) {
6
- el.classList.remove('hidden')
7
- })
8
- }
9
-
10
- function hide(selector) {
11
- document.querySelectorAll(selector).forEach(function (el) {
12
- el.classList.add('hidden')
13
- })
14
- }
15
-
16
- function showQuestion(options) {
17
- hide(options.acrossClears)
18
- show(options.acrossQuestions)
19
- hide(options.allContainer)
20
- }
21
-
22
- function showClear(options) {
23
- show(options.acrossClears)
24
- hide(options.acrossQuestions)
25
- document
26
- .querySelector(options.actionContainer)
27
- .classList.remove(options.selectedClass)
28
- show(options.allContainer)
29
- hide(options.counterContainer)
30
- }
31
-
32
- function reset(options) {
33
- hide(options.acrossClears)
34
- hide(options.acrossQuestions)
35
- hide(options.allContainer)
36
- show(options.counterContainer)
37
- }
38
-
39
- function clearAcross(options) {
40
- reset(options)
41
- const acrossInputs = document.querySelectorAll(options.acrossInput)
42
- acrossInputs.forEach(function (acrossInput) {
43
- acrossInput.value = 0
44
- })
45
- document
46
- .querySelector(options.actionContainer)
47
- .classList.remove(options.selectedClass)
48
- }
49
-
50
- function checker(actionCheckboxes, options, checked) {
51
- if (checked) {
52
- showQuestion(options)
53
- } else {
54
- reset(options)
55
- }
56
- actionCheckboxes.forEach(function (el) {
57
- el.checked = checked
58
- el.closest('tr').classList.toggle(options.selectedClass, checked)
59
- })
60
- }
61
-
62
- function updateCounter(actionCheckboxes, options) {
63
- const sel = Array.from(actionCheckboxes).filter(function (el) {
64
- return el.checked
65
- }).length
66
- const counter = document.querySelector(options.counterContainer)
67
- // data-actions-icnt is defined in the generated HTML
68
- // and contains the total amount of objects in the queryset
69
- const actions_icnt = Number(counter.dataset.actionsIcnt)
70
- counter.textContent = interpolate(
71
- ngettext(
72
- '%(sel)s of %(cnt)s selected',
73
- '%(sel)s of %(cnt)s selected',
74
- sel
75
- ),
76
- {
77
- sel: sel,
78
- cnt: actions_icnt,
79
- },
80
- true
81
- )
82
- const allToggle = document.getElementById(options.allToggleId)
83
- allToggle.checked = sel === actionCheckboxes.length
84
- if (allToggle.checked) {
85
- showQuestion(options)
86
- } else {
87
- clearAcross(options)
88
- }
89
- }
90
-
91
- const defaults = {
92
- actionContainer: 'div.actions',
93
- counterContainer: 'span.action-counter',
94
- allContainer: 'div.actions span.all',
95
- acrossInput: 'div.actions input.select-across',
96
- acrossQuestions: 'div.actions span.question',
97
- acrossClears: 'div.actions span.clear',
98
- allToggleId: 'action-toggle',
99
- selectedClass: 'selected',
100
- }
101
-
102
- window.Actions = function (actionCheckboxes, options) {
103
- options = Object.assign({}, defaults, options)
104
- let list_editable_changed = false
105
- let lastChecked = null
106
- let shiftPressed = false
107
-
108
- document.addEventListener('keydown', (event) => {
109
- shiftPressed = event.shiftKey
110
- })
111
-
112
- document.addEventListener('keyup', (event) => {
113
- shiftPressed = event.shiftKey
114
- })
115
-
116
- document
117
- .getElementById(options.allToggleId)
118
- .addEventListener('click', function (event) {
119
- checker(actionCheckboxes, options, this.checked)
120
- updateCounter(actionCheckboxes, options)
121
- })
122
-
123
- document
124
- .querySelectorAll(options.acrossQuestions + ' a')
125
- .forEach(function (el) {
126
- el.addEventListener('click', function (event) {
127
- event.preventDefault()
128
- const acrossInputs = document.querySelectorAll(options.acrossInput)
129
- acrossInputs.forEach(function (acrossInput) {
130
- acrossInput.value = 1
131
- })
132
- showClear(options)
133
- })
134
- })
135
-
136
- document
137
- .querySelectorAll(options.acrossClears + ' a')
138
- .forEach(function (el) {
139
- el.addEventListener('click', function (event) {
140
- event.preventDefault()
141
- document.getElementById(options.allToggleId).checked = false
142
- clearAcross(options)
143
- checker(actionCheckboxes, options, false)
144
- updateCounter(actionCheckboxes, options)
145
- })
146
- })
147
-
148
- function affectedCheckboxes(target, withModifier) {
149
- const multiSelect = lastChecked && withModifier && lastChecked !== target
150
- if (!multiSelect) {
151
- return [target]
152
- }
153
- const checkboxes = Array.from(actionCheckboxes)
154
- const targetIndex = checkboxes.findIndex((el) => el === target)
155
- const lastCheckedIndex = checkboxes.findIndex((el) => el === lastChecked)
156
- const startIndex = Math.min(targetIndex, lastCheckedIndex)
157
- const endIndex = Math.max(targetIndex, lastCheckedIndex)
158
- const filtered = checkboxes.filter(
159
- (el, index) => startIndex <= index && index <= endIndex
160
- )
161
- return filtered
162
- }
163
-
164
- Array.from(document.getElementById('result_list').tBodies).forEach(
165
- function (el) {
166
- el.addEventListener('change', function (event) {
167
- const target = event.target
168
- if (target.classList.contains('action-select')) {
169
- const checkboxes = affectedCheckboxes(target, shiftPressed)
170
- checker(checkboxes, options, target.checked)
171
- updateCounter(actionCheckboxes, options)
172
- lastChecked = target
173
- } else {
174
- list_editable_changed = true
175
- }
176
- })
177
- }
178
- )
179
-
180
- document
181
- .querySelector('#changelist-form button[name=index]')
182
- .addEventListener('click', function (event) {
183
- if (list_editable_changed) {
184
- const confirmed = confirm(
185
- gettext(
186
- 'You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.'
187
- )
188
- )
189
- if (!confirmed) {
190
- event.preventDefault()
191
- }
192
- }
193
- })
194
-
195
- const el = document.querySelector('#changelist-form input[name=_save]')
196
- // The button does not exist if no fields are editable.
197
- if (el) {
198
- el.addEventListener('click', function (event) {
199
- if (document.querySelector('[name=action]').value) {
200
- const text = list_editable_changed
201
- ? gettext(
202
- 'You have selected an action, but you haven’t saved your changes to individual fields yet. Please click OK to save. You’ll need to re-run the action.'
203
- )
204
- : gettext(
205
- 'You have selected an action, and you haven’t made any changes on individual fields. You’re probably looking for the Go button rather than the Save button.'
206
- )
207
- if (!confirm(text)) {
208
- event.preventDefault()
209
- }
210
- }
211
- })
212
- }
213
- }
214
-
215
- // Call function fn when the DOM is loaded and ready. If it is already
216
- // loaded, call the function now.
217
- // http://youmightnotneedjquery.com/#ready
218
- function ready(fn) {
219
- if (document.readyState !== 'loading') {
220
- fn()
221
- } else {
222
- document.addEventListener('DOMContentLoaded', fn)
223
- }
224
- }
225
-
226
- ready(function () {
227
- const actionsEls = document.querySelectorAll('tr input.action-select')
228
- if (actionsEls.length > 0) {
229
- Actions(actionsEls)
230
- }
231
- })
232
- }