Wizard: Move Jetpack TOS above button

This commit is contained in:
Valerie 2017-09-27 22:48:33 +03:00
parent 6793afed50
commit 72f9ce08ac
2 changed files with 11 additions and 3 deletions

View File

@ -911,3 +911,11 @@ p.next-steps-help-text {
padding: 0 2em;
text-align: center;
}
p.jetpack-terms {
font-size: .8em;
text-align: center;
max-width: 480px;
margin: 0 auto;
line-height: 1.5em;
}

View File

@ -1414,9 +1414,6 @@ class WC_Admin_Setup_Wizard {
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack-green-logo.svg' ); ?>"
alt="Jetpack logo"
/>
<p class="wc-setup-actions step">
<input type="submit" class="button-primary button button-large" value="<?php esc_attr_e( 'Connect with Jetpack', 'woocommerce' ); ?>" />
</p>
<p class="jetpack-terms">
<?php
printf(
@ -1426,6 +1423,9 @@ class WC_Admin_Setup_Wizard {
);
?>
</p>
<p class="wc-setup-actions step">
<input type="submit" class="button-primary button button-large" value="<?php esc_attr_e( 'Connect with Jetpack', 'woocommerce' ); ?>" />
</p>
<input type="hidden" name="save_step" value="activate" />
<h3 class="jetpack-reasons"><?php esc_html_e( "Bonus reasons you'll love Jetpack", 'woocommerce' ); ?></h3>
<ul class="wc-wizard-features">