| 1 |
<?php |
| 2 |
|
| 3 |
?> |
| 4 |
<div class="wrap ays_results_table"> |
| 5 |
<div class="ays-survey-heading-box"> |
| 6 |
<div class="ays-survey-wordpress-user-manual-box"> |
| 7 |
<a href="https://ays-pro.com/wordpress-survey-maker-user-manual#frag_submissions" target="_blank" style="text-decoration: none;font-size: 13px;"> |
| 8 |
<i class="ays_fa ays_fa_file_text" ></i> |
| 9 |
<span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__( "How to manage submissions", "survey-maker" ); ?></span> |
| 10 |
</a> |
| 11 |
</div> |
| 12 |
</div> |
| 13 |
<h1 class="wp-heading-inline"> |
| 14 |
<?php |
| 15 |
echo esc_html__(get_admin_page_title(),"survey-maker"); |
| 16 |
?> |
| 17 |
</h1> |
| 18 |
<?php do_action('ays_survey_sale_banner'); ?> |
| 19 |
<div class="question-action-butons"> |
| 20 |
<a href="https://ays-pro.com/wordpress/survey-maker" class="button button-primary" style="float: right;opacity: 0.5;" target="_blank"><?php echo esc_html__('Export', "survey-maker"); ?></a> |
| 21 |
</div> |
| 22 |
<div class="nav-tab-wrapper"> |
| 23 |
<a href="#tab1" class="nav-tab nav-tab-active"><?php echo esc_html__('Surveys',"survey-maker")?></a> |
| 24 |
<a href="#tab2" class="nav-tab"><?php echo esc_html__('Global Statistics',"survey-maker")?></a> |
| 25 |
<!-- <a href="#tab3" class="nav-tab"><?php echo esc_html__('Global Leaderboard',"survey-maker")?></a> --> |
| 26 |
</div> |
| 27 |
|
| 28 |
<div id="tab1" class="ays-survey-tab-content ays-survey-tab-content-active"> |
| 29 |
<div id="poststuff"> |
| 30 |
<div id="post-body" class="metabox-holder"> |
| 31 |
<div id="post-body-content"> |
| 32 |
<div class="meta-box-sortables ui-sortable"> |
| 33 |
<form method="post"> |
| 34 |
<?php |
| 35 |
$this->submissions_obj->prepare_items(); |
| 36 |
$search = esc_html__( "Search", "survey-maker" ); |
| 37 |
$this->submissions_obj->search_box($search, $this->plugin_name); |
| 38 |
$this->submissions_obj->display(); |
| 39 |
?> |
| 40 |
</form> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
|
| 47 |
<div id="tab2" class="ays-survey-tab-content"> |
| 48 |
<div class="form-group row" style="margin:0px;padding-top: 10px;"> |
| 49 |
<div class="col-sm-12 ays-pro-features-v2-main-box"> |
| 50 |
<div class="ays-pro-features-v2-big-buttons-box"> |
| 51 |
<div class="ays-pro-features-v2-video-button"></div> |
| 52 |
<a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button"> |
| 53 |
<div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div> |
| 54 |
<div class="ays-pro-features-v2-upgrade-text"> |
| 55 |
<?php echo esc_html__("Upgrade" , "survey-maker"); ?> |
| 56 |
</div> |
| 57 |
</a> |
| 58 |
</div> |
| 59 |
<div class="ays-pro-features-v2-small-buttons-box"> |
| 60 |
<div class="ays-pro-features-v2-video-button"></div> |
| 61 |
<a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button"> |
| 62 |
<div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div> |
| 63 |
<div class="ays-pro-features-v2-upgrade-text"> |
| 64 |
<?php echo esc_html__("Upgrade" , "survey-maker"); ?> |
| 65 |
</div> |
| 66 |
</a> |
| 67 |
</div> |
| 68 |
<div> |
| 69 |
<img src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL).'/images/screenshots/global-sub.png'?>" alt="Global Statistics" style="width:100%;" > |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
|
| 75 |
<div id="tab3" class="ays-survey-tab-content"> |
| 76 |
|
| 77 |
</div> |
| 78 |
|
| 79 |
<div class="ays-modal" id="export-filters"> |
| 80 |
<div class="ays-modal-content"> |
| 81 |
<div class="ays-preloader"> |
| 82 |
<img class="loader" src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/loaders/3-1.svg"> |
| 83 |
</div> |
| 84 |
<!-- Modal Header --> |
| 85 |
<div class="ays-modal-header"> |
| 86 |
<span class="ays-close">×</span> |
| 87 |
<h2><?php echo esc_html__('Export Filter', "survey-maker")?></h2> |
| 88 |
</div> |
| 89 |
|
| 90 |
<!-- Modal body --> |
| 91 |
<div class="ays-modal-body"> |
| 92 |
<form method="post" id="ays_export_filter"> |
| 93 |
<div class="filter-col"> |
| 94 |
<label for="user_id-filter"><?php echo esc_html__("Users", "survey-maker")?></label> |
| 95 |
<button type="button" class="ays_userid_clear button button-small wp-picker-default"><?php echo esc_html__("Clear", "survey-maker")?></button> |
| 96 |
<select name="user_id-select[]" id="user_id-filter" multiple="multiple"></select> |
| 97 |
</div> |
| 98 |
<hr> |
| 99 |
<div class="filter-col"> |
| 100 |
<label for="quiz_id-filter"><?php echo esc_html__("Quizzes", "survey-maker")?></label> |
| 101 |
<button type="button" class="ays_quizid_clear button button-small wp-picker-default"><?php echo esc_html__("Clear", "survey-maker")?></button> |
| 102 |
<select name="quiz_id-select[]" id="quiz_id-filter" multiple="multiple"></select> |
| 103 |
</div> |
| 104 |
<div class="filter-block"> |
| 105 |
<div class="filter-block filter-col"> |
| 106 |
<label for="start-date-filter"><?php echo esc_html__("Start Date from", "survey-maker")?></label> |
| 107 |
<input type="date" name="start-date-filter" id="start-date-filter"> |
| 108 |
</div> |
| 109 |
<div class="filter-block filter-col"> |
| 110 |
<label for="end-date-filter"><?php echo esc_html__("Start Date to", "survey-maker")?></label> |
| 111 |
<input type="date" name="end-date-filter" id="end-date-filter"> |
| 112 |
</div> |
| 113 |
</div> |
| 114 |
</form> |
| 115 |
</div> |
| 116 |
|
| 117 |
<!-- Modal footer --> |
| 118 |
<div class="ays-modal-footer"> |
| 119 |
<div class="export_results_count"> |
| 120 |
<p>Matched <span></span> results</p> |
| 121 |
</div> |
| 122 |
<span><?php echo esc_html__('Export to', "survey-maker"); ?></span> |
| 123 |
<button type="button" class="button button-primary export-action" data-type="csv"><?php echo esc_html__('CSV', "survey-maker")?></button> |
| 124 |
<button type="button" class="button button-primary export-action" data-type="xlsx"><?php echo esc_html__('XLSX', "survey-maker")?></button> |
| 125 |
<button type="button" class="button button-primary export-action" data-type="json"><?php echo esc_html__('JSON', "survey-maker")?></button> |
| 126 |
<a download="" id="downloadFile" hidden href=""></a> |
| 127 |
</div> |
| 128 |
|
| 129 |
</div> |
| 130 |
</div> |
| 131 |
</div> |
| 132 |
|
| 133 |
|