Commit Graph

371 Commits

Author SHA1 Message Date
Rostislav Wolny
1c1d9d7037 Set input inline border radius as !important
We need to override Shapely theme's !important rule
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
37c8eb2146 Add custom css for heading margins to template 4 forms
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
e2d6087c95 Add line heights to form template paragraphs and headings
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
3244ff9eb4 Turn off all display settings for form templates
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
e8d0b7d8c8 Add forward compatibility for form placement toggles
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
d720832f97 Set automatic height for inputs if form is using custom font size
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
9f91a408d4 Fix main font settings in form templates
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
295ca93920 Add Template 4 group templates
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
c660f011dc Refactor form template ids to class constants
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
c74bc28969 Remove demo form template
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
2b655f0fa8 Add form templates from Template 3 group
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
79c70c8341 Rename form template parent class
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
7087bd3b3c Refactor form templates repository to return templates objects
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
04e431dae5 Add form template ability to transform to form entity
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
9155b8d95a Refactor default form success message detection to form factory
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
defc83e0c4 Refactor form templates to use inheritance
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Pavel Dohnal
3b2f437709 Hide malformed forms
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
4766f0a5e6 Only display form if the type is enabled
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
e6706dae6c Prevent dispaying disabled form in widget
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
ca8831e5bb Display form only if it is enabled
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Rostislav Wolny
41341e92d3 Hide success/error messages in widget form preview
[MAILPOET-3071]
2020-08-05 12:06:23 +02:00
Rostislav Wolny
29535f6e9b Fix incorrect form media styles
[MAILPOET-3024]
2020-07-08 14:22:22 +02:00
Rostislav Wolny
c66eae74cd Enforce heading font size in mobile forms
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
Rostislav Wolny
a6b8330968 Hide spacers and limit dividers height in form on mobile
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
Rostislav Wolny
f96749858c Refactor front end mobile styles generating in separate method
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
Rostislav Wolny
c6873c5d75 Refactor form background style to allow multiple backgrounds
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
56dbf5bec1 Remove unnecessary condition for background styles render
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
56be474bb1 Render form gradient on front end
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
12dff2c34d Render submit button gradient on front end
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
4d1fbcd157 Add gradient rendering to columns on front end
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
876a6b33bd Fix left alignment CSS
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Pavel Dohnal
a469cd3097 Display a default selection
[MAILPOET-2963]
2020-07-07 08:35:21 +02:00
Pavel Dohnal
5c9d844e0d Display close icon
[MAILPOET-2963]
2020-07-07 08:35:21 +02:00
Rostislav Wolny
a45a66b9d0 Move form templates data into subdirectory
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
b4dc778230 Load form templates data for template selection page from repository
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
14aa0b1393 Refactor creating of default form to use templates
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
4fc3d7b686 Add template for default form
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
8114715b87 Add correct success message to form created from template
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
552c1f32b0 Add temporary demo form template
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
57ff83441f Use Initial form styles as default styles
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
7d62b15979 Refactor form factory to use form templates
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
648199f6cf Add form templates repository service
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
42e807e2ce Add form template interface and initial form template
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Rostislav Wolny
2c33cbfa24 Render paragraph and heading typography styles on front end
[MAILPOET-3007]
2020-06-30 09:32:11 +02:00
Pavel Dohnal
565da8b52e Move Template Selection to a separate page
[MAILPOET-2987]
2020-06-25 16:23:16 +02:00
Pavel Dohnal
07637c69cf Create a new form from template
[MAILPOET-2987]
2020-06-25 16:23:16 +02:00
Pavel Dohnal
cee7416fdc Display form always in the_content, not just once
Use magical functions that seems to work

[MAILPOET-3009]
2020-06-25 10:13:53 +02:00
Rostislav Wolny
f35dc468b2 Render heading background color in form on front end
[MAILPOET-2976]
2020-06-23 09:14:20 +02:00
Pavel Dohnal
0fa4ebfe47 Add padding for mobile forms
[MAILPOET-2964]
2020-06-16 09:38:19 +02:00
Pavel Dohnal
c4cea7335b Move last paragraph styles to be more specific
[MAILPOET-2964]
2020-06-16 09:38:19 +02:00