Address page: Move QR Code to Summary table

This commit is contained in:
joeuhren
2020-11-20 17:44:51 -07:00
parent 58ff0d7f11
commit 32128b8434
4 changed files with 19 additions and 8 deletions
+1
View File
@@ -62,6 +62,7 @@ exports.initial_index_alert = "Indexing is currently incomplete, functionality i
exports.a_menu_showing = "Showing", exports.a_menu_showing = "Showing",
exports.a_menu_txs = "transactions", exports.a_menu_txs = "transactions",
exports.a_menu_all = "All", exports.a_menu_all = "All",
exports.a_qr = "QR Code",
exports.rl_received_coins = "Top 100 - Received Coins", exports.rl_received_coins = "Top 100 - Received Coins",
exports.rl_current_balance = "Top 100 - Current Balance", exports.rl_current_balance = "Top 100 - Current Balance",
+1
View File
@@ -65,6 +65,7 @@
"a_menu_showing": "Showing last", "a_menu_showing": "Showing last",
"a_menu_txs": "transactions", "a_menu_txs": "transactions",
"a_menu_all": "All", "a_menu_all": "All",
"a_qr": "QR Code",
//richlist //richlist
"rl_received_coins": "Top 100 - Received Coins", "rl_received_coins": "Top 100 - Received Coins",
+9 -2
View File
@@ -182,10 +182,17 @@ tr {
width: 150px !important; width: 150px !important;
} }
} }
.table>tbody>tr>td.addr-summary {
line-height: 7.7;
font-size: 1.3em;
font-weight: 800;
text-align: center;
}
.qrcode { .qrcode {
position: absolute; /*position: absolute;
top: 65px; top: 65px;
right: 15px; right: 15px;*/
} }
.footer-logo { .footer-logo {
+8 -6
View File
@@ -7,7 +7,6 @@ block content
- var sentParts = sent.split('.'); - var sentParts = sent.split('.');
- var received = (address.received / 100000000).toLocaleString('en',{'minimumFractionDigits':2,'maximumFractionDigits':8,'useGrouping':true}); - var received = (address.received / 100000000).toLocaleString('en',{'minimumFractionDigits':2,'maximumFractionDigits':8,'useGrouping':true});
- var receivedParts = received.split('.'); - 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 .col-xs-12.col-md-10.col-md-offset-1
.panel.panel-default.panel-address-summary .panel.panel-default.panel-address-summary
.panel-heading(style='position:relative;') .panel-heading(style='position:relative;')
@@ -29,22 +28,25 @@ block content
thead thead
tr tr
if settings.show_sent_received == true 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 address.a_id !== 'coinbase'
if settings.show_sent_received == true 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.rl_balance} (#{settings.symbol})
th #{settings.locale.a_qr}
tbody tbody
tr tr
if settings.show_sent_received == true if settings.show_sent_received == true
td #{sentParts[0]}. td.addr-summary.hidden-xs #{sentParts[0]}.
span.decimal #{sentParts[1]} span.decimal #{sentParts[1]}
if address.a_id !== 'coinbase' if address.a_id !== 'coinbase'
if settings.show_sent_received == true if settings.show_sent_received == true
td #{receivedParts[0]}. td.addr-summary.hidden-xs #{receivedParts[0]}.
span.decimal #{receivedParts[1]} span.decimal #{receivedParts[1]}
td #{balanceParts[0]}. td.addr-summary #{balanceParts[0]}.
span.decimal #{balanceParts[1]} span.decimal #{balanceParts[1]}
td.addr-summary
img.qrcode(src='/qr/' + address.a_id)
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
strong #{settings.locale.ex_latest_transactions} strong #{settings.locale.ex_latest_transactions}