Skip to content
Permalink
Browse files

Address page: Move QR Code to Summary table

  • Loading branch information
TheHolyRoger committed Dec 23, 2019
1 parent 77bd096 commit 83ef39c9a41c38016990c80c1379e4ef0941b521
Showing with 19 additions and 8 deletions.
  1. +1 −0 lib/locale.js
  2. +1 −0 locale/en.json
  3. +9 −2 public/stylesheets/style.css
  4. +8 −6 views/address.jade
@@ -59,6 +59,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",
@@ -62,6 +62,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",
@@ -152,10 +152,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 {
@@ -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}

0 comments on commit 83ef39c

Please sign in to comment.
You can’t perform that action at this time.