Browse Source
- Include "Volume (24hr)" in homepage summary - Include block output volume in blocks list (0.17.0+) - Show "%Full" in blocks lists (with fullness icon) instead of weight with progress bar - Hide "Date" column on homepage blocks list (Age+TTM) is plenty for the recent blocks) - Fix to pull UTXO set after RPC connection is established - Fix for abbreviating "month" to "mo" instead of "m" which can be confused with minutes - Tweak width of data columns on 1200 screens to avoid some wrapping of title labels - More consistently "smallify" display of units - Armor on block-content template for missing blockstats values (identified issue by looking at genesis block, added manual data for that block since RPC returns error, but armor is still probably valuable) - Tweaks to timestamps "time ago" displays in several places trying to make more consistent and user friendly - Explicit acknowledgement of "nonstandard" output typemaster
21 changed files with 541 additions and 186 deletions
After Width: | Height: | Size: 235 B |
After Width: | Height: | Size: 248 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 236 B |
@ -1,3 +1,17 @@ |
|||
- var timeAgo = moment.duration(moment.utc(new Date()).diff(moment.utc(new Date(parseInt(timeAgoTime) * 1000)))); |
|||
|
|||
span #{utils.shortenTimeDiff(timeAgo.format())} ago |
|||
if (timeAgo.asHours() < 1) |
|||
if (timeAgo.asMinutes() < 1) |
|||
span <1m |
|||
else |
|||
span #{timeAgo.minutes()}m |
|||
|
|||
else |
|||
if (timeAgo.asHours() >= 1 && timeAgo.asHours() < 24) |
|||
span #{timeAgo.hours()}h |
|||
|
|||
if (timeAgo.minutes() > 0) |
|||
span #{timeAgo.minutes()}m |
|||
|
|||
else |
|||
span #{utils.shortenTimeDiff(timeAgo.format())} |
@ -1,9 +1,13 @@ |
|||
span #{moment.utc(new Date(parseInt(timestampHuman) * 1000)).format("M/D")} |
|||
|
|||
- var yearStr = moment.utc(new Date(parseInt(timestampHuman) * 1000)).format("Y"); |
|||
- var nowYearStr = moment.utc(new Date()).format("Y"); |
|||
|
|||
if (yearStr != nowYearStr) |
|||
- var dateStr = moment.utc(new Date(parseInt(timestampHuman) * 1000)).format("Y-M-D"); |
|||
- var nowDateStr = moment.utc(new Date()).format("Y-M-D"); |
|||
|
|||
if (dateStr == nowDateStr) |
|||
else |
|||
span #{moment.utc(new Date(parseInt(timestampHuman) * 1000)).format("M/D")} |
|||
if (yearStr != nowYearStr) |
|||
span , #{yearStr} |
|||
|
|||
span |
|||
|
Loading…
Reference in new issue