first commit
This commit is contained in:
34
modules/mailchimppro/views/templates/admin/wizard/index.php
Normal file
34
modules/mailchimppro/views/templates/admin/wizard/index.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2018 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2018 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
32
modules/mailchimppro/views/templates/admin/wizard/step-1.tpl
Normal file
32
modules/mailchimppro/views/templates/admin/wizard/step-1.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="form-group">
|
||||
<label for="api-key" class="hidden">{l s='API key' mod='mailchimppro'}</label>
|
||||
<p id="logged-in-as-container" {if empty($apiKey) && empty($mcEmail)}class="hidden"{/if}>
|
||||
{l s='Logged in as:' mod='mailchimppro'} <b id="logged-in-as">{$mcEmail}</b>
|
||||
</p>
|
||||
<input type="hidden" class="form-control" name="api-key" id="api-key"
|
||||
placeholder="{l s='API key' mod='mailchimppro'}" required="" value="{$apiKey}">
|
||||
<a class="btn btn-default" id="oauth2-start">
|
||||
{if empty($apiKey) && empty($mcEmail)}
|
||||
Log in to Mailchimp
|
||||
{else}
|
||||
Log in as somebody else
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
31
modules/mailchimppro/views/templates/admin/wizard/step-2.tpl
Normal file
31
modules/mailchimppro/views/templates/admin/wizard/step-2.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="form-group">
|
||||
<div class="alert alert-info alert-mc" id="loading-lists-in-progress">
|
||||
{l s='Loading lists, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div id="input-container" class="hidden">
|
||||
<label for="list-select">{l s='Select list' mod='mailchimppro'}</label>
|
||||
<select class="form-control" id="list-select">
|
||||
</select>
|
||||
</div>
|
||||
<div class="spinner">
|
||||
<div class="double-bounce1"></div>
|
||||
<div class="double-bounce2"></div>
|
||||
</div>
|
||||
</div>
|
||||
87
modules/mailchimppro/views/templates/admin/wizard/step-3.tpl
Normal file
87
modules/mailchimppro/views/templates/admin/wizard/step-3.tpl
Normal file
@@ -0,0 +1,87 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="alert alert-info alert-mc" id="loading-states-in-progress">
|
||||
{l s='Loading statuses, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div id="status-inputs-container" class="hidden">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="module-mailchimpproconfig-statuses-for-pending">
|
||||
{l s='Status for pending' mod='mailchimppro'}
|
||||
</label>
|
||||
|
||||
<div class="col-lg-9">
|
||||
<select name="module-mailchimpproconfig-statuses-for-pending[]"
|
||||
id="module-mailchimpproconfig-statuses-for-pending" multiple="multiple">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="module-mailchimpproconfig-statuses-for-refunded">
|
||||
{l s='Status for refunded' mod='mailchimppro'}
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="module-mailchimpproconfig-statuses-for-refunded[]"
|
||||
id="module-mailchimpproconfig-statuses-for-refunded" multiple="multiple">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="module-mailchimpproconfig-statuses-for-cancelled">
|
||||
{l s='Status for cancelled' mod='mailchimppro'}
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="module-mailchimpproconfig-statuses-for-cancelled[]"
|
||||
id="module-mailchimpproconfig-statuses-for-cancelled" multiple="multiple">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="module-mailchimpproconfig-statuses-for-shipped">
|
||||
{l s='Status for shipped' mod='mailchimppro'}
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="module-mailchimpproconfig-statuses-for-shipped[]"
|
||||
id="module-mailchimpproconfig-statuses-for-shipped" multiple="multiple">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="module-mailchimpproconfig-statuses-for-paid">
|
||||
{l s='Status for paid' mod='mailchimppro'}
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="module-mailchimpproconfig-statuses-for-paid[]"
|
||||
id="module-mailchimpproconfig-statuses-for-paid" multiple="multiple">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="spinner">
|
||||
<div class="double-bounce1"></div>
|
||||
<div class="double-bounce2"></div>
|
||||
</div>
|
||||
33
modules/mailchimppro/views/templates/admin/wizard/step-4.tpl
Normal file
33
modules/mailchimppro/views/templates/admin/wizard/step-4.tpl
Normal file
@@ -0,0 +1,33 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="text-center">
|
||||
<div class="alert alert-info alert-mc" id="shop-sync-in-progress">
|
||||
{l s='Syncing shops, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-success alert-mc hidden" id="shop-sync-completed">
|
||||
{l s='Syncing shops completed' mod='mailchimppro'}
|
||||
</div>
|
||||
|
||||
<div class="alert alert-error hidden" id="shop-sync-error">
|
||||
{l s='Error during shop sync error' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="spinner">
|
||||
<div class="double-bounce1"></div>
|
||||
<div class="double-bounce2"></div>
|
||||
</div>
|
||||
</div>
|
||||
31
modules/mailchimppro/views/templates/admin/wizard/step-5.tpl
Normal file
31
modules/mailchimppro/views/templates/admin/wizard/step-5.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="text-center">
|
||||
<div class="alert alert-info alert-mc" id="product-sync-in-progress">
|
||||
{l s='Syncing products, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-success alert-mc hidden" id="product-sync-completed">
|
||||
{l s='The batch operation of syncing the products has been sent to the Mailchimp servers.' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-error hidden" id="product-sync-error">
|
||||
{l s='Error during product sync error' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="progress hidden">
|
||||
<div class="progress-bar" style="width:0"></div>
|
||||
</div>
|
||||
</div>
|
||||
31
modules/mailchimppro/views/templates/admin/wizard/step-6.tpl
Normal file
31
modules/mailchimppro/views/templates/admin/wizard/step-6.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="text-center">
|
||||
<div class="alert alert-info alert-mc" id="customer-sync-in-progress">
|
||||
{l s='Syncing customers, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-success alert-mc hidden" id="customer-sync-completed">
|
||||
{l s='The batch operation of syncing the customers has been sent to the Mailchimp servers.' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-error hidden" id="customer-sync-error">
|
||||
{l s='Error during customer sync' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="progress hidden">
|
||||
<div class="progress-bar" style="width:0"></div>
|
||||
</div>
|
||||
</div>
|
||||
31
modules/mailchimppro/views/templates/admin/wizard/step-7.tpl
Normal file
31
modules/mailchimppro/views/templates/admin/wizard/step-7.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="text-center">
|
||||
<div class="alert alert-info alert-mc" id="promo-code-sync-in-progress">
|
||||
{l s='Syncing promo-codes, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-success alert-mc hidden" id="promo-code-sync-completed">
|
||||
{l s='The batch operation of syncing the promo-codes has been sent to the Mailchimp servers.' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-error hidden" id="promo-code-sync-error">
|
||||
{l s='Error during promo-code sync' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="progress hidden">
|
||||
<div class="progress-bar" style="width:0"></div>
|
||||
</div>
|
||||
</div>
|
||||
31
modules/mailchimppro/views/templates/admin/wizard/step-8.tpl
Normal file
31
modules/mailchimppro/views/templates/admin/wizard/step-8.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="text-center">
|
||||
<div class="alert alert-info alert-mc" id="order-sync-in-progress">
|
||||
{l s='Syncing orders, please wait' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-success alert-mc hidden" id="order-sync-completed">
|
||||
{l s='The batch operation of syncing the orders has been sent to the Mailchimp servers. The setup is now complete' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="alert alert-error hidden" id="order-sync-error">
|
||||
{l s='Error during orders sync' mod='mailchimppro'}
|
||||
</div>
|
||||
<div class="progress hidden">
|
||||
<div class="progress-bar" style="width:0"></div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user