diff --git a/themes/site/css/style.css b/themes/site/css/style.css index 613f5544..16b3d10e 100755 --- a/themes/site/css/style.css +++ b/themes/site/css/style.css @@ -6818,6 +6818,46 @@ table#carrierTable tbody td { float: left; } +.block-paybox, +.block-paypal{ + background: #fff; + padding: 20px; + -moz-box-shadow: 2px 2px 5px #cccccc; + -webkit-box-shadow: 2px 2px 5px #CCC; + -ms-box-shadow: 2px 2px 5px #cccccc; + -o-box-shadow: 2px 2px 5px #cccccc; + box-shadow: 2px 2px 5px #CCC; +} +.block-paybox tr.alternate_item.even, +.block-paypal tr.alternate_item.even { + background: #F3F3F3; +} +.block-paybox tr td:last-child, +.block-paybox tr th:last-child, +.block-paypal tr td:last-child, +.block-paypal tr th:last-child{ + text-align: center; +} +.block-paybox tr td a, +.block-paypal tr td a { + text-align: center; + text-transform: none; + border: 0px; + color: #FFF; + font-size: 12px; + padding: 5px 10px; + text-decoration: none; + font-weight: normal; + /* background: #504d8b url("../img/arrow.png") right 9px no-repeat; */ + background: #504d8b; + -moz-border-radius: 20px; + -webkit-border-radius: 20px; + border-radius: 20px; + /*font-family: georgia, times new roman, serif;*/ + /*font-style: italic;*/ + font-size: 13px; +} + @keyframes slideInDown { 0% { -webkit-transform: translateY(-500px); diff --git a/themes/site/modules/paymentinfo/paymentinfo.tpl b/themes/site/modules/paymentinfo/paymentinfo.tpl index fe0e2dfa..e7d79dca 100644 --- a/themes/site/modules/paymentinfo/paymentinfo.tpl +++ b/themes/site/modules/paymentinfo/paymentinfo.tpl @@ -10,9 +10,41 @@
{/if} +

{l s='My Cards' mod='paymentinfo'}

+ +{if $paybox_accounts} +
+ + + + + + + + + {foreach from=$paybox_accounts item=paybox name=cards} + + + + + + + {/foreach} + +
{l s='Payment type' mod='paymentinfo'}{l s='Number' mod='paymentinfo'}{l s='Date validity' mod='paymentinfo'}{l s='Action' mod='paymentinfo'}
{$paybox.payment_type}{$paybox.value}{substr_replace($paybox.date,'/',-2,0)}{l s='X' mod='paymentinfo'}
+
+{else} +
+

{l s='No card register' mod='paymentinfo'}

+
+{/if} + +
+

{l s='My paypal account' mod='paymentinfo'}

{if $paypal_accounts} +
@@ -22,48 +54,20 @@ - {foreach from=$paypal_accounts item=paypal} - + {foreach from=$paypal_accounts item=paypal name=accounts} + - + {/foreach}
{l s='Name' mod='paymentinfo'}{l s='Action' mod='paymentinfo'}
{$paypal.name} {$paypal.email} {$paypal.city} {$paypal.date_add|date_format:'d/m/Y'}{l s='Delete' mod='paymentinfo'}{l s='X' mod='paymentinfo'}
+
{else}

{l s='No account register' mod='paymentinfo'}

{/if} - -
- -

{l s='My Cards' mod='paymentinfo'}

- -{if $paybox_accounts} - - - - - - - - - {foreach from=$paybox_accounts item=paybox} - - - - - - - {/foreach} - -
{l s='Payment type' mod='paymentinfo'}{l s='Number' mod='paymentinfo'}{l s='Date validity' mod='paymentinfo'}{l s='Action' mod='paymentinfo'}
{$paybox.payment_type}{$paybox.value}{substr_replace($paybox.date,'/',-2,0)}{l s='Delete' mod='paymentinfo'}
-{else} -
-

{l s='No card register' mod='paymentinfo'}

-
-{/if} \ No newline at end of file