Browse Source

minor style tweak for ajax progress bars

master
Dan Janosik 5 years ago
parent
commit
59a70d7092
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 2
      views/block-analysis.pug
  2. 2
      views/block-stats.pug
  3. 8
      views/difficulty-history.pug
  4. 2
      views/mempool-summary.pug
  5. 2
      views/mining-summary.pug

2
views/block-analysis.pug

@ -74,7 +74,7 @@ block content
div.card-body
h4.h6 Loading transactions:
span(id="progress-text")
div.progress(id="progress-bar", style="height: 7px;")
div.progress.mt-2(id="progress-bar", style="height: 7px;")
div.progress-bar(id="data-progress", role="progressbar", aria-valuenow="0", aria-valuemin="0" ,aria-valuemax="100")

2
views/block-stats.pug

@ -65,7 +65,7 @@ block content
div.card-body
h4.h6 Loading blocks:
span(id="block-progress-text")
div.progress(id="progress-bar", style="height: 7px;")
div.progress.mt-2(id="progress-bar", style="height: 7px;")
div.progress-bar(id="data-progress", role="progressbar", aria-valuenow="0", aria-valuemin="0" ,aria-valuemax="100")

8
views/difficulty-history.pug

@ -15,16 +15,16 @@ block content
ul.mb-0
li Mining difficulty adjusts automatically every #{coinConfig.difficultyAdjustmentBlockCount.toLocaleString()} blocks.
li The adjustment aims to maintain an average block-mining time of #{coinConfig.targetBlockTimeMinutes} minutes.
li A growth in the difficulty indicates that the average block-mining time during the previous adjustment epoch was less than #{coinConfig.targetBlockTimeMinutes} minutes (due to more miners joining the network and 'searching' / 'mining' for blocks).
li A drop in difficulty indicates miners have left the network so finding each block is adjusted to be 'easier' for the smaller number remaining.
li The difficulty 'value' is a multiple of the difficulty of finding the easiest block (Block #0) - e.g. blocks in BTC mainnet epoch 308 are over 16 trillion times harder to mine than those in epoch 0.
li A growth in the difficulty indicates that the average block-mining time during the previous adjustment epoch was less than #{coinConfig.targetBlockTimeMinutes} minutes (due to more miners joining the network and searching for blocks).
li A drop in difficulty indicates miners have left the network so finding each block is adjusted to be easier for the smaller number remaining.
li The numeric Difficulty is a multiple of the difficulty of finding the easiest block (Block #0) - e.g. blocks in BTC mainnet epoch 308 are over 16 trillion times harder to mine than those in epoch 0.
div#progress-wrapper.mb-huge
div.card.shadow-sm.mb-3
div.card-body
h4.h6 Loading data:
span(id="progress-text")
div.progress(id="progress-bar", style="height: 7px;")
div.progress.mt-2(id="progress-bar", style="height: 7px;")
div.progress-bar(id="data-progress", role="progressbar", aria-valuenow="0", aria-valuemin="0" ,aria-valuemax="100")

2
views/mempool-summary.pug

@ -12,7 +12,7 @@ block content
div.card-body
h4.h6 Loading mempool transactions:
span(id="progress-text")
div.progress(id="progress-bar", style="height: 7px;")
div.progress.mt-2(id="progress-bar", style="height: 7px;")
div.progress-bar(id="data-progress", role="progressbar", aria-valuenow="0", aria-valuemin="0" ,aria-valuemax="100")

2
views/mining-summary.pug

@ -55,7 +55,7 @@ block content
div.card-body
h4.h6 Loading blocks:
span(id="block-progress-text")
div.progress(id="progress-bar", style="height: 7px;")
div.progress.mt-2(id="progress-bar", style="height: 7px;")
div.progress-bar(id="data-progress", role="progressbar", aria-valuenow="0", aria-valuemin="0" ,aria-valuemax="100")

Loading…
Cancel
Save