Skip to content

Commit

Permalink
Merge pull request #102 from culqi/features/fix-image-loading
Browse files Browse the repository at this point in the history
feat(): fix image loading
  • Loading branch information
JoseHCalderon authored Feb 6, 2025
2 parents cbf80f1 + e2664bf commit 1165fb1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2025-02-06 - version 3.1.3
Fix: Fix spinner

2024-05-10 - version 3.1.2
Fix: PHP8 support

Expand Down
2 changes: 1 addition & 1 deletion config_es.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>culqi</name>
<displayName><![CDATA[Culqi]]></displayName>
<version><![CDATA[3.1.2]]></version>
<version><![CDATA[3.1.3]]></version>
<description><![CDATA[Con&eacute;ctate a nuestra pasarela de pagos para aumentar tus ventas.]]></description>
<author><![CDATA[Culqi]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
4 changes: 2 additions & 2 deletions culqi.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if (!defined('_PS_VERSION_'))
exit;

define('CULQI_PLUGIN_VERSION', '3.1.2');
define('CULQI_PLUGIN_VERSION', '3.1.3');

define('URLAPI_INTEG', 'https://ag-plugins.culqi.com');
define('URLAPI_PROD', 'https://ag-plugins.culqi.com');
Expand All @@ -29,7 +29,7 @@
define('URLAPI_MERCHANTSINGLE_PROD', URLAPI_PROD.'/plugins/public/get_merchant?public_key=');
define('URLAPI_WEBHOOK_PROD', URLAPI_PROD.'/plugins/public/webhook');

define('LOADER_IMG', 'https://icon-library.com/images/loading-icon-transparent-background/loading-icon-transparent-background-12.jpg');
define('LOADER_IMG', '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" width="25" height="25" style="shape-rendering: auto; display: block; background: rgba(255, 255, 255, 0);" xmlns:xlink="http://www.w3.org/1999/xlink"><g><circle stroke-dasharray="164.93361431346415 56.97787143782138" r="35" stroke-width="10" stroke="#ffffff" fill="none" cy="50" cx="50"><animateTransform keyTimes="0;1" values="0 50 50;360 50 50" dur="1s" repeatCount="indefinite" type="rotate" attributeName="transform"></animateTransform></circle><g></g></g></svg>');

/**
* Calling dependencies
Expand Down
2 changes: 1 addition & 1 deletion views/js/culqi.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ function culqi() {
const run_waitMe = (background = 'rgba(0,0,0,0.7)') => {
jQuery('body').append(`
<div id="loadingloginculqi" style="background: ${background}">
<div>Cargando <img width="14" src="${loaderImg}" /></div>
<div>Cargando <span style="display: inline-block; margin-left: 8px; margin-bottom: 2px; width: 14px; height: 14px;">${loaderImg}</span></div>
</div>`);
}

Expand Down

0 comments on commit 1165fb1

Please sign in to comment.