Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 11/27/2017
* Time: 9:46 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
global $post;
?>
<div id="thrive-ab-top-bar" class="tvd-row">
<div class="tvd-col tvd-s2 thrive-ab-logo">
<a href="<?php echo tcb_get_editor_url( $post ) ?>"><span><?php echo __( 'Thrive', 'thrive-ab-page-testing' ) ?></span> <?php echo __( 'Architect', 'thrive-ab-page-testing' ) ?>
<div class="tvd-icon-chevron-left"></div>
</a>
</div>
<div class="tvd-col tvd-s10 thrive-ab-settings">
<a href="<?php echo get_edit_post_link( $post->ID, '' ) ?>">
<div class="tvd-icon-cog"></div>
<span><?php echo __( 'Page Settings', 'thrive-ab-page-testing' ) ?></span>
</a>
<a href="javascript:void(0)" id="thrive-ab-start-test" class="click" data-fn="start_test">
<div class="tvd-icon-eye"></div>
<span><?php echo $post->post_status === 'publish' ? __( 'Set Up & Start A/B Test', 'thrive-ab-page-testing' ) : __( 'Set Up & Start A/B Test', 'thrive-ab-page-testing' ) ?></span>
</a>
</div>
</div>
<div class="clearfix">
<div class="thrive-ab-heading">
<h1><?php echo __( 'Variations', 'thrive-ab-page-testing' ) ?></h1>
<button class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-blue click" data-fn="add_new_variation"><?php echo __( 'Add new', 'thrive-ab-page-testing' ) ?></button>
<p><?php echo __( 'You can duplicate an existing variation or create a new one from scratch. You can later edit the created variations, even though the test is running.', 'thrive-ab-page-testing' ) ?></p>
<a id="thrive-ab-eq-traffic" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-dark click" data-fn="equalize_traffic" href="javascript:void(0)">
<span><?php echo __( 'Distribute traffic evenly', 'thrive-ab-page-testing' ) ?></span>
</a>
</div>
<div class="tvd-row thrive-ab-card-list" id="thrive-ab-card-list">
<div class="tvd-col tvd-l3 tvd-m6 click" data-fn="add_new_variation">
<div class="tvd-card tvd-small tvd-card-new tvd-valign-wrapper">
<div class="tvd-card-content tvd-valign tvd-center-align">
<i class="tvd-icon-plus tvd-icon-rounded tvd-icon-medium"></i>
<h4>
<?php echo __( 'Add new variation', 'thrive-ab-page-testing' ) ?>
</h4>
</div>
</div>
</div>
</div>
<div class="thrive-ab-heading thrive-ab-display-archived-container">
<a class="click thrive-ab-display-archived" data-fn="display_archived" href="javascript:void(0)">
<span><?php echo __( 'Archived Variations', 'thrive-ab-page-testing' ) ?></span>
<span class="tar-arrow"></span>
</a>
<p>
<?php echo __( 'You can un archive a variation in order to reuse it in your test.', 'thrive-ab-page-testing' ) ?>
</p>
</div>
<div class="tvd-row thrive-ab-card-list" id="thrive-ab-card-list-archived" style="display:none;">
</div>
</div>

View File

@@ -0,0 +1,39 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<h2 class="tcb-modal-title"><?php echo __( 'Apply changes: reset test data?' ) ?></h2>
<div class="row">
<div class="col col-xs-12">
<p><?php echo __( "You are about to save changes to a page in a running test. Note that major design changes will invalidate the data gathered in this test so far. For this reason, we recommend that you reset the test data to zero (the test will continue running).", 'thrive-ab-page-testing' ) ?></p>
</div>
</div>
<div class="tcb-gray">
<div class="row">
<div class="col-xs-12">
<label class="tcb-checkbox padding-bottom-10">
<input type="checkbox" id="thrive-ab-reset-stats" checked="checked">
<span><?php echo __( "Reset current test stats", 'thrive-cb' ) ?></span>
</label>
</div>
</div>
</div>
<div class="tcb-modal-footer padding-top-20 control-grid">
<button type="button" class="tcb-left tve-button text-only tcb-modal-cancel">
<?php echo __( 'Cancel', 'thrive-cb' ) ?>
</button>
<button type="button" class="tcb-right tve-button medium tcb-modal-save">
<?php echo __( 'Save variation and update test', 'thrive-cb' ) ?>
</button>
</div>

View File

@@ -0,0 +1,25 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
$icon = isset( $icon ) ? $icon : '';
$name = isset( $name ) ? $name : '';
$goal = isset( $goal ) ? $goal : '';
?>
<div class="tvd-col tvd-s4 thrive-ab-goal" data-goal="<?php echo $goal ?>">
<div class="thrive-ab-goal-card">
<div class="thrive-ab-goal-icon">
<span>
<?php echo $icon ?>
</span>
</div>
<p><?php echo $name; ?></p>
</div>
</div>

View File

@@ -0,0 +1,62 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-adv-settings">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Measure revenue when...', 'thrive-ab-page-testing' ); ?>
</div>
<select name="service" id="thrive-ab-monetary-services">
<option value=""><?php echo __( 'Select how you would like to measure revenue', 'thrive-ab-page-testing' ); ?></option>
</select>
</div>
<div class="thrive-ab-monetary-service" id="sendowl">
<p>
<?php
/* translators: */
echo sprintf( __( '%s will receive revenue data automatically from SendOwl when a purchase is made.', 'thrive-ab-page-testing' ), thrive_ab()->plugin_name() );
?>
</p>
<p>
<?php
$admin_url = add_query_arg(
array(
'page' => 'tva_dashboard',
),
network_admin_url( 'admin.php' )
);
$link = '<a target="_blank" href="' . $admin_url . '#sendowl_quick_start">' . __( 'setup steps', 'thrive-ab-page-testing' ) . '</a>';
/* translators: */
echo sprintf( __( 'Make sure you complete all the SendOwl %s in Thrive Apprentice for the integration to work.', 'thrive-ab-page-testing' ), $link );
?>
</p>
</div>
<div class="thrive-ab-monetary-service" id="visit_page">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Select one or more pages from your website, on which the user will land, and write the corresponding value of that conversion for your business. You can also create a new page and edit later.', 'thrive-ab-page-testing' ); ?>
</div>
</div>
<div id="item-forms" class="tvd-row tvd-collapse"></div>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<div class="tvd-card tvd-small tvd-card-new thrive-ab-add-new-goal tvd-valign-wrapper">
<div class="tvd-card-content tvd-valign tvd-center-align">
<i class="tvd-icon-plus tvd-icon-rounded tvd-icon-medium"></i>
<h4>
<?php echo __( 'Add new thank you page', 'thrive-ab-page-testing' ); ?>
</h4>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<p>
<?php echo __( 'Measure the number of visitors who subscribe to your website. Please make sure you add at least one Lead Generation form on each variation for the conversions to be counted.', 'thrive-ab-page-testing' ); ?>
</p>

View File

@@ -0,0 +1,38 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s2">
<span class="thrive-ab-variation-name">
<# if( test.get('type')=='monetary' ) { #>
<?php echo __( 'Thank You Page', 'thrive-ab-page-testing' ) ?>
<# } else { #>
<?php echo __( 'Goal Page', 'thrive-ab-page-testing' ) ?>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s5 page-search"></div>
<div class="tvd-col tvd-s3" <#= test.get('type')=='monetary'? '':'style="display:none;"' #>>
<label for="revenue-<#= item.cid #>" class="thrive-ab-value-label">
<?php echo __( 'Value', 'thrive-ab-page-testing' ) ?>
</label>
</div>
<div class="tvd-col tvd-s2" <#= test.get('type')=='monetary'? '':'style="display:none;"' #>>
<div class="tvd-input-field">
<input id="revenue-<#= item.cid #>" type="number" value="<#= item.get('revenue')? item.get('revenue'):0 #>" data-bind="revenue">
<label><?php echo __( '$', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
</div>

View File

@@ -0,0 +1,27 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-switch">
<label>
<span class="thrive-ab-switch">
<?php echo __( 'One page for all variations', 'thrive-ab-page-testing' ) ?>
</span>
<input id="multi-page" type="checkbox" class="change" data-fn="switcher_changed">
<span class="tvd-lever">
<i></i>
<i></i>
</span>
<span class="thrive-ab-switch thrive-ab-inactive">
<?php echo __( 'Use separate pages for variations', 'thrive-ab-page-testing' ) ?>
</span>
</label>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-adv-settings">
<div class="tvd-row">
<div class="tvd-col tvd-s12 thrive-ab-no-padding">
<?php echo __( 'Select one or more pages, from your website, on which the user will land. You can also create a new page and edit later.', 'thrive-ab-page-testing' ) ?>
</div>
</div>
<div id="item-forms" class="tvd-row tvd-collapse"></div>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<div class="tvd-card tvd-small tvd-card-new thrive-ab-add-new-goal tvd-valign-wrapper">
<div class="tvd-card-content tvd-valign tvd-center-align">
<i class="tvd-icon-plus tvd-icon-rounded tvd-icon-medium"></i>
<h4>
<?php echo __( 'Add new goal page', 'thrive-ab-page-testing' ) ?>
</h4>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-card tvd-white">
<div class="tvd-card-content">
<div class="thrive-ab-card-head tvd-row">
<div class="tvd-col tvd-s10">
<div class="thrive-ab-title-content">
<span class="thrive-ab-card-title">
<#= item.get('post_title') #>
</span>
</div>
</div>
<div class="thrive-ab-card-options tvd-col tvd-s2 thrive-ab-card-actions">
<a href="<#= item.get('preview_link') #>" target="_blank" class="tvd-tooltipped" data-tooltip="<?php echo __( 'Preview', 'thrive-ab-page-testing' ); ?>" data-position="top">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<a class="tvd-icon-trash-o click tvd-tooltipped" data-tooltip="<?php echo __( 'Permanently delete variation', 'thrive-ab-page-testing' ); ?>" data-position="top" data-fn="delete"></a>
</div>
</div>
<div class="thrive-ab-card-thumb" style="background-image: url('<#= item.get('thumb_link') #>')"></div>
<div class="thrive-ab-card-footer tvd-row">
<a class="click" data-fn="restore"><?php echo __( 'Restore Variation', 'thrive-ab-page-testing' ) ?></a>
</div>
</div>
</div>

View File

@@ -0,0 +1,50 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-card tvd-white">
<div class="tvd-card-content">
<div class="thrive-ab-card-head tvd-row">
<div class="tvd-col tvd-s9">
<div class="thrive-ab-title-content">
<span class="thrive-ab-card-title">
<#= item.get('post_title') #>
</span>
<span id="thrive-ab-control"><#= item.get('is_control') ? '[ Control ]' : '' #></span>
<a href="javascript:void(0)" class="<#= item.get('is_control') ? '' : 'tvd-icon-pencil' #> click tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation name', 'thrive-ab-page-testing' ); ?>" data-position="top" data-fn="edit_title"></a>
</div>
<div class="thrive-ab-title-editor"></div>
</div>
<div class="thrive-ab-card-options tvd-col tvd-s3 thrive-ab-card-actions">
<a class="tvd-icon-copy click tvd-tooltipped" data-tooltip="<?php echo __( 'Duplicate this variation', 'thrive-ab-page-testing' ); ?>" data-position="top" data-fn="duplicate"></a>
<a class="tvd-icon-trash-o tab-archive click tvd-tooltipped" data-tooltip="<?php echo __( 'Archive variation', 'thrive-ab-page-testing' ); ?>" data-position="top" data-fn="archive" style="<#= item.get('is_control') ? 'display:none;' : '' #>"></a>
<a class="tvd-icon-trash-o click tvd-tooltipped" data-tooltip="<?php echo __( 'Permanently delete variation', 'thrive-ab-page-testing' ); ?>" data-position="top" data-fn="delete" style="<#= item.get('is_control') ? 'display:none;' : '' #>"></a>
</div>
</div>
<div class="thrive-ab-card-thumb" style="background-image: url('<#= item.get('thumb_link') #>')">
<div>
<a href="<#= item.get('edit_link') #>" class=""><?php echo __( 'Edit Variation', 'thrive-ab-page-testing' ) ?></a>
</div>
</div>
<div class="thrive-ab-card-footer tvd-row">
<div class="tvd-col tvd-s2">
<label for="thrive-ab-card-traffic-input"><?php echo __( 'Traffic', 'thrive-ab-page-testing' ) ?></label>
</div>
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s2 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Revenue Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p><?php echo __( 'Each time a customer visits any of the pages listed below, the associated revenue is recorded', 'thrive-ab-page-testing' ); ?></p>
<div class="thrive-ap-goal-pages"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,25 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Subscription Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<div class="top-modal-pwsvg">
<?php tcb_icon('subs'); ?>
<p><?php echo __( 'A subscription to any form on your test variations is counted as a conversion', 'thrive-ab-page-testing' ); ?></p>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<span> <#= model.get( 'post_title' ) #> </span>
</div>
<div class="tvd-col tvd-s6">
<a href="<#= model.get( 'permalink' ) #>" target="_blank" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green top-conv-page">
<?php echo __( 'View Page', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<span> <#= model.get( 'post_title' ) #> </span>
</div>
<div class="tvd-col tvd-s1">
<span>$&nbsp;<#= model.get( 'revenue' ) #></span>
</div>
<div class="tvd-col tvd-s5">
<a href="<#= model.get( 'permalink' ) #>" target="_blank" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green top-conv-page">
<?php echo __( 'View Page', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Revenue Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p class="top-sendowl-p"><?php echo __( 'Conversions and revenues are collected whenever a customer purchases a product through SendOwl', 'thrive-ab-page-testing' ); ?></p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Page Visit Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p><?php echo __( 'A visit to any of the pages listed below is counted as one conversion:', 'thrive-ab-page-testing' ); ?></p>
<div class="thrive-ap-goal-pages"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,30 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p>
<#= this.data.description #>
</p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-modal-close tvd-waves-effect">
<#= this.data.btn_no_txt #>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right tvd-modal-submit">
<#= this.data.btn_yes_txt #>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/14/2017
* Time: 1:06 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p><?php echo __( 'Here you can set the conditions by which a variation will be considered the winner. When a variation is considered the winner, the remaining variations will be archived and all traffic will be sent to the winner.', 'thrive-ab-page-testing' ) ?></p>
<br>
<?php include dirname( __FILE__ ) . '/html-test-automatic-winner.php'; ?>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-submit">
<?php echo __( 'Save Settings', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,30 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p>
<#= this.data.description #>
</p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-modal-close tvd-waves-effect">
<#= this.data.btn_no_txt #>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right tvd-modal-submit">
<#= this.data.btn_yes_txt #>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,49 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/14/2017
* Time: 1:00 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<span class="tab-label"><?php echo __( 'Enable Automatic Winner Settings', 'thrive-ab-page-testing' ) ?></span>
<div class="tvd-switch">
<label class="tvd-active">
<input type="checkbox" id="auto-win-enabled" data-bind="auto_win_enabled">
<span class="tvd-lever"></span>
</label>
</div>
</div>
</div>
<div id="auto-win-settings">
<span><?php echo __( 'Here you can set the conditions by which a form will be considered the winner.', 'thrive-ab-page-testing' ) ?></span>
<div class="tvd-row tvd-gray">
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="4" id="auto_win_min_conversions" data-bind="auto_win_min_conversions"
value="<#= this.model.get('auto_win_min_conversions') #>">
<label for="auto_win_min_conversions"><?php echo __( 'Minimum conversions', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="2" id="auto_win_min_duration" data-bind="auto_win_min_duration"
value="<#= this.model.get('auto_win_min_duration') #>">
<label for="auto_win_min_duration" class=""><?php echo __( 'Minimum duration (days)', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="3" id="auto_win_chance_original" data-bind="auto_win_chance_original"
value="<#= this.model.get('auto_win_chance_original') #>">
<label for="auto_win_chance_original" class=""><?php echo __( 'Chance to beat original (%)', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,27 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<ul class="tvd-tabs">
<li class="tvd-tab">
<a href="javascript:void(0)" class="tvd-active">
<?php echo __( '1. Personalize your A/B Test', 'thrive-ab-page-testing' ) ?>
</a>
</li>
<li class="tvd-tab tvd-disabled">
<a href="javascript:void(0)">
<?php echo __( '2. Set the goal of the test', 'thrive-ab-page-testing' ) ?>
</a>
</li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,77 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-step thrive-ab-start-test">
<h3 class="tvd-modal-title"><?php echo __( 'Starting your A/B test', 'thrive-ab-page-testing' ) ?></h3>
<div class="tvd-modal-content">
<?php include dirname( __FILE__ ) . '/html-test-steps.php' ?>
<div class="thrive-ab-content">
<p><?php echo __( 'Set your test details below', 'thrive-ab-page-testing' ) ?></p>
<div class="tvd-input-field">
<input type="text" id="title" data-bind="title" value="<#= this.model.get('title') #>">
<label for="title" class=""><?php echo __( 'Split Test Name', 'thrive-ab-page-testing' ) ?></label>
</div>
<div class="tvd-input-field">
<textarea class="tvd-materialize-textarea" data-bind="notes"><#= this.model.get('notes') #></textarea>
<label for="tvd-ar-install-url" class=""><?php echo __( 'Short Description', 'thrive-ab-page-testing' ) ?></label>
</div>
<?php include dirname( __FILE__ ) . '/html-test-automatic-winner.php'; ?>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-next-step thrive-ab-next">
<?php echo __( 'Next', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>
</div>
<div class="tvd-modal-step thrive-ab-start-test thrive-ab-step-2">
<h3 class="tvd-modal-title"><?php echo __( 'Starting your A/B test', 'thrive-ab-page-testing' ) ?></h3>
<div class="tvd-modal-content">
<?php include dirname( __FILE__ ) . '/html-test-steps.php' ?>
<div class="tvd-row thrive-ab-set-goal">
<?php foreach ( Thrive_AB_Test_Manager::$types as $type ) : ?>
<?php Thrive_AB_Test_Manager::display_goal_option( $type ); ?>
<?php endforeach; ?>
</div>
<div id="thrive-ab-goal-settings"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-prev-step thrive-ab-prev">
<?php echo __( 'Back', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-submit">
<?php echo __( 'Start A/B Test', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,28 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3 class="tvd-modal-title tab-modal-title">
<?php echo __( 'Choose Winner Landing Page', 'thrive-ab-page-testing' ) ?>
</h3>
<div id="test-view"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<div class="tvd-green">
<span class="tvd-icon-check"></span>
</div>
<p><?php echo __( 'Test completed!' ) ?></p>
<div class="tab-relative">
<?php echo tcb_icon( 'winner', true, 'sidebar' ) ?>
<span><#= this.model.get('improvement') #>%</span>
<p>
<#= this.model.get('label') #>
</p>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-center">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-submit">
<?php echo __( 'Go to test report', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,39 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control')? '': ( item.get('improvement') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control')? 'N/A' : item.get('improvement')+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control')? '': ( item.get('chance_to_beat_orig') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control')? 'N/A' : item.get('chance_to_beat_orig')+'%' #>
</div>
<div class="tvd-col tvd-s1">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,23 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Content Views', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Engagements', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Engagement Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Percentage Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') == 0 ? 'N/A' : parseFloat(item.get('revenue')).toFixed(2) #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') == 0 ? 'N/A' : parseFloat(item.get('revenue_visitor')).toFixed(2) #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') == 0 ? 'N/A' : item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') == 0 ? 'N/A' : parseFloat(item.get('conversion_rate')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') == 0 ? 'N/A' : item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') == 0 ? 'N/A' : parseFloat(item.get('conversion_rate')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue per visitor', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscriptions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscription Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversion Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,45 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 11/27/2017
* Time: 3:09 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<td>
<#= model.get('post_title') #>
<a href="<#= model.get('preview_link') #>" target="_blank"><?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?></a>
</td>
<td>
<#= model.get('traffic') #>
</td>
<td>
<#= model.get('visitors') #>
</td>
<td>SALES!? WTF IS SALES?</td>
<td>
<#= model.get('revenue') #>
</td>
<td>
<#= model.get('revenue_visitor') #>
</td>
<td>COnversion RATE</td>
<# if( model.get('is_control') ) { #>
<td colspan="2" class="thrv-ab-variation-control">[ <?php echo __( 'This is the control', 'thrive-ab-page-testing' ); ?> ]</td>
<# }else{ #>
<td>
<#= model.get('improvement') #>
</td>
<td>
<#= model.get('chance_to_beat_orig') #>
<a class="tvd-tooltipped tvd-right click" href="javascript:void(0);" data-fn="stop_variation" data-tooltip="<?php echo __( 'Stop this variation', 'thrive-ab-page-testing' ); ?>" data-position="top">
<i class="tvd-icon-stop tvd-text-red" style="font-size: 16px;"></i>
</a>
</td>
<# } #>

View File

@@ -0,0 +1,100 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 11/27/2017
* Time: 11:21 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div id="thrive-ab-top-bar" class="tvd-row thrive-ab-logo-holder">
<div class="tvd-col tvd-s12 thrive-ab-logo">
<a href="<?php echo admin_url( 'admin.php?page=tab_admin_dashboard' ); ?>" class="logo-holder"></a>
</div>
</div>
<?php echo tvd_get_individual_plugin_license_message( new Thrive_AB_Product(), true ); ?>
<div class="tvd-row thrive-ab-container">
<div class="tvd-col tvd-s12">
<h1 class="thrive-ab-variation-title">
<#= model.get('title') #>
</h1>
</div>
</div>
<div class="tvd-row thrive-ab-container">
<div class="tvd-col tvd-s4 tvd-m6">
<#= model.get('notes') #>&nbsp;
</div>
<div class="tvd-col tvd-s2 tvd-m1">
<label for="tve-chart-interval-select" class="thrive-ab-interval-label">
<?php echo __( 'Graph type', 'thrive-ab-page-testing' ); ?>:
</label>
</div>
<div class="tvd-col tvd-s2 tvd-m2">
<div class="tve-chart-interval">
<div class="tvd-input-field">
<select autocomplete="off" class="change tab-graph-type" data-fn="update_chart">
<option value="conversion_rate"><?php echo __( 'Conversion rate', 'thrive-ab-page-testing' ); ?></option>
<option value="conversion"><?php echo __( 'Conversions', 'thrive-ab-page-testing' ); ?></option>
</select>
</div>
</div>
</div>
<div class="tvd-col tvd-s2 tvd-m1">
<label for="tve-chart-interval-select" class="thrive-ab-interval-label">
<?php echo __( 'Graph interval', 'thrive-ab-page-testing' ); ?>:
</label>
</div>
<div class="tvd-col tvd-s2 tvd-m2">
<div class="tve-chart-interval">
<div class="tvd-input-field">
<select autocomplete="off" class="change tab-graph-interval" data-fn="update_chart">
<option selected value="day"><?php echo __( 'Daily', 'thrive-ab-page-testing' ); ?></option>
<option value="week"><?php echo __( 'Weekly', 'thrive-ab-page-testing' ); ?></option>
<option value="month"><?php echo __( 'Monthly', 'thrive-ab-page-testing' ); ?></option>
</select>
</div>
</div>
</div>
</div>
<div class="tvd-relative tvd-row thrive-ab-container" id="thrive-ab-chart">
<div class="tvd-col tvd-s10">
<div id="tab-test-chart"></div>
</div>
<div class="tvd-col tvd-s2 thrive-ab-chart-info">
<p id="thrive-ab-chart-title">
<#= ThriveAB.test_chart.title #>
</p>
<p id="thrive-ab-chart-total-value">
<#= ThriveAB.test_chart.total_over_time #> <#= ThriveAB.test_chart.test_type_txt #>
</p>
</div>
</div>
<div id="thrive-ab-test" class="thrive-ab-container"></div>
<div class="tvd-relative tvd-row" style="display: <#= model.get('status') === 'running' ? 'block' : 'none' #>">
<div class="tvd-col tvd-s8">
<a href="<#= edit_page_link #>" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-dark tvd-waves-effect">
&laquo; <?php echo __( 'Back to Page Settings', 'thrive-ab-page-testing' ) ?></a>
</div>
<div class="tvd-col tvd-s4">
<div class="tvd-right" id="thrive-ab-stop-test">
<a class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green click" href="javascript:void(0)" data-fn="stop_test"
title="<?php echo __( 'Stop test and choose winner', 'thrive-ab-page-testing' ) ?>"><?php echo __( 'Stop test and choose winner', 'thrive-ab-page-testing' ) ?></a>
</div>
</div>
</div>
<div class="tvd-relative tvd-row" style="display: <#= model.get('status') === 'completed' ? 'block' : 'none' #>">
<div class="tvd-col tvd-s12">
<div class="tvd-right" id="thrive-ab-stop-test">
<a class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green click" href="<#= edit_page_link #>">
<?php echo __( 'Page settings', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,65 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2 tab-headline">
<span class="tab-truncate">
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
&nbsp;<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' && item.get('editor_link') ) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s2">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s2 tab-control-indicator">
<?php echo __( '[This is the Control]', 'thrive-ab-page-testing' ) ?>
</div>
</div>

View File

@@ -0,0 +1,59 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s3 tab-headline">
<span class="tab-truncate">
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
&nbsp;<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' && item.get('editor_link') ) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s2">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s3 tab-control-indicator">
<?php echo __( '[This is the Control]', 'thrive-ab-page-testing' ) ?>
</div>
</div>

View File

@@ -0,0 +1,59 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s3 tab-headline">
<span>
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
&nbsp;<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' && item.get('editor_link') ) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s3">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s2 tab-control-indicator">
<?php echo __( '[This is the Control]', 'thrive-ab-page-testing' ) ?>
</div>
</div>

View File

@@ -0,0 +1,50 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= ThriveAB.t.control #></span>
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</div>
<div class="tvd-col tvd-s2">
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100" value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>
</div>
<div class="tvd-col tvd-s1">
<?php echo __( '[This is the Control]', 'thrive-ab-page-testing' ) ?>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<span class="click" data-fn="view_conversion_goal_details">
<?php tcb_icon( 'monetary-2' ) ?><?php echo __( 'Revenue Conversion Goal', 'thrive-ab-page-testing' ); ?>
</span>

View File

@@ -0,0 +1,10 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<span class="click" data-fn="view_conversion_goal_details">
<?php tcb_icon( 'subs' ) ?><?php echo __( 'Subscription Conversion Goal', 'thrive-ab-page-testing' ); ?>
</span>

View File

@@ -0,0 +1,10 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<span class="click" data-fn="view_conversion_goal_details">
<?php tcb_icon( 'visit_gp' ) ?><?php echo __( 'Page Visit Conversion Goal', 'thrive-ab-page-testing' ); ?>
</span>

View File

@@ -0,0 +1,74 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2 tab-headline">
<span class="tab-truncate">
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
&nbsp;<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' ) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s2">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('improvement') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('chance_to_beat_orig') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('chance_to_beat_orig') #>%
<# if( table_model.get('status') === 'running' ) { #>
<a class="tvd-tooltipped tvd-right tvd-line-height click" data-fn="stop_variation" href="javascript:void(0);"
data-tooltip="<?php echo __( 'Stop this variation', 'thrive-ab-page-testing' ); ?>" data-position="top">
<i class="tvd-icon-stop tvd-text-red" style="font-size: 16px;"></i>
</a>
<# } #>
</div>
</div>

View File

@@ -0,0 +1,68 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s3 tab-headline">
<span class="tab-truncate">
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
&nbsp;<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' && item.get('editor_link')) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s2">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('improvement') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('chance_to_beat_orig') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('chance_to_beat_orig') #>%
<# if( table_model.get('status') === 'running' ) { #>
<a class="tvd-tooltipped tvd-right tvd-line-height click" data-fn="stop_variation" href="javascript:void(0);"
data-tooltip="<?php echo __( 'Stop this variation', 'thrive-ab-page-testing' ); ?>" data-position="top">
<i class="tvd-icon-stop tvd-text-red" style="font-size: 16px;"></i>
</a>
<# } #>
</div>
</div>

View File

@@ -0,0 +1,49 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/11/2017
* Time: 9:25 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-tooltipped" data-tooltip="<?php echo __( 'Manually stopped on', 'thrive-ab-page-testing' ); ?> <#= item.get('stopped_date') #>" data-position="top">
<div class="tvd-col tvd-s2 tab-headline">
<span class="tab-truncate"><#= item.get('title') #></span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</span>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('traffic') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('chance_to_beat_orig') #>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/11/2017
* Time: 9:25 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-tooltipped" data-tooltip="<?php echo __( 'Manually stopped on', 'thrive-ab-page-testing' ); ?> <#= item.get('stopped_date') #>" data-position="top">
<div class="tvd-col tvd-s3 tab-headline">
<span class="tab-truncate"><#= item.get('title') #></span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</span>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('traffic') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s2">
<#= item.get('chance_to_beat_orig') #>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/11/2017
* Time: 9:25 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-tooltipped" data-tooltip="<?php echo __( 'Manually stopped on', 'thrive-ab-page-testing' ); ?> <#= item.get('stopped_date') #>" data-position="top">
<div class="tvd-col tvd-s3 tab-headline">
<span class="tab-truncate"><#= item.get('title') #></span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</span>
</div>
<div class="tvd-col tvd-s3">
N/A
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s1">
<#= item.get('chance_to_beat_orig') #>%
</div>
</div>

View File

@@ -0,0 +1,49 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/11/2017
* Time: 9:25 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2 tab-headline">
<span class="tab-truncate"><#= item.get('title') #></span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</span>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('traffic') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('improvement') #>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('chance_to_beat_orig') #>
</div>
</div>

View File

@@ -0,0 +1,68 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s3 tab-headline">
<span class="tab-truncate">
<a class="thrive-ab-editor-link"><#= item.get('title') #></a>
<# if( table_model.get('status') === 'completed' && parseInt(item.get('is_winner')) === 1 ) { #>
<span class="tab-winner-label">(<?php echo __( 'winner', 'thrive-ab-page-testing' ); ?>)</span>
<# } #>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
<# if ( table_model.get('status') !== 'completed' && item.get('editor_link')) { #>
<a href="<#= item.get('editor_link') #>" class="top-edit-icon tvd-tooltipped" data-tooltip="<?php echo __( 'Edit variation with Architect', 'thrive-ab-page-testing' ); ?>" data-position="top"></a>
<# } #>
</span>
</div>
<div class="tvd-col tvd-s3">
<# if( table_model.get('status') === 'completed') { #>
<#= parseInt(item.get('traffic')) #>%
<# }else{ #>
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100"
value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
<# } #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('improvement') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('improvement') #>%
</div>
<div class="tvd-col tvd-s1 <#= item.get('chance_to_beat_orig') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' #>">
<#= item.get('chance_to_beat_orig') #>%
<# if( table_model.get('status') === 'running' ) { #>
<a class="tvd-tooltipped tvd-right tvd-line-height click" data-fn="stop_variation" href="javascript:void(0);"
data-tooltip="<?php echo __( 'Stop this variation', 'thrive-ab-page-testing' ); ?>" data-position="top">
<i class="tvd-icon-stop tvd-text-red" style="font-size: 16px;"></i>
</a>
<# } #>
</div>
</div>

View File

@@ -0,0 +1,60 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2 tab-headline">
<span>
<a class="thrive-ab-editor-link" href="<#= item.get('editor_link') #>"><#= item.get('title') #></a>
</span>
<span class="tab-edit-controls">
<a href="<#= item.get('preview_link') #>" target="_blank">
<?php echo tcb_icon( 'external-link', true, 'sidebar', 'thrive-ab-dashboard-icons' ); ?>
</a>
</span>
</div>
<div class="tvd-col tvd-s2">
<div class="thrive-ab-test-item-traffic tvd-row">
<div class="tvd-col tvd-s8 thrive-ab-variation-traffic-slider">
<input type="range" class="input change" min="0" max="100" data-fn="on_change" data-fn-input="on_input" value="<#= parseInt(item.get('traffic')) #>">
</div>
<div class="tvd-col tvd-s4 thrive-ab-variation-traffic-input">
<input class="thrive-ab-card-traffic-input input change" data-fn="on_change" data-fn-input="on_input" type="number" min="0" max="100" value="<#= parseInt(item.get('traffic')) #>">
</div>
</div>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') #>
</div>
<div class="tvd-col tvd-s1 thrive-ab-positive">
<#= item.get('improvement') #>
</div>
<div class="tvd-col tvd-s1 thrive-ab-negative">
<#= item.get('chance_to_beat_orig') #>
<a class="tvd-tooltipped tvd-right tvd-line-height click" data-fn="stop_variation" href="javascript:void(0);" data-tooltip="<?php echo __( 'Stop this variation', 'thrive-ab-page-testing' ); ?>" data-position="top">
<i class="tvd-icon-stop tvd-text-red" style="font-size: 16px;"></i>
</a>
</div>
</div>

View File

@@ -0,0 +1,26 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Traffic', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Sales', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue per Visitor', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversion Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
</div>
</div>
<?php include dirname( __FILE__ ) . '/table-body.php'; ?>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s3"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Traffic', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscriptions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscription Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
</div>
</div>
<?php include dirname( __FILE__ ) . '/table-body.php'; ?>

View File

@@ -0,0 +1,21 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/14/2017
* Time: 12:56 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-items"></div>
<div class="thrive-ab-test-footer">
<p><span></span><?php echo __( 'Changes occurred while a test is running can sometimes invalidate the test results.', 'thrive-ab-page-testing' ); ?></p>
<span id="thrive-ab-conversion-goals" class="click" data-fn="open_conversion_goal_modal"></span>
<span id="thrive-ab-auto-win-text"></span>
<button class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-blue tvd-waves-effect tvd-blue-text click"
data-fn="change_automatic_winner_settings"><?php echo __( 'Change', 'thrive-ab-page-testing' ) ?></button>
</div>
<div class="thrive-ab-test-stopped-items"></div>

View File

@@ -0,0 +1,26 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Traffic', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Sales', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue per Visitor', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversion Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
</div>
</div>
<?php include dirname( __FILE__ ) . '/table-body.php'; ?>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s3"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s3"><?php echo __( 'Traffic', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversion Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
</div>
</div>
<?php include dirname( __FILE__ ) . '/table-body.php'; ?>

View File

@@ -0,0 +1,13 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<input id="tcb-admin-edit-text" data-bind="value" type="text" value="<#= item.get('post_title') #>">
<label for="tcb-admin-edit-text" data-error="<?php echo sprintf( __( 'Title is required', 'thrive-cb' ) ) ?>" class="tvd-active">&nbsp;</label>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="page-search-input">
<input type="text" id="page-search-<#= item.cid #>" class="page-search" data-bind="post_title" value="<#= item.get('post_title') #>"/>
<label for="page-search-<#= item.cid #>">
<# if( item.get('type')=='monetary' ) { #>
<?php echo __( 'Search Thank You Page ', 'thrive-ab-page-testing' ) ?>
<# } else { #>
<?php echo __( 'Search Goal Page', 'thrive-ab-page-testing' ) ?>
<# } #>
</label>
</div>
<div class="page-search-options">
<a href="javascript:void(0)" class="thrive-ab-edit-page tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-primary" target="_blank" <#= item.get('post_title')? '': 'style="display:none"' #>>
<?php echo __( 'Edit Page', 'thrive-ab-page-testing' ) ?>
</a>
<a href="javascript:void(0)" class="thrive-ab-preview-page tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-primary" target="_blank" <#= item.get('post_title')? '': 'style="display:none"' #>>
<?php echo __( 'Preview', 'thrive-ab-page-testing' ) ?>
</a>
<a href="javascript:void(0)" class="thrive-ab-remove-page tvd-right tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark">
<?php echo __( 'Remove', 'thrive-ab-page-testing' ) ?>
</a>
</div>