From 05538f1b70447b5676bdc67808f789e3b7c3aa0e Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 14 Jun 2017 00:58:00 +0000 Subject: [PATCH] style fixes for debit and credit amounts on address page --- cron/confirmations.sh | 2 +- src/Template/Main/address.ctp | 6 +++--- webroot/css/main.css | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cron/confirmations.sh b/cron/confirmations.sh index 585160a..7ff4ad4 100755 --- a/cron/confirmations.sh +++ b/cron/confirmations.sh @@ -1,3 +1,3 @@ #!/bin/sh cd /var/www/lbry.block.ng/cron -php blockstuff.php +php -d extension=pthreads.so blockstuff.php diff --git a/src/Template/Main/address.ctp b/src/Template/Main/address.ctp index c39ecba..04f060e 100644 --- a/src/Template/Main/address.ctp +++ b/src/Template/Main/address.ctp @@ -178,8 +178,8 @@ OutputCount ?> DebitAmount > 0 && $tx->CreditAmount > 0): ?> -
+CreditAmount, 8, '.', '') ?>
-
-DebitAmount, 8, '.', '') ?>
+
+CreditAmount, 8, '.', '') ?> LBC
+
-DebitAmount, 8, '.', '') ?> LBC
DebitAmount > 0) ? '-' : '+'); ?>DebitAmount > 0) ? $tx->DebitAmount : $tx->CreditAmount), 8, '.', '') ?> LBC @@ -188,4 +188,4 @@ - \ No newline at end of file + diff --git a/webroot/css/main.css b/webroot/css/main.css index 3af417b..c3a5ccf 100644 --- a/webroot/css/main.css +++ b/webroot/css/main.css @@ -160,8 +160,9 @@ footer .content .page-time { position: absolute; right: 12px; bottom: 0px; paddi .recent-transactions h3 { font-weight: 300; margin: 0; margin-bottom: 12px } .recent-transactions { width: 1200px; margin: 48px auto 0 auto; box-shadow: 0 2px 6px rgba(0,0,0,.175); border: 1px solid rgba(0,0,0,.15); padding: 36px; cursor: default } -.tx-table td { vertical-align: top } +.tx-table td { vertical-align: top; line-height: 24px } .tx-table td.credit, .tx-table td div.credit { color: #00e676 } .tx-table td.debit, .tx-table td div.debit { color: #ff0000 } +.tx-table td div.debit { padding-top: 8px } -.clear { clear: both } \ No newline at end of file +.clear { clear: both }