From f77aefd7525f970bd9e0b06e63cb0e3f4d323f9d Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Mon, 5 May 2014 14:48:04 +0200 Subject: [PATCH] [UPDATE] responsive tables in user earnings --- .../bootstrap/account/earnings/default.tpl | 196 +++++++++--------- 1 file changed, 100 insertions(+), 96 deletions(-) diff --git a/templates/bootstrap/account/earnings/default.tpl b/templates/bootstrap/account/earnings/default.tpl index dab7af0e..23dd3a37 100644 --- a/templates/bootstrap/account/earnings/default.tpl +++ b/templates/bootstrap/account/earnings/default.tpl @@ -13,24 +13,26 @@ Summary
- - - - - {foreach $SUMMARY as $type=>$total} - - {/foreach} - - - - - - {foreach $SUMMARY as $type=>$total} - - {/foreach} - - -
{$type}
All Time{$total|number_format:"8"}
+
+ + + + + {foreach $SUMMARY as $type=>$total} + + {/foreach} + + + + + + {foreach $SUMMARY as $type=>$total} + + {/foreach} + + +
{$type}
All Time{$total|number_format:"8"}
+
@@ -43,84 +45,86 @@ Sorted by Time
- - - - - - - - - - {if $GLOBAL.fees > 0} - - {/if} - - - - - - - - - - - {if $GLOBAL.fees|default:"0" > 0} - - {/if} - - - - - - - - - {if $GLOBAL.fees|default:"0" > 0} - - {/if} - - - - - - - - - {if $GLOBAL.fees|default:"0" > 0} - - {/if} - - - - - - - - - {if $GLOBAL.fees|default:"0" > 0} - - {/if} - - - - - - - - - {if $GLOBAL.fees|default:"0" > 0} - - {/if} - - - -
CreditBonusDebit APDebit MPDonationFeeTXFee
Last Hour - {$BYTIME.1HourCredit|number_format:"8"}{$BYTIME.1HourBonus|number_format:"8"}{$BYTIME.1HourDebitAP|number_format:"8"}{$BYTIME.1HourDebitMP|number_format:"8"}{$BYTIME.1HourDonation|number_format:"8"}{$BYTIME.1HourFee|number_format:"8"}{$BYTIME.1HourTXFee|number_format:"8"}
Last Day - {$BYTIME.24HourCredit|number_format:"8"}{$BYTIME.24HourBonus|number_format:"8"}{$BYTIME.24HourDebitAP|number_format:"8"}{$BYTIME.24HourDebitMP|number_format:"8"}{$BYTIME.24HourDonation|number_format:"8"}{$BYTIME.24HourFee|number_format:"8"}{$BYTIME.24HourTXFee|number_format:"8"}
Last Week - {$BYTIME.1WeekCredit|number_format:"8"}{$BYTIME.1WeekBonus|number_format:"8"}{$BYTIME.1WeekDebitAP|number_format:"8"}{$BYTIME.1WeekDebitMP|number_format:"8"}{$BYTIME.1WeekDonation|number_format:"8"}{$BYTIME.1WeekFee|number_format:"8"}{$BYTIME.1WeekTXFee|number_format:"8"}
Last Month - {$BYTIME.1MonthCredit|number_format:"8"}{$BYTIME.1MonthBonus|number_format:"8"}{$BYTIME.1MonthDebitAP|number_format:"8"}{$BYTIME.1MonthDebitMP|number_format:"8"}{$BYTIME.1MonthDonation|number_format:"8"}{$BYTIME.1MonthFee|number_format:"8"}{$BYTIME.1MonthTXFee|number_format:"8"}
Last Year - {$BYTIME.1YearCredit|number_format:"8"}{$BYTIME.1YearBonus|number_format:"8"}{$BYTIME.1YearDebitAP|number_format:"8"}{$BYTIME.1YearDebitMP|number_format:"8"}{$BYTIME.1YearDonation|number_format:"8"}{$BYTIME.1YearFee|number_format:"8"}{$BYTIME.1YearTXFee|number_format:"8"}
+
+ + + + + + + + + + {if $GLOBAL.fees > 0} + + {/if} + + + + + + + + + + + {if $GLOBAL.fees|default:"0" > 0} + + {/if} + + + + + + + + + {if $GLOBAL.fees|default:"0" > 0} + + {/if} + + + + + + + + + {if $GLOBAL.fees|default:"0" > 0} + + {/if} + + + + + + + + + {if $GLOBAL.fees|default:"0" > 0} + + {/if} + + + + + + + + + {if $GLOBAL.fees|default:"0" > 0} + + {/if} + + + +
CreditBonusDebit APDebit MPDonationFeeTXFee
Last Hour + {$BYTIME.1HourCredit|number_format:"8"}{$BYTIME.1HourBonus|number_format:"8"}{$BYTIME.1HourDebitAP|number_format:"8"}{$BYTIME.1HourDebitMP|number_format:"8"}{$BYTIME.1HourDonation|number_format:"8"}{$BYTIME.1HourFee|number_format:"8"}{$BYTIME.1HourTXFee|number_format:"8"}
Last Day + {$BYTIME.24HourCredit|number_format:"8"}{$BYTIME.24HourBonus|number_format:"8"}{$BYTIME.24HourDebitAP|number_format:"8"}{$BYTIME.24HourDebitMP|number_format:"8"}{$BYTIME.24HourDonation|number_format:"8"}{$BYTIME.24HourFee|number_format:"8"}{$BYTIME.24HourTXFee|number_format:"8"}
Last Week + {$BYTIME.1WeekCredit|number_format:"8"}{$BYTIME.1WeekBonus|number_format:"8"}{$BYTIME.1WeekDebitAP|number_format:"8"}{$BYTIME.1WeekDebitMP|number_format:"8"}{$BYTIME.1WeekDonation|number_format:"8"}{$BYTIME.1WeekFee|number_format:"8"}{$BYTIME.1WeekTXFee|number_format:"8"}
Last Month + {$BYTIME.1MonthCredit|number_format:"8"}{$BYTIME.1MonthBonus|number_format:"8"}{$BYTIME.1MonthDebitAP|number_format:"8"}{$BYTIME.1MonthDebitMP|number_format:"8"}{$BYTIME.1MonthDonation|number_format:"8"}{$BYTIME.1MonthFee|number_format:"8"}{$BYTIME.1MonthTXFee|number_format:"8"}
Last Year + {$BYTIME.1YearCredit|number_format:"8"}{$BYTIME.1YearBonus|number_format:"8"}{$BYTIME.1YearDebitAP|number_format:"8"}{$BYTIME.1YearDebitMP|number_format:"8"}{$BYTIME.1YearDonation|number_format:"8"}{$BYTIME.1YearFee|number_format:"8"}{$BYTIME.1YearTXFee|number_format:"8"}
+