catch-scroll-progress-bar-admin-display.php
4 years ago
dashboard-display.php
4 years ago
footer.php
4 years ago
sidebar.php
4 years ago
catch-scroll-progress-bar-admin-display.php
127 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Provide a admin area view for the plugin |
| 5 | * |
| 6 | * This file is used to markup the admin-facing aspects of the plugin. |
| 7 | * |
| 8 | * @link www.catchplugins.com |
| 9 | * @since 1.0.0 |
| 10 | * |
| 11 | * @package Catch_Scroll_Progress_Bar |
| 12 | * @subpackage Catch_Scroll_Progress_Bar/admin/partials |
| 13 | */ |
| 14 | ?> |
| 15 | <div class="wrap"> |
| 16 | <h1 class="wp-heading-inline"><?php esc_html_e( 'Catch Scroll Progress Bar', 'catch-scroll-progress-bar' );?></h1> |
| 17 | <div id="plugin-description"> |
| 18 | <p><?php esc_html_e( 'This is a simple, super-light WordPress progress bar plugin that has the most essential features to show the users how far they’ve scrolled through the current page or post', 'catch-scroll-progress-bar' ); ?></p> |
| 19 | </div> |
| 20 | <div class="catchp-content-wrapper"> |
| 21 | <div class="catchp_widget_settings"> |
| 22 | |
| 23 | <form id="duplicate-page" method="post" action="options.php"> |
| 24 | |
| 25 | <h2 class="nav-tab-wrapper"> |
| 26 | <a class="nav-tab nav-tab-active" id="dashboard-tab" href="#dashboard"><?php esc_html_e( 'Dashboard', 'catch-scroll-progress-bar' ); ?></a> |
| 27 | <a class="nav-tab" id="features-tab" href="#features"><?php esc_html_e( 'Features', 'catch-scroll-progress-bar' ); ?></a> |
| 28 | </h2> |
| 29 | <div id="dashboard" class="wpcatchtab nosave active"> |
| 30 | <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'partials/dashboard-display.php';?> |
| 31 | <div id="ctp-switch" class="content-wrapper col-3 catch-scroll-progress-main"> |
| 32 | <div class="header"> |
| 33 | <h2><?php esc_html_e( 'Catch Themes & Catch Plugins Tabs', 'catch-scroll-progress-bar' ); ?></h2> |
| 34 | </div> <!-- .Header --> |
| 35 | |
| 36 | <div class="content"> |
| 37 | |
| 38 | <p><?php echo esc_html__( 'If you want to turn off Catch Themes & Catch Plugins tabs option in Add Themes and Add Plugins page, please uncheck the following option.', 'catch-scroll-progress-bar' ); ?> |
| 39 | </p> |
| 40 | <table> |
| 41 | <tr> |
| 42 | <td> |
| 43 | <?php echo esc_html__( 'Turn On Catch Themes & Catch Plugin tabs', 'catch-scroll-progress-bar' ); ?> |
| 44 | </td> |
| 45 | <td> |
| 46 | <?php $ctp_options = ctp_get_options(); ?> |
| 47 | <div class="module-header <?php echo $ctp_options['theme_plugin_tabs'] ? 'active' : 'inactive'; ?>"> |
| 48 | <div class="switch"> |
| 49 | <input type="checkbox" id="ctp_options[theme_plugin_tabs]" class="ctp-switch" rel="theme_plugin_tabs" <?php checked( true, $ctp_options['theme_plugin_tabs'] ); ?> > |
| 50 | <label for="ctp_options[theme_plugin_tabs]"></label> |
| 51 | </div> |
| 52 | <div class="loader"></div> |
| 53 | </div> |
| 54 | </td> |
| 55 | </tr> |
| 56 | </table> |
| 57 | |
| 58 | </div> |
| 59 | </div><!-- #ctp-switch --> |
| 60 | </div><!---dashboard----> |
| 61 | |
| 62 | <div id="features" class="wpcatchtab save"> |
| 63 | <div class="content-wrapper col-3"> |
| 64 | <div class="header"> |
| 65 | <h3><?php esc_html_e( 'Features', 'catch-scroll-progress-bar' );?></h3> |
| 66 | </div><!-- .header --> |
| 67 | <div class="content"> |
| 68 | <ul class="catchp-lists"> |
| 69 | <li> |
| 70 | <strong><?php esc_html_e( 'Progress Bar Position', 'catch-scroll-progress-bar' ); ?></strong> |
| 71 | <p><?php esc_html_e( 'Mostly progress bars are displayed on the top of the website. However, with our new WordPress progress bar plugin, you can exhibit your progress bar either on the top or the bottom of your website. The option is there to let you choose the position where your website would flaunt out its beauty and would not disturb other elements on your website.','catch-scroll-progress-bar' ); ?></p> |
| 72 | </li> |
| 73 | |
| 74 | <li> |
| 75 | <strong><?php esc_html_e( 'Color Options and Opacity', 'catch-scroll-progress-bar' ); ?></strong> |
| 76 | <p><?php esc_html_e( 'There is an unlimited color palette to choose the background and foreground of your reading progress bar. Choose the ones that go along with your website and its look. Now, you don’t want your progress bar to look like the odd-one, do you? Also, after choosing the correct colors for your background and foreground, you can also select the opacity for both of the fields.','catch-scroll-progress-bar' ); ?></p> |
| 77 | </li> |
| 78 | |
| 79 | <li> |
| 80 | <strong><?php esc_html_e( 'Progress Bar Height ', 'catch-scroll-progress-bar' ); ?></strong> |
| 81 | <p><?php esc_html_e( 'The Progress Bar height setting allows you to choose the thickness of your reading progress bar. Some might like it thin to make it more elegant. Whereas, some might prefer the progress bar a little thick to make it bold and eye-catching. ','catch-scroll-progress-bar' ); ?></p> |
| 82 | </li> |
| 83 | <li> |
| 84 | <strong><?php esc_html_e( 'Border Radius', 'catch-scroll-progress-bar' ); ?></strong> |
| 85 | <p><?php esc_html_e( 'If you want to give your progress bar a tiny adornment, you can make it curvy by tweaking the Border Radius. ','catch-scroll-progress-bar' ); ?></p> |
| 86 | </li> |
| 87 | |
| 88 | <li> |
| 89 | <strong><?php esc_html_e( 'Template Condition', 'catch-scroll-progress-bar' ); ?></strong> |
| 90 | <p><?php esc_html_e( 'This is where you need to select the Template Condition for your progress bar as to where you want it to be displayed. You can choose the reading progress bar to be displayed on the front page, blog page, or posts and pages. You can also choose to display the reading bar only on posts or only on the pages of your website. ','catch-scroll-progress-bar' ); ?></p> |
| 91 | </li> |
| 92 | |
| 93 | <li> |
| 94 | <strong><?php esc_html_e( 'Light Weight', 'catch-scroll-progress-bar' ); ?></strong> |
| 95 | <p><?php esc_html_e( 'Catch Scroll Progress Bar is a simple WordPress plugin to display an elegant reading bar that is extremely lightweight. It means you will not have to worry about your website getting slower because of the plugin.','catch-scroll-progress-bar' ); ?></p> |
| 96 | </li> |
| 97 | |
| 98 | <li> |
| 99 | <strong><?php esc_html_e( 'Responsive Design', 'catch-scroll-progress-bar' ); ?></strong> |
| 100 | <p><?php esc_html_e( 'Our new WordPress Progress Bar plugin comes with a responsive design, therefore, there is no need to strain about the plugin breaking your website.','catch-scroll-progress-bar' ); ?></p> |
| 101 | </li> |
| 102 | |
| 103 | <li> |
| 104 | <strong><?php esc_html_e( 'Compatible with all WordPress Themes', 'catch-scroll-progress-bar' ); ?></strong> |
| 105 | <p><?php esc_html_e( 'Gutenberg Compatibility is one of the major concerns nowadays for every plugin developer. Our new Catch Scroll Progress Bar plugin has been crafted in a way that supports all the WordPress themes. The plugin functions smoothly on any WordPress theme.','catch-scroll-progress-bar' ); ?></p> |
| 106 | </li> |
| 107 | |
| 108 | <li> |
| 109 | <strong><?php esc_html_e( 'Incredible Support', 'catch-scroll-progress-bar' ); ?></strong> |
| 110 | <p><?php esc_html_e( 'Catch Scroll Progress Bar comes with Incredible Support. Our plugin documentation answers most questions about using the plugin. If you’re still having difficulties, you can post it in our Support Forum.','catch-scroll-progress-bar'); ?></p> |
| 111 | </li> |
| 112 | |
| 113 | |
| 114 | </ul> |
| 115 | </div><!-- .content --> |
| 116 | </div><!-- content-wrapper --> |
| 117 | </div> <!-- Featured --> |
| 118 | </form><!-- duplicate-page --> |
| 119 | </div><!-- .catchp_widget_settings --> |
| 120 | <?php require_once plugin_dir_path(dirname(__FILE__) ) .'/partials/sidebar.php';?> |
| 121 | </div><!---catch-content-wrapper----> |
| 122 | <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . '/partials/footer.php'; ?> |
| 123 | </div><!-- .wrap --> |
| 124 | |
| 125 | |
| 126 | |
| 127 |