1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-28 14:04:38 +04:00

Added payments plugin

This commit is contained in:
memorte03
2019-12-06 22:24:55 +01:00
parent 3c50179666
commit c6e92a39fe
119 changed files with 423 additions and 8 deletions
+8 -6
View File
@@ -18,14 +18,14 @@
{% assign percentage = forloop.index | random_number %}
{% assign time_offset = forloop.index | random_number: 0, 800 %}
{% assign register_offset = forloop.index | random_number: 0, 8000000 %}
{% assign percentage_color = percentage | number_color%}
{% assign payment_type = forloop.index | 'googlewallet', 'mastercard', 'shopify', 'ebay', 'paypal', 'visa'%}
<tr>
<td class="text-center">
<div class="avatar d-block" style="background-image: url()">
<span class="avatar-status bg-green"></span>
</div>
{% include ui/avatar.html person-id=person.id status="success"%}
</td>
<td>
<div>{{ person.name }} {{ person.surname }}</div>
<div>{{ person.full_name }}</div>
<div class="small text-muted">
Registered: {{ site.time | date: "%s" | minus: register_offset | date: '%b %-d, %Y' }}
</div>
@@ -39,10 +39,12 @@
<small class="text-muted">Jun 11, 2015 - Jul 10, 2015</small>
</div>
</div>
{% include ui/progress.html value=percentage size="sm" %}
{% include ui/progress.html value=percentage size="sm" color=percentage_color %}
</td>
<td class="text-center">
<i class="payment payment-{% cycle 'visa', 'googlewallet', 'mastercard', 'shopify', 'ebay', 'paypal' %}"></i>
<i class="payment payment-{% cycle 'visa', 'googlewallet', 'mastercard', 'shopify', 'ebay', 'paypal' %}"></i>
{% include ui/payment.html payment=payment_type%}
</td>
<td>
<div class="small text-muted">Last login</div>