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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user