| @@ -1,16 +1,110 @@ | ||
| 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 https://ays-pro.com/ | |
| 9 | - * @since 1.0.0 | |
| 10 | - * | |
| 11 | - * @package Chart_Builder | |
| 12 | - * @subpackage Chart_Builder/admin/partials | |
| 13 | - */ | |
| 14 | -?> | |
| 15 | - | |
| 16 | -<!-- This file should primarily consist of HTML with a little bit of PHP. --> | |
| 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 https://ays-pro.com/ | |
| 9 | + * @since 1.0.0 | |
| 10 | + * | |
| 11 | + * @package Chart_Builder | |
| 12 | + * @subpackage Chart_Builder/admin/partials | |
| 13 | + */ | |
| 14 | + | |
| 15 | +$chart_page_url = sprintf('?page=%s', 'chart-builder'); | |
| 16 | +$add_new_url = sprintf('?page=%s&action=%s', 'chart-builder', 'add'); | |
| 17 | + | |
| 18 | +?> | |
| 19 | +<div class="wrap"> | |
| 20 | + <!-- <div class="ays-chart-builder-wrapper" style="position:relative;"> | |
| 21 | + <h1 class="ays_heart_beat"><?php // echo __(esc_html(get_admin_page_title()),$this->plugin_name); ?> <i class="ays_fa ays_fa_heart_o animated"></i></h1> | |
| 22 | + </div> --> | |
| 23 | + <div class="ays-chart-heading-box"> | |
| 24 | + <div class="ays-chart-wordpress-user-manual-box"> | |
| 25 | + <a href="https://ays-pro.com/wordpress-chart-builder-plugin-user-manual" target="_blank" style="text-decoration: none;font-size: 13px;"> | |
| 26 | + <i class="ays_fa ays_fa_file_text" ></i> | |
| 27 | + <span style="margin-left: 3px;text-decoration: underline;">View Documentation</span> | |
| 28 | + </a> | |
| 29 | + </div> | |
| 30 | + </div> | |
| 31 | + <div class="ays-chart-heart-beat-main-heading ays-chart-heart-beat-main-heading-container"> | |
| 32 | + <h1 class="ays-chart-builder-wrapper ays_heart_beat"> | |
| 33 | + <?php echo esc_html( get_admin_page_title() ); ?> <i class="ays_fa ays_fa_heart_o animated"></i> | |
| 34 | + </h1> | |
| 35 | + </div> | |
| 36 | + <div class="ays-chart-faq-main"> | |
| 37 | + <h2> | |
| 38 | + <?php echo esc_html(__("How to create a chart in 4 steps with the help of the", 'chart-builder' )) . | |
| 39 | + ' <strong>'. esc_html(__("Chartify", 'chart-builder' )) .'</strong> '. | |
| 40 | + esc_html(__("plugin.", 'chart-builder' )); ?> | |
| 41 | + | |
| 42 | + </h2> | |
| 43 | + <fieldset> | |
| 44 | + <div class="ays-chart-ol-container"> | |
| 45 | + <ol> | |
| 46 | + <li> | |
| 47 | + <?php echo esc_html(__( "Go to the", 'chart-builder' )) . ' <a href="'. esc_attr($chart_page_url) .'" target="_blank">'. esc_html(__( "Chartify" , 'chart-builder' )) .'</a> ' . esc_html(__( "page and click on the", 'chart-builder' ) ). ' <a href="'. esc_attr($add_new_url) .'" target="_blank">'. esc_html(__( "Add New" , 'chart-builder' )) .'</a> ' . esc_html(__( "button for creating your first chart.", 'chart-builder' )); ?>, | |
| 48 | + </li> | |
| 49 | + <li> | |
| 50 | + <?php echo esc_html(__( "Choose your preferred chart type and click on the Next button.",'chart-builder' )); ?> | |
| 51 | + </li> | |
| 52 | + <li> | |
| 53 | + <?php echo esc_html(__( "Add the needed data for your chart (manually, from Google Sheets and from Database)", 'chart-builder' )); ?> | |
| 54 | + </li> | |
| 55 | + <li> | |
| 56 | + <?php echo esc_html(__( "Copy the", 'chart-builder' )) . ' <strong>'. esc_html__( "shortcode" , 'chart-builder' ) .'</strong> ' . esc_html(__( "of the chart and paste it into any post․", 'chart-builder' )); ?> | |
| 57 | + </li> | |
| 58 | + </ol> | |
| 59 | + </div> | |
| 60 | + <div class="ays-chart-p-container"> | |
| 61 | + <p><?php echo esc_html(__("Congrats! You have already created your first chart." , 'chart-builder')); ?></p> | |
| 62 | + </div> | |
| 63 | + </fieldset> | |
| 64 | + </div> | |
| 65 | + <br> | |
| 66 | + | |
| 67 | + <div class="ays-chart-community-wrap"> | |
| 68 | + <div class="ays-chart-community-title"> | |
| 69 | + <h4><?php echo esc_html(__( "Community", 'chart-builder' )); ?></h4> | |
| 70 | + </div> | |
| 71 | + <div class="ays-chart-community-youtube-video"> | |
| 72 | + <iframe width="560" height="315" src="https://www.youtube.com/embed/xP1M_j1haUg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" loading="lazy" allowfullscreen></iframe> | |
| 73 | + </div> | |
| 74 | + <div class="ays-chart-community-container"> | |
| 75 | + <div class="ays-chart-community-item"> | |
| 76 | + <a href="https://www.youtube.com/channel/UC-1vioc90xaKjE7stq30wmA" target="_blank" class="ays-chart-community-item-cover" > | |
| 77 | + <i class="ays-chart-community-item-img ays_fa ays_fa_youtube_play"></i> | |
| 78 | + </a> | |
| 79 | + <h3 class="ays-chart-community-item-title"><?php echo esc_html(__( "YouTube community", 'chart-builder' )); ?></h3> | |
| 80 | + <p class="ays-chart-community-item-desc"><?php echo esc_html(__("Our YouTube community guides you to step by step tutorials about our products and not only...", 'chart-builder')); ?></p> | |
| 81 | + <p class="ays-chart-community-item-desc"></p> | |
| 82 | + <div class="ays-chart-community-item-footer"> | |
| 83 | + <a href="https://www.youtube.com/channel/UC-1vioc90xaKjE7stq30wmA" target="_blank" class="button"><?php echo esc_html(__( "Subscribe", 'chart-builder' )); ?></a> | |
| 84 | + </div> | |
| 85 | + </div> | |
| 86 | + <div class="ays-chart-community-item"> | |
| 87 | + <a href="https://wordpress.org/support/plugin/chart-builder/" target="_blank" class="ays-chart-community-item-cover" > | |
| 88 | + <i class="ays-chart-community-item-img ays_fa ays_fa_wordpress"></i> | |
| 89 | + </a> | |
| 90 | + <h3 class="ays-chart-community-item-title"><?php echo esc_html(__( "Best Free support", 'chart-builder' )); ?></h3> | |
| 91 | + <p class="ays-chart-community-item-desc"><?php echo esc_html(__( "With the Free version, you get a lifetime usage for the plugin, however, you will get new updates and support for only 1 month.", 'chart-builder' )); ?></p> | |
| 92 | + <p class="ays-chart-community-item-desc"></p> | |
| 93 | + <div class="ays-chart-community-item-footer"> | |
| 94 | + <a href="https://wordpress.org/support/plugin/chart-builder/" target="_blank" class="button"><?php echo esc_html(__( "Join", 'chart-builder' )); ?></a> | |
| 95 | + </div> | |
| 96 | + </div> | |
| 97 | + <div class="ays-chart-community-item"> | |
| 98 | + <a href="https://ays-pro.com/contact" target="_blank" class="ays-chart-community-item-cover" > | |
| 99 | + <i class="ays-chart-community-item-img ays_fa ays_fa_users" aria-hidden="true"></i> | |
| 100 | + </a> | |
| 101 | + <h3 class="ays-chart-community-item-title"><?php echo esc_html(__( "Premium support", 'chart-builder' )); ?></h3> | |
| 102 | + <p class="ays-chart-community-item-desc"><?php echo esc_html(__( "Get 12 months updates and support for the Business package and lifetime updates and support for the Developer package.", 'chart-builder' )); ?></p> | |
| 103 | + <p class="ays-chart-community-item-desc"></p> | |
| 104 | + <div class="ays-chart-community-item-footer"> | |
| 105 | + <a href="https://ays-pro.com/contact" target="_blank" class="button"><?php echo esc_html(__( "Contact", 'chart-builder' )); ?></a> | |
| 106 | + </div> | |
| 107 | + </div> | |
| 108 | + </div> | |
| 109 | + </div> | |
| 110 | +</div> | |