← All changes
|
inc/admin/views/tools/course/html-install-sample-data.php
+10
-10
4.4.5
→
4.4.8
View file →
| @@ -10,9 +10,9 @@ | ||
| 10 | 10 | $message_install = esc_html__( 'Are you sure you want to install the sample course data?', 'learnpress' ); |
| 11 | 11 | $message_uninstall = esc_html__( 'Are you sure you want to delete the sample course data?', 'learnpress' ); |
| 12 | 12 | ?> |
| 13 | 13 | |
| 14 | -<div class="lp-install-sample"> | |
| 14 | +<div class="lp-install-sample lp-max-width-768 card"> | |
| 15 | 15 | <h2><?php _e( 'Install Sample Data', 'learnpress' ); ?></h2> |
| 16 | 16 | <p><?php _e( 'Create a <strong>Sample course</strong> with lessons and quizzes. The content will be filled with <strong>Lorem</strong> text.', 'learnpress' ); ?></p> |
| 17 | 17 | <form class="lp-form-handle-sample-data lp-install-sample__options lp-hidden"> |
| 18 | 18 | <fieldset> |
| @@ -58,24 +58,24 @@ | ||
| 58 | 58 | </form> |
| 59 | 59 | <div class="lp-install-sample-message"></div> |
| 60 | 60 | <p class="lp-install-sample__buttons"> |
| 61 | 61 | <button class="lp-button button button-primary lp-btn-install-sample-handle" |
| 62 | - data-action="lp_install_sample_data" | |
| 63 | - data-message="<?php echo esc_attr( $message_install ); ?>" | |
| 64 | - href="#"> | |
| 62 | + data-action="lp_install_sample_data" | |
| 63 | + data-message="<?php echo esc_attr( $message_install ); ?>" | |
| 64 | + href="#"> | |
| 65 | 65 | <?php esc_html_e( 'Install', 'learnpress' ); ?> |
| 66 | 66 | </button> |
| 67 | 67 | <a href="#" |
| 68 | - class="lp-install-sample__toggle-options" | |
| 69 | - data-hide-text="<?php esc_attr_e( 'Hide options', 'learnpress' ); ?>" | |
| 70 | - data-show-text="<?php esc_attr_e( 'Show options', 'learnpress' ); ?>" | |
| 68 | + class="lp-install-sample__toggle-options" | |
| 69 | + data-hide-text="<?php esc_attr_e( 'Hide options', 'learnpress' ); ?>" | |
| 70 | + data-show-text="<?php esc_attr_e( 'Show options', 'learnpress' ); ?>" | |
| 71 | 71 | > |
| 72 | 72 | <?php esc_html_e( 'Show options', 'learnpress' ); ?> |
| 73 | 73 | </a> |
| 74 | 74 | <button class="lp-button button lp-btn-install-sample-handle" |
| 75 | - data-action="lp_uninstall_sample_data" | |
| 76 | - data-message="<?php echo esc_attr( $message_uninstall ); ?>" | |
| 77 | - href="#"> | |
| 75 | + data-action="lp_uninstall_sample_data" | |
| 76 | + data-message="<?php echo esc_attr( $message_uninstall ); ?>" | |
| 77 | + href="#"> | |
| 78 | 78 | <?php esc_html_e( 'Delete sample course', 'learnpress' ); ?> |
| 79 | 79 | </button> |
| 80 | 80 | </p> |
| 81 | 81 | </div> |