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

Finished users-table and payments

This commit is contained in:
memorte03
2019-12-07 00:46:56 +01:00
parent c6e92a39fe
commit 59b4cc32f1
+6 -4
View File
@@ -18,8 +18,8 @@
{% 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'%}
{% assign percentage_color = percentage | number_color%}
<tr>
<td class="text-center">
{% include ui/avatar.html person-id=person.id status="success"%}
@@ -43,8 +43,10 @@
</td>
<td class="text-center">
<i class="payment payment-{% cycle 'visa', 'googlewallet', 'mastercard', 'shopify', 'ebay', 'paypal' %}"></i>
{% include ui/payment.html payment=payment_type%}
{% capture payment %}
{%- cycle 'visa', 'googlewallet', 'mastercard', 'shopify', 'ebay', 'paypal' -%}
{% endcapture %}
{% include ui/payment.html payment=payment %}
</td>
<td>
<div class="small text-muted">Last login</div>