wbcore 2.2.1__py2.py3-none-any.whl → 2.2.4__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.
Files changed (143) hide show
  1. wbcore/contrib/agenda/locale/de/LC_MESSAGES/django.po +113 -0
  2. wbcore/contrib/agenda/static/agenda/markdown/documentation/building.md +11 -0
  3. wbcore/contrib/agenda/static/agenda/markdown/documentation/conferenceroom.md +20 -0
  4. wbcore/contrib/authentication/fixtures/authentication.json +62 -0
  5. wbcore/contrib/authentication/locale/de/LC_MESSAGES/django.po +610 -0
  6. wbcore/contrib/authentication/templates/activate_confirm.html +12 -0
  7. wbcore/contrib/authentication/templates/base.html +135 -0
  8. wbcore/contrib/authentication/templates/email_base_template.html +335 -0
  9. wbcore/contrib/authentication/templates/password_reset_done.html +13 -0
  10. wbcore/contrib/authentication/templates/password_reset_email.html +11 -0
  11. wbcore/contrib/authentication/templates/password_reset_email_html.html +43 -0
  12. wbcore/contrib/authentication/templates/password_reset_form.html +23 -0
  13. wbcore/contrib/authentication/templates/password_reset_sent.html +11 -0
  14. wbcore/contrib/authentication/templates/reset_password.html +15 -0
  15. wbcore/contrib/authentication/templates/user_registration_email.html +37 -0
  16. wbcore/contrib/color/admin.py +28 -0
  17. wbcore/contrib/color/apps.py +5 -0
  18. wbcore/contrib/color/enums.py +17 -0
  19. wbcore/contrib/color/factories.py +10 -0
  20. wbcore/contrib/color/fields.py +29 -0
  21. wbcore/contrib/color/forms.py +13 -0
  22. wbcore/contrib/color/models.py +62 -0
  23. wbcore/contrib/color/tests/conftest.py +10 -0
  24. wbcore/contrib/color/tests/test_color_models.py +61 -0
  25. wbcore/contrib/color/tests/test_fields.py +25 -0
  26. wbcore/contrib/currency/fixtures/currency.yaml +1014 -0
  27. wbcore/contrib/currency/fixtures/currency_fx_rate.yaml +73585 -0
  28. wbcore/contrib/directory/fixtures/directory.json +3924 -0
  29. wbcore/contrib/directory/locale/de/LC_MESSAGES/django.po +1686 -0
  30. wbcore/contrib/directory/static/directory/markdown/documentation/address.md +38 -0
  31. wbcore/contrib/directory/static/directory/markdown/documentation/banking.md +54 -0
  32. wbcore/contrib/directory/static/directory/markdown/documentation/bankingentry.md +38 -0
  33. wbcore/contrib/directory/static/directory/markdown/documentation/clientmanagerrelationship.md +42 -0
  34. wbcore/contrib/directory/static/directory/markdown/documentation/company.md +52 -0
  35. wbcore/contrib/directory/static/directory/markdown/documentation/companytype.md +2 -0
  36. wbcore/contrib/directory/static/directory/markdown/documentation/customerstatus.md +2 -0
  37. wbcore/contrib/directory/static/directory/markdown/documentation/email.md +20 -0
  38. wbcore/contrib/directory/static/directory/markdown/documentation/employeecompany.md +34 -0
  39. wbcore/contrib/directory/static/directory/markdown/documentation/employerperson.md +43 -0
  40. wbcore/contrib/directory/static/directory/markdown/documentation/person.md +61 -0
  41. wbcore/contrib/directory/static/directory/markdown/documentation/position.md +2 -0
  42. wbcore/contrib/directory/static/directory/markdown/documentation/relationshiptype.md +2 -0
  43. wbcore/contrib/directory/static/directory/markdown/documentation/socialmedia.md +23 -0
  44. wbcore/contrib/directory/static/directory/markdown/documentation/specialization.md +2 -0
  45. wbcore/contrib/directory/static/directory/markdown/documentation/systememployee.md +31 -0
  46. wbcore/contrib/directory/static/directory/markdown/documentation/telephone.md +23 -0
  47. wbcore/contrib/directory/static/directory/markdown/documentation/telephonesearch.md +26 -0
  48. wbcore/contrib/directory/static/directory/markdown/documentation/userisclient.md +14 -0
  49. wbcore/contrib/directory/static/directory/markdown/documentation/userismanager.md +28 -0
  50. wbcore/contrib/directory/static/directory/markdown/documentation/website.md +20 -0
  51. wbcore/contrib/documents/fixtures/docments.json +135 -0
  52. wbcore/contrib/documents/locale/de/LC_MESSAGES/django.po +272 -0
  53. wbcore/contrib/documents/static/documents/markdown/documentation/document_types.md +21 -0
  54. wbcore/contrib/documents/static/documents/markdown/documentation/documents.md +18 -0
  55. wbcore/contrib/documents/static/documents/markdown/documentation/shareablelink.md +28 -0
  56. wbcore/contrib/documents/static/documents/markdown/documentation/shareablelinkaccess.md +20 -0
  57. wbcore/contrib/documents/tests/conftest.py +30 -0
  58. wbcore/contrib/documents/tests/test_models.py +144 -0
  59. wbcore/contrib/example_app/fixtures/example_app.json +7425 -0
  60. wbcore/contrib/example_app/tests/test_models/test_event.py +87 -0
  61. wbcore/contrib/example_app/tests/test_models/test_match.py +210 -0
  62. wbcore/contrib/example_app/tests/test_models/test_others.py +159 -0
  63. wbcore/contrib/example_app/tests/test_serializers/test_league_serializer.py +34 -0
  64. wbcore/contrib/example_app/tests/test_serializers/test_match_serializer.py +134 -0
  65. wbcore/contrib/example_app/tests/test_serializers/test_role_serializer.py +13 -0
  66. wbcore/contrib/example_app/tests/test_serializers/test_sport_serializer.py +14 -0
  67. wbcore/contrib/example_app/tests/test_serializers/test_stadium_serializer.py +14 -0
  68. wbcore/contrib/example_app/tests/test_serializers/test_team_result_serializer.py +30 -0
  69. wbcore/contrib/example_app/tests/test_serializers/test_team_serializer.py +70 -0
  70. wbcore/contrib/example_app/tests/test_viewsets/test_event_viewset.py +162 -0
  71. wbcore/contrib/example_app/tests/test_viewsets/test_league_viewset.py +84 -0
  72. wbcore/contrib/example_app/tests/test_viewsets/test_match_viewset.py +65 -0
  73. wbcore/contrib/example_app/tests/test_viewsets/test_person_viewset.py +166 -0
  74. wbcore/contrib/example_app/tests/test_viewsets/test_role_viewset.py +75 -0
  75. wbcore/contrib/example_app/tests/test_viewsets/test_sport_viewset.py +75 -0
  76. wbcore/contrib/example_app/tests/test_viewsets/test_stadium_viewset.py +75 -0
  77. wbcore/contrib/example_app/tests/test_viewsets/test_team_viewset.py +92 -0
  78. wbcore/contrib/example_app/tests/test_viewsets/test_teamresult_viewset.py +58 -0
  79. wbcore/contrib/example_app/tests/test_viewsets/test_utils_viewsets.py +124 -0
  80. wbcore/contrib/geography/fixtures/geography.json +13454 -0
  81. wbcore/contrib/geography/static/geography/markdown/documentation/geography.md +16 -0
  82. wbcore/contrib/guardian/apps.py +6 -0
  83. wbcore/contrib/guardian/configurations.py +3 -0
  84. wbcore/contrib/guardian/filters.py +21 -0
  85. wbcore/contrib/guardian/tasks.py +10 -0
  86. wbcore/contrib/guardian/urls.py +12 -0
  87. wbcore/contrib/guardian/utils.py +124 -0
  88. wbcore/contrib/io/fixtures/io.json +145 -0
  89. wbcore/contrib/io/locale/de/LC_MESSAGES/django.po +52 -0
  90. wbcore/contrib/notifications/locale/de/LC_MESSAGES/django.po +60 -0
  91. wbcore/contrib/notifications/static/notifications/service-worker.js +1 -0
  92. wbcore/contrib/notifications/templates/notifications/notification_template.html +43 -0
  93. wbcore/contrib/notifications/viewsets/configs/notification_types.py +27 -0
  94. wbcore/contrib/notifications/viewsets/configs/notifications.py +85 -0
  95. wbcore/contrib/workflow/fixtures/workflow.json +612 -0
  96. wbcore/contrib/workflow/locale/de/LC_MESSAGES/django.po +1289 -0
  97. wbcore/contrib/workflow/static/workflow/markdown/documentation/assignedprocessstep.md +33 -0
  98. wbcore/contrib/workflow/static/workflow/markdown/documentation/condition.md +24 -0
  99. wbcore/contrib/workflow/static/workflow/markdown/documentation/decisionstep.md +30 -0
  100. wbcore/contrib/workflow/static/workflow/markdown/documentation/emailstep.md +45 -0
  101. wbcore/contrib/workflow/static/workflow/markdown/documentation/finishstep.md +33 -0
  102. wbcore/contrib/workflow/static/workflow/markdown/documentation/joinstep.md +33 -0
  103. wbcore/contrib/workflow/static/workflow/markdown/documentation/process.md +33 -0
  104. wbcore/contrib/workflow/static/workflow/markdown/documentation/processstep.md +51 -0
  105. wbcore/contrib/workflow/static/workflow/markdown/documentation/scriptstep.md +33 -0
  106. wbcore/contrib/workflow/static/workflow/markdown/documentation/splitstep.md +30 -0
  107. wbcore/contrib/workflow/static/workflow/markdown/documentation/startstep.md +27 -0
  108. wbcore/contrib/workflow/static/workflow/markdown/documentation/transition.md +27 -0
  109. wbcore/contrib/workflow/static/workflow/markdown/documentation/userstep.md +42 -0
  110. wbcore/contrib/workflow/static/workflow/markdown/documentation/workflow.md +32 -0
  111. wbcore/contrib/workflow/templates/Test_Templates.txt +25 -0
  112. wbcore/contrib/workflow/tests/test_models/step/test_decision_step.py +79 -0
  113. wbcore/contrib/workflow/tests/test_models/step/test_email_step.py +45 -0
  114. wbcore/contrib/workflow/tests/test_models/step/test_finish_step.py +105 -0
  115. wbcore/contrib/workflow/tests/test_models/step/test_join_step.py +127 -0
  116. wbcore/contrib/workflow/tests/test_models/step/test_script_step.py +24 -0
  117. wbcore/contrib/workflow/tests/test_models/step/test_split_step.py +49 -0
  118. wbcore/contrib/workflow/tests/test_models/step/test_step.py +621 -0
  119. wbcore/contrib/workflow/tests/test_models/step/test_user_step.py +225 -0
  120. wbcore/contrib/workflow/tests/test_models/test_condition.py +103 -0
  121. wbcore/contrib/workflow/tests/test_models/test_data.py +134 -0
  122. wbcore/contrib/workflow/tests/test_models/test_process.py +98 -0
  123. wbcore/contrib/workflow/tests/test_models/test_transition.py +128 -0
  124. wbcore/contrib/workflow/tests/test_models/test_workflow.py +358 -0
  125. wbcore/locale/de/LC_MESSAGES/django.po +667 -0
  126. wbcore/templates/errors/404.html +134 -0
  127. wbcore/templates/errors/500.html +138 -0
  128. wbcore/templates/errors/503.html +132 -0
  129. wbcore/templates/errors/custom.html +132 -0
  130. wbcore/templates/forms.py +0 -0
  131. wbcore/templates/notifications/email_template.html +43 -0
  132. wbcore/templates/wbcore/admin/change_list.html +8 -0
  133. wbcore/templates/wbcore/admin/csv_form.html +15 -0
  134. wbcore/templates/wbcore/dynamic_color_array.html +29 -0
  135. wbcore/templates/wbcore/email_base_template.html +335 -0
  136. wbcore/templates/wbcore/email_notification_template.html +10 -0
  137. wbcore/templates/wbcore/frontend.html +51 -0
  138. wbcore/test/e2e_helpers_methods/e2e_checks.py +121 -0
  139. wbcore/test/e2e_helpers_methods/e2e_helper_methods.py +395 -0
  140. wbcore/tests/test_permissions/test_backend.py +29 -0
  141. {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/METADATA +1 -1
  142. {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/RECORD +143 -3
  143. {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,134 @@
1
+ {% load static %}
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
10
+ <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
11
+
12
+ <title>Oops, page not found!</title>
13
+
14
+ <!-- Google font -->
15
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,500&display=swap" rel="stylesheet">
16
+
17
+ <!-- Custom stlylesheet -->
18
+ <style type="text/css">
19
+ *,*:before,*:after{box-sizing:border-box;}
20
+ html,body{min-height:100%;padding:0;margin:0;font-family:'Roboto',sans-serif;font-size:12px;font-weight:300;color:#000;background-color:transparent;-webkit-overflow-scrolling:touch}
21
+ #notfound {
22
+ position: relative;
23
+ height: 100vh;
24
+ }
25
+
26
+ #notfound .notfound {
27
+ position: absolute;
28
+ left: 50%;
29
+ top: 50%;
30
+ -webkit-transform: translate(-50%, -50%);
31
+ -ms-transform: translate(-50%, -50%);
32
+ transform: translate(-50%, -50%);
33
+ }
34
+
35
+ .notfound {
36
+ max-width: 410px;
37
+ width: 100%;
38
+ text-align: center;
39
+ }
40
+
41
+ .notfound .notfound-404 {
42
+ height: 280px;
43
+ position: relative;
44
+ z-index: -1;
45
+ }
46
+
47
+ .notfound .notfound-404 h1 {
48
+ font-family: 'Montserrat', sans-serif;
49
+ font-size: 230px;
50
+ margin: 0px;
51
+ font-weight: 900;
52
+ position: absolute;
53
+ left: 50%;
54
+ -webkit-transform: translateX(-50%);
55
+ -ms-transform: translateX(-50%);
56
+ transform: translateX(-50%);
57
+ background: url('https://stainly-cdn.fra1.digitaloceanspaces.com/media/bg_orange.jpg') no-repeat;
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ background-size: cover;
61
+ background-position: center;
62
+ }
63
+
64
+
65
+ .notfound h2 {
66
+ font-family: 'Montserrat', sans-serif;
67
+ color: #000;
68
+ font-size: 24px;
69
+ font-weight: 700;
70
+ text-transform: uppercase;
71
+ margin-top: 0;
72
+ }
73
+
74
+ .notfound p {
75
+ font-family: 'Montserrat', sans-serif;
76
+ color: #000;
77
+ font-size: 14px;
78
+ font-weight: 400;
79
+ margin-bottom: 20px;
80
+ margin-top: 0px;
81
+ }
82
+
83
+ .notfound a {
84
+ font-family: 'Montserrat', sans-serif;
85
+ font-size: 14px;
86
+ text-decoration: none;
87
+ text-transform: uppercase;
88
+ background: #ff783a;
89
+ display: inline-block;
90
+ padding: 15px 30px;
91
+ border-radius: 40px;
92
+ color: #fff;
93
+ font-weight: 700;
94
+ -webkit-box-shadow: 0px 4px 15px -5px #ff783a;
95
+ box-shadow: 0px 4px 15px -5px #ff783a;
96
+ }
97
+
98
+
99
+ @media only screen and (max-width: 767px) {
100
+ .notfound .notfound-404 {
101
+ height: 142px;
102
+ }
103
+ .notfound .notfound-404 h1 {
104
+ font-size: 112px;
105
+ }
106
+ }
107
+ </style>
108
+
109
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
110
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
111
+ <!--[if lt IE 9]>
112
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
113
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
114
+ <![endif]-->
115
+
116
+ </head>
117
+
118
+ <body>
119
+
120
+ <div id="notfound">
121
+ <div class="notfound">
122
+ <div class="notfound-404">
123
+ <h1>Oops!</h1>
124
+ </div>
125
+ <h2>404 - Page not found</h2>
126
+ <p>The page you are looking for might have been removed had its name changed or is temporarily unavailable.</p>
127
+ <a href="/">Homepage</a>
128
+ <a href="/report/factsheet/">Factsheets</a>
129
+ </div>
130
+ </div>
131
+
132
+ </body><!-- This templates was made by Colorlib (https://colorlib.com) -->
133
+
134
+ </html>
@@ -0,0 +1,138 @@
1
+ {% load static %}
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
10
+
11
+ <title>Oops, Something went wrong!</title>
12
+
13
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,500&display=swap" rel="stylesheet">
14
+
15
+ <!-- Custom stlylesheet -->
16
+ <style type="text/css">
17
+ *,*:before,*:after{box-sizing:border-box;}
18
+ html,body{min-height:100%;padding:0;margin:0;font-family:'Roboto',sans-serif;font-size:12px;font-weight:300;color:#000;background-color:transparent;-webkit-overflow-scrolling:touch}
19
+ #notfound {
20
+ position: relative;
21
+ height: 100vh;
22
+ }
23
+
24
+
25
+ #notfound {
26
+ position: relative;
27
+ height: 100vh;
28
+ }
29
+
30
+ #notfound .notfound {
31
+ position: absolute;
32
+ left: 50%;
33
+ top: 50%;
34
+ -webkit-transform: translate(-50%, -50%);
35
+ -ms-transform: translate(-50%, -50%);
36
+ transform: translate(-50%, -50%);
37
+ }
38
+
39
+ .notfound {
40
+ max-width: 410px;
41
+ width: 100%;
42
+ text-align: center;
43
+ }
44
+
45
+ .notfound .notfound-500 {
46
+ height: 280px;
47
+ position: relative;
48
+ z-index: -1;
49
+ }
50
+
51
+ .notfound .notfound-500 h1 {
52
+ font-family: 'Montserrat', sans-serif;
53
+ font-size: 230px;
54
+ margin: 0px;
55
+ font-weight: 900;
56
+ position: absolute;
57
+ left: 50%;
58
+ -webkit-transform: translateX(-50%);
59
+ -ms-transform: translateX(-50%);
60
+ transform: translateX(-50%);
61
+ background: url('https://stainly-cdn.fra1.digitaloceanspaces.com/media/bg_orange.jpg') no-repeat;
62
+ -webkit-background-clip: text;
63
+ -webkit-text-fill-color: transparent;
64
+ background-size: cover;
65
+ background-position: center;
66
+ }
67
+
68
+
69
+ .notfound h2 {
70
+ font-family: 'Montserrat', sans-serif;
71
+ color: #000;
72
+ font-size: 24px;
73
+ font-weight: 700;
74
+ text-transform: uppercase;
75
+ margin-top: 0;
76
+ }
77
+
78
+ .notfound p {
79
+ font-family: 'Montserrat', sans-serif;
80
+ color: #000;
81
+ font-size: 14px;
82
+ font-weight: 400;
83
+ margin-bottom: 20px;
84
+ margin-top: 0px;
85
+ }
86
+
87
+ .notfound a {
88
+ font-family: 'Montserrat', sans-serif;
89
+ font-size: 14px;
90
+ text-decoration: none;
91
+ text-transform: uppercase;
92
+ background: #ff783a;
93
+ display: inline-block;
94
+ padding: 15px 30px;
95
+ border-radius: 40px;
96
+ color: #fff;
97
+ font-weight: 700;
98
+ -webkit-box-shadow: 0px 4px 15px -5px #ff783a;
99
+ box-shadow: 0px 4px 15px -5px #ff783a;
100
+ }
101
+
102
+
103
+ @media only screen and (max-width: 767px) {
104
+ .notfound .notfound-500 {
105
+ height: 142px;
106
+ }
107
+ .notfound .notfound-500 h1 {
108
+ font-size: 112px;
109
+ }
110
+ }
111
+ </style>
112
+
113
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
114
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
115
+ <!--[if lt IE 9]>
116
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
117
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
118
+ <![endif]-->
119
+
120
+ </head>
121
+
122
+ <body>
123
+
124
+ <div id="notfound">
125
+ <div class="notfound">
126
+ <div class="notfound-500">
127
+ <h1>Oops!</h1>
128
+ </div>
129
+ <h2>500 - Our server is on a break</h2>
130
+ <p>Sorry, something went wrong on our end. We are currently fixing the problem.</p>
131
+ <a href="/">Homepage</a>
132
+ <a href="/report/factsheet/">Factsheets</a>
133
+ </div>
134
+ </div>
135
+
136
+ </body><!-- This templates was made by Colorlib (https://colorlib.com) -->
137
+
138
+ </html>
@@ -0,0 +1,132 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="shortcut icon" type="image/png" href='favicon.ico'/>
10
+
11
+ <title>Maintenance!</title>
12
+
13
+ <!-- Google font -->
14
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,500&display=swap" rel="stylesheet">
15
+
16
+ <!-- Custom stlylesheet -->
17
+ <style type="text/css">
18
+ *,*:before,*:after{box-sizing:border-box;}
19
+ html,body{min-height:100%;padding:0;margin:0;font-family:'Roboto',sans-serif;font-size:12px;font-weight:300;color:#000;background-color:transparent;-webkit-overflow-scrolling:touch}
20
+ #maintenance {
21
+ position: relative;
22
+ height: 100vh;
23
+ }
24
+
25
+ #maintenance .maintenance {
26
+ position: absolute;
27
+ left: 50%;
28
+ top: 50%;
29
+ -webkit-transform: translate(-50%, -50%);
30
+ -ms-transform: translate(-50%, -50%);
31
+ transform: translate(-50%, -50%);
32
+ }
33
+
34
+ .maintenance {
35
+ max-width: 500px;
36
+ width: 100%;
37
+ text-align: center;
38
+ }
39
+
40
+ .maintenance .maintenance-404 {
41
+ height: 300px;
42
+ position: relative;
43
+ z-index: -1;
44
+ }
45
+
46
+ .maintenance .maintenance-404 h1 {
47
+ font-family: 'Montserrat', sans-serif;
48
+ font-size: 120px;
49
+ margin: 0;
50
+ font-weight: 900;
51
+ position: absolute;
52
+ line-height: 1;
53
+ left: 50%;
54
+ -webkit-transform: translateX(-50%);
55
+ -ms-transform: translateX(-50%);
56
+ transform: translateX(-50%);
57
+ background: url('https://stainly-cdn.fra1.digitaloceanspaces.com/media/bg_orange.jpg') no-repeat;
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ background-size: cover;
61
+ background-position: center;
62
+ }
63
+
64
+
65
+ .maintenance h2 {
66
+ font-family: 'Montserrat', sans-serif;
67
+ color: #000;
68
+ font-size: 24px;
69
+ font-weight: 700;
70
+ text-transform: uppercase;
71
+ margin-top: 0;
72
+ }
73
+
74
+ .maintenance p {
75
+ font-family: 'Montserrat', sans-serif;
76
+ color: #000;
77
+ font-size: 14px;
78
+ font-weight: 400;
79
+ margin-bottom: 20px;
80
+ margin-top: 0px;
81
+ }
82
+
83
+ .maintenance a {
84
+ font-family: 'Montserrat', sans-serif;
85
+ font-size: 14px;
86
+ text-decoration: none;
87
+ text-transform: uppercase;
88
+ background: #ff783a;
89
+ display: inline-block;
90
+ padding: 15px 30px;
91
+ border-radius: 40px;
92
+ color: #fff;
93
+ font-weight: 700;
94
+ -webkit-box-shadow: 0px 4px 15px -5px #ff783a;
95
+ box-shadow: 0px 4px 15px -5px #ff783a;
96
+ }
97
+
98
+
99
+ @media only screen and (max-width: 767px) {
100
+ .maintenance .maintenance-404 {
101
+ height: 142px;
102
+ }
103
+ .maintenance .maintenance-404 h1 {
104
+ font-size: 112px;
105
+ }
106
+ }
107
+ </style>
108
+
109
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
110
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
111
+ <!--[if lt IE 9]>
112
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
113
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
114
+ <![endif]-->
115
+
116
+ </head>
117
+
118
+ <body>
119
+
120
+ <div id="maintenance">
121
+ <div class="maintenance">
122
+ <div class="maintenance-404">
123
+ <h1>Site Under Maintenance</h1>
124
+ </div>
125
+ <h2>{{ header }}</h2>
126
+ <p>{{ description }}</p>
127
+ </div>
128
+ </div>
129
+
130
+ </body><!-- This templates was made by Colorlib (https://colorlib.com) -->
131
+
132
+ </html>
@@ -0,0 +1,132 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="shortcut icon" type="image/png" href='favicon.ico'/>
10
+
11
+ <title>{{ title }}</title>
12
+
13
+ <!-- Google font -->
14
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,500&display=swap" rel="stylesheet">
15
+
16
+ <!-- Custom stlylesheet -->
17
+ <style type="text/css">
18
+ *,*:before,*:after{box-sizing:border-box;}
19
+ html,body{min-height:100%;padding:0;margin:0;font-family:'Roboto',sans-serif;font-size:12px;font-weight:300;color:#000;background-color:transparent;-webkit-overflow-scrolling:touch}
20
+ #maintenance {
21
+ position: relative;
22
+ height: 100vh;
23
+ }
24
+
25
+ #maintenance .maintenance {
26
+ position: absolute;
27
+ left: 50%;
28
+ top: 50%;
29
+ -webkit-transform: translate(-50%, -50%);
30
+ -ms-transform: translate(-50%, -50%);
31
+ transform: translate(-50%, -50%);
32
+ }
33
+
34
+ .maintenance {
35
+ max-width: 500px;
36
+ width: 100%;
37
+ text-align: center;
38
+ }
39
+
40
+ .maintenance .maintenance-404 {
41
+ height: 300px;
42
+ position: relative;
43
+ z-index: -1;
44
+ }
45
+
46
+ .maintenance .maintenance-404 h1 {
47
+ font-family: 'Montserrat', sans-serif;
48
+ font-size: 120px;
49
+ margin: 0;
50
+ font-weight: 900;
51
+ position: absolute;
52
+ line-height: 1;
53
+ left: 50%;
54
+ -webkit-transform: translateX(-50%);
55
+ -ms-transform: translateX(-50%);
56
+ transform: translateX(-50%);
57
+ background: url('https://stainly-cdn.fra1.digitaloceanspaces.com/media/bg_orange.jpg') no-repeat;
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ background-size: cover;
61
+ background-position: center;
62
+ }
63
+
64
+
65
+ .maintenance h2 {
66
+ font-family: 'Montserrat', sans-serif;
67
+ color: #000;
68
+ font-size: 24px;
69
+ font-weight: 700;
70
+ text-transform: uppercase;
71
+ margin-top: 0;
72
+ }
73
+
74
+ .maintenance p {
75
+ font-family: 'Montserrat', sans-serif;
76
+ color: #000;
77
+ font-size: 14px;
78
+ font-weight: 400;
79
+ margin-bottom: 20px;
80
+ margin-top: 0px;
81
+ }
82
+
83
+ .maintenance a {
84
+ font-family: 'Montserrat', sans-serif;
85
+ font-size: 14px;
86
+ text-decoration: none;
87
+ text-transform: uppercase;
88
+ background: #ff783a;
89
+ display: inline-block;
90
+ padding: 15px 30px;
91
+ border-radius: 40px;
92
+ color: #fff;
93
+ font-weight: 700;
94
+ -webkit-box-shadow: 0px 4px 15px -5px #ff783a;
95
+ box-shadow: 0px 4px 15px -5px #ff783a;
96
+ }
97
+
98
+
99
+ @media only screen and (max-width: 767px) {
100
+ .maintenance .maintenance-404 {
101
+ height: 142px;
102
+ }
103
+ .maintenance .maintenance-404 h1 {
104
+ font-size: 112px;
105
+ }
106
+ }
107
+ </style>
108
+
109
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
110
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
111
+ <!--[if lt IE 9]>
112
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
113
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
114
+ <![endif]-->
115
+
116
+ </head>
117
+
118
+ <body>
119
+
120
+ <div id="maintenance">
121
+ <div class="maintenance">
122
+ <div class="maintenance-404">
123
+ <h1>{{ title }}</h1>
124
+ </div>
125
+ <h2>{{ header }}</h2>
126
+ <p>{{ description }}</p>
127
+ </div>
128
+ </div>
129
+
130
+ </body><!-- This templates was made by Colorlib (https://colorlib.com) -->
131
+
132
+ </html>
File without changes
@@ -0,0 +1,43 @@
1
+ {% extends "wbcore/email_base_template.html" %}
2
+ {% load i18n %}
3
+ {% block body %}
4
+ <tr class="content-row">
5
+ <td style="background-color: #eaf2ff;"></td>
6
+ <td class="body-content">
7
+ <p>
8
+ <b>{{ title }}</b>
9
+ </p>
10
+ </td>
11
+ <td style="background-color: #eaf2ff;"></td>
12
+ </tr>
13
+ <tr class="content-row">
14
+ <td style="background-color: #eaf2ff;"></td>
15
+ <td class="body-content">
16
+ {{ message | safe}}
17
+ </td>
18
+ <td style="background-color: #eaf2ff;"></td>
19
+ </tr>
20
+ {% if notification_share_url %}
21
+ <tr class="content-row">
22
+ <td style="background-color: #eaf2ff;"></td>
23
+ <td class="body-content">
24
+ <table cellspacing="0" cellpadding="0">
25
+ <tr>
26
+ <td style="border-radius: 10px;" bgcolor="#f76f5b">
27
+ <a class="link" href="{{ notification_share_url }}" target="_blank" style="padding: 8px 12px; border: 1px solid #ED2939; border-radius: 10px;font-family: Helvetica, Arial, sans-serif;font-size: 14px; color: #ffffff;text-decoration: none;font-weight:bold;display: inline-block;">
28
+ {% translate "Open" %}
29
+ </a>
30
+ </td>
31
+ </tr>
32
+ </table>
33
+ </td>
34
+ <td style="background-color: #eaf2ff;"></td>
35
+ </tr>
36
+ <tr>
37
+ <td style="background-color: #eaf2ff;"></td>
38
+ <td class="body-content">
39
+ </td>
40
+ <td style="background-color: #eaf2ff;"></td>
41
+ </tr>
42
+ {% endif %}
43
+ {% endblock %}
@@ -0,0 +1,8 @@
1
+ {% extends 'admin/change_list.html' %}
2
+ {% load i18n %}
3
+
4
+ {% block object-tools %}
5
+ <a href="import-csv/">{% translate "Import CSV" %}</a>
6
+ <br />
7
+ {{ block.super }}
8
+ {% endblock %}
@@ -0,0 +1,15 @@
1
+ {% extends 'admin/base.html' %}
2
+ {% load i18n %}
3
+
4
+ {% block content %}
5
+ <div>
6
+ <form action="." method="POST" enctype="multipart/form-data">
7
+ {{ form.as_p }}
8
+ {% csrf_token %}
9
+
10
+ <button type="submit">{% translate "Upload CSV" %}</button>
11
+ </form>
12
+ </div>
13
+ <br />
14
+
15
+ {% endblock %}
@@ -0,0 +1,29 @@
1
+ {% load static %}
2
+ {% load i18n %}
3
+
4
+ {% spaceless %}
5
+ <div class="related-widget-wrapper">
6
+ <div class="dynamic-array-widget">
7
+ <ul>
8
+ {% for subwidget in widget.subwidgets %}
9
+ <li class="array-item" {% if widget.is_none %}data-isNone="true" style="display: none"{% endif %}>
10
+ <input type="text"
11
+ id="{{ subwidget.id }}"
12
+ class="colorfield_field jscolor {% if subwidget.class %}{{ subwidget.class }}{% else %}form-control{% endif %}"
13
+ name="{{ subwidget.name }}"
14
+ value="{% firstof subwidget.value default '' %}"
15
+ placeholder="{% firstof subwidget.value default '' %}"
16
+ data-jscolor="{hash:true,width:225,height:150,format:'{{ subwidget.format }}',required:{% if subwidget.required %}true{% else %}false{% endif %},paletteCols:4,paletteHeight:28{% if subwidget.palette %},palette:{{ subwidget.palette|safe }}{% endif %}}"
17
+ {% if subwidget.disabled %}disabled{% endif %}
18
+ {% if subwidget.required %}required{% endif %}
19
+ />
20
+ <div class="remove">
21
+ <div class="inline-deletelink"></div>
22
+ </div>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+ <div><input type="button" class="add-array-item" value="{% trans "Add another" %}"></div>
27
+ </div>
28
+ </div>
29
+ {% endspaceless %}