wagtail-enap-designsystem 1.2.1.127__py3-none-any.whl → 1.2.1.129__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 wagtail-enap-designsystem might be problematic. Click here for more details.
- enap_designsystem/blocks/form.py +296 -5
- enap_designsystem/migrations/0390_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +53322 -0
- enap_designsystem/migrations/0391_alter_formulariopage_form_steps.py +1240 -0
- enap_designsystem/migrations/0392_alter_formulariopage_form_steps.py +1237 -0
- enap_designsystem/migrations/0393_alter_formulariopage_form_steps.py +1264 -0
- enap_designsystem/migrations/0394_sistemavotacaopage_background_image_fundo_and_more.py +52181 -0
- enap_designsystem/models.py +13 -0
- enap_designsystem/static/enap_designsystem/blocks/card_courses.css +2 -1
- enap_designsystem/static/enap_designsystem/blocks/suap/suap_courses_block.css +28 -6
- enap_designsystem/templates/enap_designsystem/blocks/clientes_block.html +1 -1
- enap_designsystem/templates/enap_designsystem/blocks/recaptcha.html +0 -2
- enap_designsystem/templates/enap_designsystem/blocks/suap/suap_courses_block.html +9 -2
- enap_designsystem/templates/enap_designsystem/form_templates/formulario_page.html +631 -934
- enap_designsystem/templates/enap_designsystem/includes/form_field.html +798 -382
- enap_designsystem/templates/enap_designsystem/sistema_votacao_page.html +26 -7
- {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/RECORD +20 -15
- {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/top_level.txt +0 -0
enap_designsystem/models.py
CHANGED
|
@@ -4789,6 +4789,18 @@ class SistemaVotacaoPage(Page):
|
|
|
4789
4789
|
related_name="+",
|
|
4790
4790
|
)
|
|
4791
4791
|
|
|
4792
|
+
background_image_fundo = StreamField(
|
|
4793
|
+
[('background_image_stream', ImageChooserBlock(
|
|
4794
|
+
label="Imagem de Fundo",
|
|
4795
|
+
help_text="Selecione uma imagem de fundo para o formulário"
|
|
4796
|
+
))],
|
|
4797
|
+
verbose_name="Imagem de Fundo",
|
|
4798
|
+
use_json_field=True,
|
|
4799
|
+
max_num=1,
|
|
4800
|
+
blank=True,
|
|
4801
|
+
help_text="Adicione uma imagem de fundo para o formulário"
|
|
4802
|
+
)
|
|
4803
|
+
|
|
4792
4804
|
subtitulo = models.CharField(
|
|
4793
4805
|
max_length=255,
|
|
4794
4806
|
default="Escolha os melhores projetos em cada categoria",
|
|
@@ -4885,6 +4897,7 @@ class SistemaVotacaoPage(Page):
|
|
|
4885
4897
|
FieldPanel('imagem_fundo'),
|
|
4886
4898
|
FieldPanel('navbar'),
|
|
4887
4899
|
FieldPanel('footer'),
|
|
4900
|
+
FieldPanel('background_image_fundo'),
|
|
4888
4901
|
], heading="Conteúdo do Header"),
|
|
4889
4902
|
|
|
4890
4903
|
FieldPanel('configuracoes_votacao'),
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.btn-todos:active{
|
|
34
|
-
color: #
|
|
34
|
+
color: #ffffff;
|
|
35
|
+
background-color: #025257;
|
|
35
36
|
border: 1px solid #025257;
|
|
36
37
|
}
|
|
37
38
|
.section-curso-cards-suap {
|
|
@@ -144,21 +145,42 @@
|
|
|
144
145
|
|
|
145
146
|
.carousel-control-curso-suap {
|
|
146
147
|
position: absolute;
|
|
147
|
-
border: none;
|
|
148
|
-
background-color: transparent;
|
|
149
148
|
top: 50%;
|
|
150
149
|
transform: translateY(-50%);
|
|
151
|
-
font-size:
|
|
150
|
+
font-size: 28px;
|
|
152
151
|
cursor: pointer;
|
|
153
152
|
z-index: 10;
|
|
153
|
+
background-color: #007D7A;
|
|
154
|
+
border: 5px solid #FFFFFF;
|
|
155
|
+
border-radius: 50%;
|
|
156
|
+
color: #FFFFFF;
|
|
157
|
+
align-items: center;
|
|
158
|
+
height: 40px;
|
|
159
|
+
width: 40px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.carousel-control-curso-suap:hover{
|
|
163
|
+
background-color: #006969;
|
|
164
|
+
}
|
|
165
|
+
.carousel-control-curso-suap:active{
|
|
166
|
+
background-color: #025257;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.setas{
|
|
170
|
+
font-size: 28px;
|
|
171
|
+
font-weight: 900;
|
|
172
|
+
color: #FFFFFF;
|
|
173
|
+
margin: 0px;
|
|
154
174
|
}
|
|
155
175
|
|
|
156
176
|
.carousel-control-curso-suap-prev {
|
|
157
|
-
left: -
|
|
177
|
+
left: -20px;
|
|
178
|
+
box-shadow: 2px 5px 8px 0px rgba(0, 0, 0, 0.25);
|
|
158
179
|
}
|
|
159
180
|
|
|
160
181
|
.carousel-control-curso-suap-next {
|
|
161
|
-
right: -
|
|
182
|
+
right: -20px;
|
|
183
|
+
box-shadow: -1px 4px 7px 0px rgba(0, 0, 0, 0.25);
|
|
162
184
|
}
|
|
163
185
|
|
|
164
186
|
.btn1 {
|
|
@@ -60,8 +60,15 @@
|
|
|
60
60
|
{% endfor %}
|
|
61
61
|
</div>
|
|
62
62
|
|
|
63
|
-
<button class="carousel-control-curso-suap carousel-control-curso-suap-prev"
|
|
64
|
-
|
|
63
|
+
<button class="carousel-control-curso-suap carousel-control-curso-suap-prev">
|
|
64
|
+
<span class="visually-hidden">Rolar para esquerda</span>
|
|
65
|
+
<span class="material-symbols-outlined setas seta-esquerda">chevron_left</span>
|
|
66
|
+
</button>
|
|
67
|
+
<button class="carousel-control-curso-suap carousel-control-curso-suap-next">
|
|
68
|
+
<span class="visually-hidden">Rolar para direita</span>
|
|
69
|
+
<span class="material-symbols-outlined setas seta-direita">chevron_right</span>
|
|
70
|
+
</button>
|
|
71
|
+
|
|
65
72
|
</div>
|
|
66
73
|
</div>
|
|
67
74
|
|