From: Vimal Joseph Date: Thu, 20 Nov 2014 17:30:32 +0000 (+0530) Subject: Fixed issues in create widget template. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d74a0682dc524fd642f40df04ad925b9edbdc8de;p=com.zyxware.civiwci.git Fixed issues in create widget template. Modified the template to correct the order of text fields. Fixed the js issue with accordion. --- diff --git a/templates/CRM/Wci/Form/CreateWidget.tpl b/templates/CRM/Wci/Form/CreateWidget.tpl index 47f0c6f..1296eab 100644 --- a/templates/CRM/Wci/Form/CreateWidget.tpl +++ b/templates/CRM/Wci/Form/CreateWidget.tpl @@ -34,13 +34,13 @@
-
{$form.logo_image.label}{help id="logo_image" file="CRM/Wci/Form/CreateWidget"}
-
{$form.logo_image.html}
+
{$form.logo_image.label}
+
{$form.logo_image.html} {help id="logo_image" file="CRM/Wci/Form/CreateWidget"}
-
{$form.image.label}{help id="image" file="CRM/Wci/Form/CreateWidget"}
-
{$form.image.html}
+
{$form.image.label}
+
{$form.image.html} {help id="image" file="CRM/Wci/Form/CreateWidget"}
@@ -69,111 +69,176 @@
-
{$form.email_signup_group_id.label}{help id="email_signup_group_id" file="CRM/Wci/Form/CreateWidget"}
-
{$form.email_signup_group_id.html}
+
{$form.email_signup_group_id.label}
+
{$form.email_signup_group_id.html} {help id="email_signup_group_id" file="CRM/Wci/Form/CreateWidget"}
+ +
+
{$form.newsletter_text.label}
+
{$form.newsletter_text.html}
+
+
+
-
{$form.size_variant.label}{help id="size_variant" file="CRM/Wci/Form/CreateWidget"}
-
{$form.size_variant.html}
+
{$form.size_variant.label}
+
{$form.size_variant.html} {help id="size_variant" file="CRM/Wci/Form/CreateWidget"}
+
Widget options
- + + - + + + + + +
{$form.hide_title.label} {$form.hide_border.label}{help id="hide-border" file="CRM/Wci/Form/CreateWidget"} {$form.hide_pbcap.label}{$form.hide_title.html}{$form.hide_title.label}
{$form.hide_title.html} {$form.hide_border.html} {$form.hide_pbcap.html}{$form.hide_border.html}{$form.hide_border.label} {help id="hide-border" file="CRM/Wci/Form/CreateWidget"}
{$form.hide_pbcap.html}{$form.hide_pbcap.label}
- - +
+
+ Edit Widget color +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {$form.color_title.label} + + {$form.color_title.html} + + {$form.color_btn_newsletter_bg.label} + + {$form.color_btn_newsletter_bg.html} +
+ {$form.color_title_bg.label} + + {$form.color_title_bg.html} + + {$form.color_btn_newsletter.label} + + {$form.color_btn_newsletter.html} +
+ {$form.color_widget_bg.label} + + {$form.color_widget_bg.html} + + {$form.color_newsletter_text.label} + + {$form.color_newsletter_text.html} +
+ {$form.color_border.label} + + {$form.color_border.html} + + {$form.color_description.label} + + {$form.color_description.html} +
+ {$form.color_button.label} + + {$form.color_button.html} + + {$form.color_bar.label} + + {$form.color_bar.html} +
+ {$form.color_button_bg.label} + + {$form.color_button_bg.html} + + {$form.color_bar_bg.label} + + {$form.color_bar_bg.html} +
+
+
+
+
+ {* FOOTER *} @@ -184,17 +249,9 @@ {literal} - {/literal}