| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php /** |
| 2 | 2 | * @version 1.0 |
| 3 | 3 | * @description Templates for Setup pages |
| 4 | 4 | * @category Setup Templates |
| @@ -314,19 +314,24 @@ | ||
| 314 | 314 | var nextTitle = currentStepData.next_title || '<?php echo esc_js( __( 'Save and Continue', 'booking' ) ); ?>'; |
| 315 | 315 | #> |
| 316 | 316 | <div class="wpbc__form__div"> |
| 317 | 317 | <hr> |
| 318 | - <div class="wpbc__row wpbc__row__btn_prior_next"> | |
| 319 | - <?php /* ?> | |
| 320 | - <div class="wpbc__field"> | |
| 321 | - <input type="button" value="<?php esc_attr_e('Reset Wizard and Start from Beginning','booking'); ?>" | |
| 322 | - class="wpbc_button_light wpbc_button_danger tooltip_top " style="" | |
| 323 | - onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { 'do_action': 'make_reset' } ); "> | |
| 324 | - </div> | |
| 325 | - <?php */ ?> | |
| 326 | - <div class="wpbc__field"> | |
| 318 | + <div class="wpbc__row wpbc__row__btn_prior_next wpbc_setup_wizard_navigation_row"> | |
| 319 | + <div class="wpbc__field wpbc_setup_wizard_navigation_links"> | |
| 320 | + <p class="wpbc_exit_link_small"> | |
| 321 | + <a href="javascript:void(0)" | |
| 322 | + onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { 'do_action': 'skip_wizard' } ); " | |
| 323 | + title="<?php esc_attr_e('Exit and skip the setup wizard','booking'); ?>" | |
| 324 | + ><?php esc_html_e('Exit and skip the setup wizard','booking'); ?></a> | |
| 325 | + <a href="javascript:void(0)" class="wpbc_button_danger" | |
| 326 | + onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { 'do_action': 'make_reset' } ); " | |
| 327 | + title="<?php esc_attr_e('Start Setup from Beginning','booking'); ?>" | |
| 328 | + ><?php esc_html_e('Reset Wizard','booking'); ?></a> | |
| 329 | + </p> | |
| 330 | + </div> | |
| 331 | + <div class="wpbc__field wpbc_setup_wizard_navigation_actions"> | |
| 327 | 332 | <# if ( '' != priorStep ) { #> |
| 328 | - <a class="wpbc_button_light" style="margin-left:auto;margin-right:10px;" tabindex="0" | |
| 333 | + <a class="button button-secondary" style="margin-left:auto;margin-right:10px;" tabindex="0" | |
| 329 | 334 | id="btn__toolbar__buttons_prior" |
| 330 | 335 | onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { |
| 331 | 336 | 'current_step': '{{priorStep}}', |
| 332 | 337 | 'do_action': 'none', |
| @@ -337,9 +342,9 @@ | ||
| 337 | 342 | |
| 338 | 343 | <# } else { #> |
| 339 | 344 | <span style="margin-left:auto;"></span> |
| 340 | 345 | <# } #> |
| 341 | - <a class="wpbc_button_light button-primary" tabindex="0" | |
| 346 | + <a class="button button-primary" tabindex="0" | |
| 342 | 347 | id="btn__toolbar__buttons_next" |
| 343 | 348 | onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { |
| 344 | 349 | 'current_step': '{{nextStep}}', |
| 345 | 350 | 'do_action': '{{doAction}}', |
| @@ -347,31 +352,11 @@ | ||
| 347 | 352 | ,'step_data': ( 'function' === typeof window.wpbc_setup_wizard_get_step_data ) ? window.wpbc_setup_wizard_get_step_data( '{{currentStep}}' ) : {} |
| 348 | 353 | } ); |
| 349 | 354 | wpbc_button_enable_loading_icon( this ); |
| 350 | 355 | wpbc_admin_show_message_processing( '' );" ><span>{{nextTitle}} </span><i class="menu_icon icon-1x wpbc_icn_arrow_forward_ios"></i></a> |
| 351 | - </div> | |
| 352 | - </div> | |
| 353 | - <div class="wpbc__row wpbc__row__btn_skip_exist"> | |
| 354 | - <div class="wpbc__field"> | |
| 355 | - <p class="wpbc_exit_link_small"> | |
| 356 | - <a href="javascript:void(0)" tabindex="-1" | |
| 357 | - onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { 'do_action': 'skip_wizard' } ); " | |
| 358 | - title="<?php esc_attr_e('Exit and skip the setup wizard','booking'); ?>" | |
| 359 | - ><?php | |
| 360 | - esc_html_e('Exit and skip the setup wizard','booking'); | |
| 361 | - ?></a> | |
| 362 | - <?php ?> | |
| 363 | - <a href="javascript:void(0)" class="wpbc_button_danger" style="margin: 25px 0 0; font-size: 12px;" tabindex="-1" | |
| 364 | - onclick=" wpbc_ajx__setup_wizard_page__send_request_with_params( { 'do_action': 'make_reset' } ); " | |
| 365 | - title="<?php esc_attr_e('Start Setup from Beginning','booking'); ?>" | |
| 366 | - ><?php | |
| 367 | - esc_html_e('Reset Wizard','booking'); | |
| 368 | - ?></a> | |
| 369 | - <?php /**/ ?> | |
| 370 | - </p> | |
| 371 | - </div> | |
| 372 | - </div> | |
| 373 | - </div> | |
| 356 | + </div> | |
| 357 | + </div> | |
| 358 | + </div> | |
| 374 | 359 | </script><?php |
| 375 | 360 | } |
| 376 | 361 | |
| 377 | 362 | |