From 7e078c4a3251d6723aad85a87ba91c4e8b58ea5c Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Fri, 11 May 2018 13:47:20 -0400 Subject: [PATCH] style tweaks --- views/about.pug | 27 +++++++++++++-------------- views/layout.pug | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/views/about.pug b/views/about.pug index 034378c..b745a26 100644 --- a/views/about.pug +++ b/views/about.pug @@ -11,7 +11,7 @@ block content p I built this tool because I wanted to use it myself. Whatever reasons one might have for running a full node (trustlessness, technical curiosity, supporting the network, etc) it's helpful to appreciate the "fullness" of your own node. With this explorer, you can not only explore the blockchain (in the traditional sense of the term "explorer"), but also explore the functional capabilities of your own node. - span Pull requests are welcome! + p Pull requests are welcome! a(href="https://github.com/janoside/btc-rpc-explorer") github.com/janoside/btc-rpc-explorer if (env.donationAddresses) @@ -19,17 +19,16 @@ block content p If you value this tool and want to support my work on this project, please consider a small donation. Anything is appreciated! - div(class="row mb-5") - each coin, index in env.donationAddresses.coins - div(class="col text-center") - if (env.donationAddresses[coin].urlPrefix) - a(href=("bitcoin:" + env.donationAddresses["BTC"])) #{coinConfigs[coin].name} (#{coin}) - else - span #{coinConfigs[coin].name} (#{coin}) - - br - span #{env.donationAddresses[coin].address} - br - img(src=donationAddressQrCodeUrls[coin], alt=env.donationAddresses[coin].address, style="border: solid 1px #ccc;") - br + each coin, index in env.donationAddresses.coins + div(style="display: inline-block;", class="text-md-center mb-3", class=(index > 0 ? "ml-md-5" : false)) + if (env.donationAddresses[coin].urlPrefix) + a(href=("bitcoin:" + env.donationAddresses["BTC"])) #{coinConfigs[coin].name} (#{coin}) + else + span #{coinConfigs[coin].name} (#{coin}) + + br + span #{env.donationAddresses[coin].address} + br + img(src=donationAddressQrCodeUrls[coin], alt=env.donationAddresses[coin].address, style="border: solid 1px #ccc;") + br \ No newline at end of file diff --git a/views/layout.pug b/views/layout.pug index 5948024..8e0733c 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -116,7 +116,7 @@ html dd div each coin, index in env.donationAddresses.coins - div(style="display: inline-block;", class="text-center", class=(index > 0 ? "ml-3" : false)) + div(style="display: inline-block;", class="text-center mb-3", class=(index > 0 ? "ml-md-3" : false)) img(src=donationAddressQrCodeUrls[coin], alt=env.donationAddresses[coin].address, style="border: solid 1px #ccc;") br if (env.donationAddresses[coin].urlPrefix)