| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div class="frm-style-tabs-wrapper"> |
| 7 |
<div class="frm-tabs-delimiter"> |
| 8 |
<span data-initial-width="174" class="frm-tabs-active-underline frm-first"></span> |
| 9 |
</div> |
| 10 |
<div class="frm-tabs-navs"> |
| 11 |
<ul class="frm-flex-box"> |
| 12 |
<li class="frm-active"><?php esc_html_e( 'Success', 'formidable' ); ?></li> |
| 13 |
<li><?php esc_html_e( 'Error', 'formidable' ); ?></li> |
| 14 |
</ul> |
| 15 |
</div> |
| 16 |
<div class="frm-tabs-container"> |
| 17 |
<div class="frm-tabs-slide-track frm-flex-box"> |
| 18 |
<div class="frm-active"> |
| 19 |
<div class="frm_grid_container"> |
| 20 |
<div class="frm5 frm_form_field"> |
| 21 |
<label class="frm-style-item-heading"><?php esc_html_e( 'BG Color', 'formidable' ); ?></label> |
| 22 |
</div> |
| 23 |
<div class="frm7 frm_form_field"> |
| 24 |
<?php |
| 25 |
new FrmColorpickerStyleComponent( |
| 26 |
$frm_style->get_field_name( 'success_bg_color' ), |
| 27 |
$style->post_content['success_bg_color'], |
| 28 |
array( |
| 29 |
'id' => 'frm_success_bg_color', |
| 30 |
'action_slug' => 'success_bg_color', |
| 31 |
) |
| 32 |
); |
| 33 |
?> |
| 34 |
</div> |
| 35 |
|
| 36 |
<div class="frm5 frm_form_field"> |
| 37 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); ?></label> |
| 38 |
</div> |
| 39 |
<div class="frm7 frm_form_field"> |
| 40 |
<?php |
| 41 |
new FrmColorpickerStyleComponent( |
| 42 |
$frm_style->get_field_name( 'success_border_color' ), |
| 43 |
$style->post_content['success_border_color'], |
| 44 |
array( |
| 45 |
'id' => 'frm_success_border_color', |
| 46 |
'action_slug' => 'success_border_color', |
| 47 |
) |
| 48 |
); |
| 49 |
?> |
| 50 |
</div> |
| 51 |
|
| 52 |
<div class="frm5 frm_form_field"> |
| 53 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ?></label> |
| 54 |
</div> |
| 55 |
<div class="frm7 frm_form_field"> |
| 56 |
<?php |
| 57 |
new FrmColorpickerStyleComponent( |
| 58 |
$frm_style->get_field_name( 'success_text_color' ), |
| 59 |
$style->post_content['success_text_color'], |
| 60 |
array( |
| 61 |
'id' => 'frm_success_text_color', |
| 62 |
'action_slug' => 'success_text_color', |
| 63 |
) |
| 64 |
); |
| 65 |
?> |
| 66 |
</div> |
| 67 |
|
| 68 |
<div class="frm5 frm_form_field"><label class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label></div> |
| 69 |
<div class="frm7 frm_form_field"> |
| 70 |
<?php |
| 71 |
new FrmSliderStyleComponent( |
| 72 |
$frm_style->get_field_name( 'success_font_size' ), |
| 73 |
$style->post_content['success_font_size'], |
| 74 |
array( |
| 75 |
'id' => 'frm_success_font_size', |
| 76 |
'max_value' => 100, |
| 77 |
) |
| 78 |
); |
| 79 |
?> |
| 80 |
</div> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
|
| 84 |
<div> |
| 85 |
<div class="frm_grid_container"> |
| 86 |
<div class="frm5 frm_form_field"> |
| 87 |
<label class="frm-style-item-heading"><?php esc_html_e( 'BG Color', 'formidable' ); ?></label> |
| 88 |
</div> |
| 89 |
<div class="frm7 frm_form_field"> |
| 90 |
<?php |
| 91 |
new FrmColorpickerStyleComponent( |
| 92 |
$frm_style->get_field_name( 'error_bg' ), |
| 93 |
$style->post_content['error_bg'], |
| 94 |
array( |
| 95 |
'id' => 'frm_error_bg', |
| 96 |
'action_slug' => 'error_bg', |
| 97 |
) |
| 98 |
); |
| 99 |
?> |
| 100 |
</div> |
| 101 |
|
| 102 |
<div class="frm5 frm_form_field"> |
| 103 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); ?></label> |
| 104 |
</div> |
| 105 |
<div class="frm7 frm_form_field"> |
| 106 |
<?php |
| 107 |
new FrmColorpickerStyleComponent( |
| 108 |
$frm_style->get_field_name( 'error_border' ), |
| 109 |
$style->post_content['error_border'], |
| 110 |
array( |
| 111 |
'id' => 'frm_error_border', |
| 112 |
'action_slug' => 'error_border', |
| 113 |
) |
| 114 |
); |
| 115 |
?> |
| 116 |
</div> |
| 117 |
|
| 118 |
<div class="frm5 frm_form_field"> |
| 119 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ?></label> |
| 120 |
</div> |
| 121 |
<div class="frm7 frm_form_field"> |
| 122 |
<?php |
| 123 |
new FrmColorpickerStyleComponent( |
| 124 |
$frm_style->get_field_name( 'error_text' ), |
| 125 |
$style->post_content['error_text'], |
| 126 |
array( |
| 127 |
'id' => 'frm_error_text', |
| 128 |
'action_slug' => 'error_text', |
| 129 |
) |
| 130 |
); |
| 131 |
?> |
| 132 |
</div> |
| 133 |
|
| 134 |
<div class="frm5 frm_form_field"><label class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label></div> |
| 135 |
<div class="frm7 frm_form_field"> |
| 136 |
<?php |
| 137 |
new FrmSliderStyleComponent( |
| 138 |
$frm_style->get_field_name( 'error_font_size' ), |
| 139 |
$style->post_content['error_font_size'], |
| 140 |
array( |
| 141 |
'id' => 'frm_error_font_size', |
| 142 |
'max_value' => 100, |
| 143 |
) |
| 144 |
); |
| 145 |
?> |
| 146 |
</div> |
| 147 |
</div> |
| 148 |
</div> |
| 149 |
</div> |
| 150 |
</div> |
| 151 |
</div> |