diff --git a/lib/locale.js b/lib/locale.js index 49bf63d..cb048da 100644 --- a/lib/locale.js +++ b/lib/locale.js @@ -62,6 +62,7 @@ exports.initial_index_alert = "Indexing is currently incomplete, functionality i exports.a_menu_showing = "Showing", exports.a_menu_txs = "transactions", exports.a_menu_all = "All", +exports.a_qr = "QR Code", exports.rl_received_coins = "Top 100 - Received Coins", exports.rl_current_balance = "Top 100 - Current Balance", diff --git a/locale/en.json b/locale/en.json index 73a0eef..1172943 100644 --- a/locale/en.json +++ b/locale/en.json @@ -65,6 +65,7 @@ "a_menu_showing": "Showing last", "a_menu_txs": "transactions", "a_menu_all": "All", + "a_qr": "QR Code", //richlist "rl_received_coins": "Top 100 - Received Coins", diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index d7bd4d0..01f1e66 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -182,10 +182,17 @@ tr { width: 150px !important; } } +.table>tbody>tr>td.addr-summary { + line-height: 7.7; + font-size: 1.3em; + font-weight: 800; + text-align: center; +} + .qrcode { - position: absolute; + /*position: absolute; top: 65px; - right: 15px; + right: 15px;*/ } .footer-logo { diff --git a/views/address.pug b/views/address.pug index 6ca434a..2a6b7a7 100644 --- a/views/address.pug +++ b/views/address.pug @@ -7,7 +7,6 @@ block content - var sentParts = sent.split('.'); - var received = (address.received / 100000000).toLocaleString('en',{'minimumFractionDigits':2,'maximumFractionDigits':8,'useGrouping':true}); - var receivedParts = received.split('.'); - img.qrcode.pull-right.hidden-xs(src='/qr/' + address.a_id) .col-xs-12.col-md-10.col-md-offset-1 .panel.panel-default.panel-address-summary .panel-heading(style='position:relative;') @@ -29,22 +28,25 @@ block content thead tr if settings.show_sent_received == true - th #{settings.locale.total_sent} (#{settings.symbol}) + th.hidden-xs #{settings.locale.total_sent} (#{settings.symbol}) if address.a_id !== 'coinbase' if settings.show_sent_received == true - th #{settings.locale.total_received} (#{settings.symbol}) + th.hidden-xs #{settings.locale.total_received} (#{settings.symbol}) th #{settings.locale.rl_balance} (#{settings.symbol}) + th #{settings.locale.a_qr} tbody tr if settings.show_sent_received == true - td #{sentParts[0]}. + td.addr-summary.hidden-xs #{sentParts[0]}. span.decimal #{sentParts[1]} if address.a_id !== 'coinbase' if settings.show_sent_received == true - td #{receivedParts[0]}. + td.addr-summary.hidden-xs #{receivedParts[0]}. span.decimal #{receivedParts[1]} - td #{balanceParts[0]}. + td.addr-summary #{balanceParts[0]}. span.decimal #{balanceParts[1]} + td.addr-summary + img.qrcode(src='/qr/' + address.a_id) .panel.panel-default .panel-heading strong #{settings.locale.ex_latest_transactions}