?? GreyFile — Mystic File Browser

Current path: home/webdevt/prestashop17/src/PrestaShopBundle/Resources/views/Admin/Module/Includes/



?? Go up: /home/webdevt/prestashop17/src/PrestaShopBundle/Resources/views/Admin/Module

?? Viewing: modal_addons_connect.html.twig

{#**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * 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 https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 *#}
<div id="module-modal-addons-connect" class="modal  modal-vcenter fade" role="dialog">
  <div class="modal-dialog">
    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title module-modal-title">{{ 'Connect to Addons marketplace'|trans({}, 'Admin.Modules.Feature') }}</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <div class="modal-body">
        {% if level <= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') %}
          <div class="row">
            <div class="col-md-12">
              <div class="alert alert-danger" role="alert">
                <p class="alert-text">
                  {{ errorMessage }}
                </p>
              </div>
            </div>
          </div>
        {% else %}
          <div class="row">
              <div class="col-md-12">
                  <p>
                      {{ "Link your shop to your Addons account to automatically receive important updates for the modules you purchased. Don't have an account yet?"|trans({}, 'Admin.Modules.Feature') }}
                      <a href="https://addons.prestashop.com/authentication.php" target="_blank">{{ 'Sign up now'|trans({}, 'Admin.Modules.Feature') }}</a>
                  </p>
                  <form id="addons-connect-form"
                        action="{{ path('admin_addons_login') }}"
                        method="POST"
                        data-error-message="{{ 'An error occurred while processing your request.'|trans({}, 'Admin.Notifications.Error') }}"
                  >
                  <div class="form-group">
                    <label for="module-addons-connect-email">{{ 'Email address'|trans({}, 'Admin.Global') }}</label>
                    <input name="username_addons" type="email" class="form-control" id="module-addons-connect-email" placeholder="Email">
                  </div>
                  <div class="form-group">
                    <label for="module-addons-connect-password">{{ 'Password'|trans({}, 'Admin.Global') }}</label>
                    <input name="password_addons" type="password" class="form-control" id="module-addons-connect-password" placeholder="Password">
                  </div>
                  <div class="md-checkbox md-checkbox-inline">
                    <label>
                      <input type="checkbox" name="addons_remember_me">
                      <i class="md-checkbox-control"></i>
                      {{ 'Remember me'|trans({}, 'Admin.Global') }}
                    </label>
                  </div>
                  <div class="text-center">
                    <button type="submit" class="btn btn-primary">{{ "Let's go!"|trans({}, 'Admin.Actions') }}</button>
                    <div id="addons_login_btn" class="spinner" style="display:none;"></div>
                  </div>
                </form>
                <p class="text-center py-3">
                    <a href="https://addons.prestashop.com/password.php" target="_blank">{{ 'Forgot your password?'|trans({}, 'Admin.Global') }}</a>
                </p>
              </div>
          </div>
        {% endif %}
      </div>
    </div>
  </div>
</div>
<div id="module-modal-addons-logout" class="modal  modal-vcenter fade" role="dialog">
  <div class="modal-dialog">
    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title module-modal-title">{{ 'Confirm logout'|trans({}, 'Admin.Modules.Feature') }}</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <div class="modal-body">
          <div class="row">
              <div class="col-md-12">
                  <p>
                    {{ "You are about to log out your Addons account. You might miss important updates of Addons you've bought."|trans({}, 'Admin.Modules.Notification') }}
                  </p>
              </div>
          </div>
      </div>
      <div class="modal-footer">
          <input type="button" class="btn btn-default uppercase" data-dismiss="modal" value="{{ 'Cancel'|trans({}, 'Admin.Actions') }}">
          <a class="btn btn-primary uppercase" href="{{ path('admin_addons_logout') }}" id="module-modal-addons-logout-ack">{{ 'Yes, log out'|trans({}, 'Admin.Modules.Feature') }}</a>
      </div>

    </div>
  </div>
</div>


??

??