Browse Source

finished css and mobile support for explorer

pull/1/head
dan_s 2 years ago
parent
commit
04f39a1c2d
  1. 7
      update.sh
  2. 357
      var/www/dragonx.is/explorer.css
  3. 2
      var/www/dragonx.is/index.html
  4. 4
      var/www/dragonx.is/style.css
  5. 36
      var/www/explorer.dragonx.is/bin/update_blocks_redis.pl
  6. 2
      var/www/explorer.dragonx.is/block/template.html
  7. 2
      var/www/explorer.dragonx.is/blocks/template.html
  8. 2
      var/www/explorer.dragonx.is/index-1.html
  9. 2
      var/www/explorer.dragonx.is/index.html
  10. 2
      var/www/explorer.dragonx.is/template.html
  11. 184
      var/www/explorer.dragonx.is/tx/template.html

7
update.sh

@ -3,12 +3,11 @@
DOMAIN=${SIONA_DOMAIN}
DIR="/var/www/$DOMAIN"
perl $DIR/bin/update.pl > $DIR/index-1.html
cat $DIR/index-1.html > $DIR/index.html
cd $DIR && ./update_api.sh
cd $DIR && ./update_explorer_data.sh
# Anonset
# cd $DIR && anonset=$(curl -s "https://$DOMAIN/api/getchaintxstats.json" | jq -r '.shielded_pool_size') && sed -i "s|<span class='anonset'>.*</span>|<span class='anonset'> $anonset </span>|g" template.html
perl $DIR/bin/update.pl > $DIR/index-1.html
cat $DIR/index-1.html > $DIR/index.html

357
var/www/dragonx.is/explorer.css

@ -783,7 +783,7 @@ span {
font-weight: 400;
color: var(--text-color-main);
background-color: var(--item-bg-dark);
margin-top: 1vh;
margin-top: 2vh;
font-size: 1.75vh;
}
@ -1317,4 +1317,359 @@ span {
}
}
/* ---------- BLOCK INFO ---------- */
.tx-info-bar {
display: flexbox;
justify-content: left;
align-items: center;
margin-left: auto;
margin-right: auto;
margin-bottom: 1vh;
padding-bottom: 2vh;
width: 88vh;
/* height: 80vh; */
border-radius: .5rem .5rem .5rem .5rem;
font-weight: 400;
color: var(--text-color-main);
background-color: var(--item-bg-dark);
margin-top: 1vh;
font-size: 1.75vh;
}
.tx-info-height {
display: flexbox;
position: absolute;
margin: 2vh;
margin-top: 8vh;
margin-left: 2vh;
width: 32vh;
height: 13vh;
background-color: var(--item-bg-dark-grey);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-info-height > h3 {
display: flex;
align-items: center;
justify-content: center;
padding: 0vh 6.5vh;
height: 3vh;
width: 19vh;
position: absolute;
border-radius: inherit;
margin-left: 0vh;
margin-top: 0vh;
font-size: 2vh;
background-color: var(--item-bg-grey);
}
.tx-info-height > a {
position: relative;
display: flex;
align-items: center;
justify-content: center;
margin-top: 6vh;
margin-left: auto;
margin-right: auto;
/* margin-left: 5.5vh; */
font-size: 2.75vh;
}
.tx-info-main {
display: flexbox;
position: absolute;
margin: 2vh;
margin-left: 36vh;
margin-top: 8vh;
width: 50vh;
height: 6vh;
background-color: var(--item-bg-dark-grey);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-info-main:nth-child(n+6) {
margin-top: 15vh;
}
.tx-info-main > h3{
display: flex;
justify-content: center;
align-items: center;
background-color: var(--item-bg-grey);
border-radius: inherit;
margin: 0vh;
height: 3vh;
}
.tx-info-main > span {
display: flex;
justify-content: center;
align-items: center;
margin-top: .75vh;
font-size: 1.75vh;
}
.tx-info-hash {
display: flexbox;
position: absolute;
margin: 2vh;
margin-left: 2vh;
margin-top: 22vh;
width: 84vh;
height: 6vh;
background-color: var(--item-bg-dark-grey);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-info-hash > h3 {
display: flex;
position: relative;
justify-content: center;
align-items: center;
background-color: var(--item-bg-grey);
border-radius: 1vh 0vh 1vh 0vh;
margin: 0vh;
height: 3vh;
width: 20vh;
}
.tx-info-hash > span {
display: flex;
position: relative;
justify-content: center;
text-align: center;
margin-left: 1vh;
margin-top: 0.5vh;
font-size: 2vh;
letter-spacing: .25vh;
}
.tx-info-spacing {
height: 30vh;
}
.tx-exit-btn {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
margin-left: 65vh;
margin-top: 2vh;
width: 20vh;
height: 3.25vh;
color: var(--item-bg-dark);
background-color: var(--item-bg-light);
border-radius: 4vh 4vh 4vh 4vh;
border: .25vh solid var(--item-bg-light);
font-weight: 400;
font-size: 2.25vh;
}
.tx-exit-btn:nth-child(n+2){
margin-left: 34vh;
}
.tx-exit-btn:nth-child(n+3){
margin-left: 2vh;
}
.tx-exit-btn:hover {
color: var(--text-color-main);
border: .25vh solid var(--text-color-main);
font-weight: 800;
cursor: pointer;
}
.tx-exit-btn > a {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
text-align: center;
text-decoration: none;
font-weight: inherit;
color: inherit;
}
.tx-container {
display: flexbox;
position: relative;
margin-left: 2vh;
width: 84vh;
height: 32vh;
background-color: var(--item-bg-dark-grey);
border-radius: 1.5vh 1.5vh 1.5vh 1.5vh;
}
.tx-coinbase-locktime {
display: flex;
justify-content: center;
align-items: center;
/* background-color: var(--item-bg-grey); */
padding-top: 2vh;
margin-top: 2vh;
}
.tx-coinbase {
margin-left: 0vh;
width: 35vh;
text-align: center;
background-color: var(--item-bg-light);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-coinbase > h3 , .tx-locktime > h3 {
display: flex;
align-items: center;
justify-content: center;
margin-top: 0vh;
background-color: var(--item-bg-grey);
border-radius: 1vh 1vh 0vh 0vh;
height: 4vh;
}
.tx-coinbase > span , .tx-locktime > span {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 2vh;
color: var(--item-bg-dark);
}
.tx-locktime {
margin-left: 5vh;
width: 35vh;
text-align: center;
background-color: var(--item-bg-light);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-transaction {
margin-top: 0vh;
}
.tx-tz-io {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--item-bg-grey);
border-radius: 0vh 0vh 1.5vh 1.5vh;
margin-top: 2vh;
}
.tx-t-io , .tx-z-io {
margin: 2vh 10vh;
width: 20vh;
background-color: var(--item-bg-dark-grey);
border-radius: 1vh 1vh 1vh 1vh;
}
.tx-io-info > h3 {
display: flex;
justify-content: center;
align-items: center;
}
.tx-io-info {
margin: 1vh 0vh;
display: flexbox;
text-align: center;
font-size: 1.5vh;
}
@media screen and (max-aspect-ratio: 1/1) {
.tx-info-spacing {
height: 55vh;
}
.tx-info-bar {
width: 42vh;
height: 60vh;
}
.tx-info-height {
margin-top: 16vh;
margin-left: 12vh;
width: 20vh;
}
.tx-info-height > h3 {
display: flex;
padding: 0vh;
margin: 0vh;
width: 20vh;
height: 4vh;
font-size: 2vh;
}
.tx-info-height > a {
width: 20vh;
}
.tx-info-main {
width: 40vh;
margin: 0;
margin-left: 1vh;
margin-top: 30vh;
}
.tx-info-main:nth-child(n+6) {
margin-top: 37vh;
}
.tx-info-hash {
margin-top: 44vh;
width: 40vh;
height: 8vh;
margin-left: 1vh;
}
.tx-info-hash > h3 {
border-radius: 1vh 1vh 1vh 1vh;
width: 40vh;
}
.tx-info-hash > span {
border-radius: 1vh 1vh 1vh 1vh;
width: 38vh;
letter-spacing: 0vh;
font-size: 2vh;
word-wrap: break-word;
word-break: break-all;
}
.tx-exit-btn {
display: flexbox;
width: 38vh;
margin-left: 2vh;
margin-top: 11vh;
}
.tx-exit-btn > a {
margin: 0vh;
}
.tx-exit-btn:nth-child(n+2){
width: 38vh;
margin-left: 2vh;
margin-top: 6.5vh;
}
.tx-exit-btn:nth-child(n+3){
width: 38vh;
margin: 2vh;
padding: 0vh;
}
}

2
var/www/dragonx.is/index.html

@ -13,7 +13,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem" viewBox="0 0 128 128" alt="dragonx logo">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh" viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1" d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z"/>
<path fill="#91a4b8" stroke="none" stroke-width="1" d="M73.6 99.29s-4.88-19.16-14.53-26.71c-6.62-6.23-12.13-12.79-16.48-18.74-4.36 5.95-9.87 12.54-16.48 18.74-9.62 7.55-14.53 26.71-14.53 26.71-1.85-18.88 6.09-27.79 9.98-32.03 6.06-6.59 11.88-12.85 16.87-19.41-5.93-8.88-8.85-15.3-8.85-15.3-.69-2.54-2.98-5.15-2.98-5.15 4.71-6.28-1.24-13.18-1.24-13.18C29.85 9.86 30.57 6.45 31.81 0c-1.52 17.34 3.11 30.32 10.81 41.98C50.26 30.32 54.89 17.34 53.37 0c1.24 6.48 1.96 9.87 6.45 14.22 0 0-5.95 6.89-1.24 13.18 0 0-2.29 2.62-2.98 5.15 0 0-2.92 6.42-8.82 15.3 4.99 6.56 10.83 12.85 16.87 19.41 3.86 4.24 11.8 13.15 9.95 32.03Z" />
</svg>

4
var/www/dragonx.is/style.css

@ -56,14 +56,14 @@ header {
z-index: 999;
position: fixed;
background-color: var(--bg-color);
margin-top: -20vh;
margin-top: -15vh;
width: 100vw;
height: 12vh;
box-shadow:0px 0px 10px 5px rgba(0, 0, 0, 0.122);
}
.header-space {
margin-top: 20vh;
margin-top: 15vh;
}
.header-logo{

36
var/www/explorer.dragonx.is/bin/update_blocks_redis.pl

@ -170,20 +170,26 @@ HTML
$vins-- if ($vin->[0] && $vin->[0]->{coinbase});
my $tx_data =<<DATA;
<tr>
<td style="font-size: 14px; width: 50%">Coinbase: $coinbase</td>
<td style="font-size: 14px; width: 50%">Locktime: $locktime</td>
</tr>
</table>
<table>
<tr>
<td style="font-size: 14px; width: 50%">Transparent Inputs: $vins </td>
<td style="font-size: 14px; width: 50%">Transparent Outputs: $vouts </td>
</tr>
<tr>
<td style="font-size: 14px; width: 50%">Shielded Inputs: $zins </td>
<td style="font-size: 14px; width: 50%">Shielded Outputs: $zouts </td>
</tr>
<div class="tx-transaction">
<div class="tx-container">
<div class="tx-coinbase-locktime">
<div class="tx-coinbase"><h3>Coinbase</h3><span>$coinbase</span></div>
<div class="tx-locktime"><h3>Locktime</h3><span>$locktime</span></div>
</div>
<div class="tx-tz-io">
<div class="tx-t-io">
<div class="tx-io-info"><h3>Transparent Inputs:</h3><span>$vins</span></div>
<div class="tx-io-info"><h3>Transparent Outputs:</h3><span>$vouts</span></div>
</div>
<div class="tx-z-io">
<div class="tx-io-info"><h3>Shielded Inputs:</h3><span>$zins</span></div>
<div class="tx-io-info"><h3>Shielded Outputs:</h3><span>$zouts</span></div>
</div>
</div>
</div>
</div>
DATA
$tx_template =~ s/#TX_DATA#/$tx_data/g;
@ -318,7 +324,7 @@ STUFF
</div>
</div>
</div>
HTML
$STATS->{TX_TABLE} .= $tx_table;
$txi++;

2
var/www/explorer.dragonx.is/block/template.html

@ -13,7 +13,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem"
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />

2
var/www/explorer.dragonx.is/blocks/template.html

@ -12,7 +12,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem"
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />

2
var/www/explorer.dragonx.is/index-1.html

@ -15,7 +15,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem"
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />

2
var/www/explorer.dragonx.is/index.html

@ -15,7 +15,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem"
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />

2
var/www/explorer.dragonx.is/template.html

@ -15,7 +15,7 @@
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="6rem" height="6rem"
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />

184
var/www/explorer.dragonx.is/tx/template.html

@ -1,85 +1,111 @@
<!doctype html>
<head>
<title>Home | Hush - Transact and Speak Freely</title>
<style>
body { background-color: #101010; max-width: 850px; margin: auto; font-family: 'Ubuntu Mono'; color: #b3b3b3; text-align: center }
table { width: 100%; border-collapse: collapse; margin-top: 15px }
td { border: 1px solid #1a1a1a; font-size: 16px; padding: 0.5em }
td:hover { background-color: #1a1a1a }
pre { background-color: #0d0d0d; border: 1px solid #1a1a1a; font-size: 6px; padding: 15px; color: #e6e6e6 }
details { cursor: pointer; background-color: #0d0d0d; text-align: left; margin-top: 15px; padding: 0.5em; border: 1px solid #1a1a1a; font-size: 13px; word-wrap: break-word }
summary { outline: none; padding: 0.4em }
.blockt { border: 1px solid #1a1a1a; padding: 0.15em; background-color: #0d0d0d; margin-top: 15px; text-align: left; font-size: 13px; word-wrap: break-word }
.blockt p { padding-left: 0.7em; padding-right: 0.7em }
.button:link { float: right; font-size: 11px }
.mainlinkexplorer:link { text-decoration: dotted underline; text-underline-position: under }
.mainlinkexplorer:hover { text-decoration: none; color: #595959 }
.links { margin: 15px; font-size: 13px }
a:link { color: #b3b3b3; text-decoration: none }
a:visited { color: #b3b3b3 }
a:hover { color: #b3b3b3 }
* { scrollbar-width: thin; scrollbar-color: #333333 #101010 }
::-webkit-scrollbar { width: 6px }
::-webkit-scrollbar-thumb { background: #333333 }
@font-face { font-family: 'Ubuntu Mono'; src: url('../../UbuntuMono.ttf') format('truetype') }
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../../dragonx.is/style.css">
<title>Explorer | DragonX</title>
</head>
<body>
<h2>Hush - Speak and Transact Freely</h2>
<h3>Private Cryptocurrency and Messenger using Zero Knowledge Mathematics</h3>
<pre>
&&&&
&&&& &&&&&& &&&&
&&&&&& &&&&&& &&&&&&
&&& &&&&&& &&&& &&&&&& &&&
&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& && &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&& &&&&&
&&&&& &&&& && &&&&&& &&&&&
&&&&& &&&&&& &&&&&
&&&&& &&&& &&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&& &&&&&
&&&&& &&&&&& &&&&&& &&&&&
&&& &&&&&& && && &&&&&& &&&
&&&&&& &&&&&& &&&&&&
&&&& &&&&&& &&&&
&&&&&&
&&&& <a href="http://jlqhwhak65kokg3pdjp3ufy6almf5spnhsfnugtjsc4z7wtapgozxyad.onion" class="button">.onion</a>
</pre>
<table>
<tr>
<td><a href="https://hush.land">Why Hush</a></td>
<td><a href="https://hush.land/hushchat.html">HushChat</a></td>
<td><a href="https://hushpool.is">HushPool</a></td>
<td><a href="https://git.hush.is/onryo/hush-box">HushBox</a></td>
</tr>
<tr>
<td><a href="https://explorer.hush.land">Explorer</a></td>
<td><a href="https://git.hush.is/hush">Gitea</a></td>
<td><a href="https://hush.land/faq.html">F.A.Q</a></td>
<td><a href="https://hush.land/team.html">Team</a></td>
</tr>
</table>
<table>
<tr><td style="font-size: 14px"><a href="/block/#BLOCKHEIGHT#" class="mainlinkexplorer">Block Height: #BLOCKHEIGHT#</a></td></tr>
<tr><td style="font-size: 14px"><a href="/block/#BLOCKHASH#" class="mainlinkexplorer">Block Hash: #BLOCKHASH#</a></td></tr>
<tr><td style="font-size: 14px"><a href="/tx/#TXID#" class="mainlinkexplorer">Transaction ID: #TXID#</a></td></tr>
<tr><td style="font-size: 14px">Transaction Time: #TXTIME#</td></tr>
</table>
<table>
#TX_DATA#
</table>
<div class="links">
<a href="https://hush.is/matrix"><span style="color: #262626">[</span> matrix <span style="color: #262626">]</span></a>
<a href="https://hush.is/mastodon"><span style="color: #262626">[</span> mastodon <span style="color: #262626">]</span></a>
<a href="https://videos.hush.is"><span style="color: #262626">[</span> peertube <span style="color: #262626">]</span></a>
<a href="https://t.me/hush_main"><span style="color: #262626">[</span> telegram <span style="color: #262626">]</span></a>
</div>
<header>
<input type="checkbox" id="nav-check">
<nav class="nav-bar mobile">
<div class="toggle-overlay" style="pointer-events: none;"></div>
<a href="https://dragonx.is">
<svg class="header-logo mobile" xmlns="http://www.w3.org/2000/svg" width="12vh" height="12vh"
viewBox="0 0 128 128" alt="dragonx logo">
<path fill="white" stroke="none" stroke-width="1"
d="M35.86 47.8c-2.76 3.53-5.73 6.97-8.88 10.45-4.11-3.47-8.71-4.13-8.71-4.13 17.78-6.06 2.18-11.77.22-12.65C.14 33.19 0 11.47 0 11.47c8.93 26.49 28.25 25.06 28.25 25.06.28-.17.52-.36.72-.55 1.27 2.54 3.56 6.73 6.89 11.83Zm10.31-16.46c-1.05 2.32-2.26 4.52-3.58 6.7a70.682 70.682 0 0 1-3.58-6.7c1.35-2.67 3.58-15.96 3.58-15.96s2.23 13.29 3.58 15.96Zm5.73 44.63-2.7 1.82s-.08-3.45-2.73-1.43c-.33.25-1.85 1.71-.03 3.31 0 0-3.14 3.17-3.86 6.37-.72-3.2-3.86-6.37-3.86-6.37 1.82-1.6.3-3.06-.03-3.31-2.65-2.01-2.73 1.43-2.73 1.43l-2.7-1.82c.22-2.76.08-5.18-.36-7.3 3.64-3.83 6.86-7.66 9.68-11.33 2.84 3.67 6.04 7.5 9.68 11.33-.44 2.12-.58 4.55-.36 7.3Zm15-21.86s-4.6.66-8.71 4.13c-3.11-3.47-6.12-6.92-8.88-10.45 3.34-5.1 5.62-9.29 6.89-11.83.19.19.44.39.72.55 0 0 19.32 1.43 28.25-25.06 0 0-.14 21.72-18.5 29.99-1.96.88-17.56 6.59.22 12.65Z" />
<path fill="#91a4b8" stroke="none" stroke-width="1"
d="M73.6 99.29s-4.88-19.16-14.53-26.71c-6.62-6.23-12.13-12.79-16.48-18.74-4.36 5.95-9.87 12.54-16.48 18.74-9.62 7.55-14.53 26.71-14.53 26.71-1.85-18.88 6.09-27.79 9.98-32.03 6.06-6.59 11.88-12.85 16.87-19.41-5.93-8.88-8.85-15.3-8.85-15.3-.69-2.54-2.98-5.15-2.98-5.15 4.71-6.28-1.24-13.18-1.24-13.18C29.85 9.86 30.57 6.45 31.81 0c-1.52 17.34 3.11 30.32 10.81 41.98C50.26 30.32 54.89 17.34 53.37 0c1.24 6.48 1.96 9.87 6.45 14.22 0 0-5.95 6.89-1.24 13.18 0 0-2.29 2.62-2.98 5.15 0 0-2.92 6.42-8.82 15.3 4.99 6.56 10.83 12.85 16.87 19.41 3.86 4.24 11.8 13.15 9.95 32.03Z" />
</svg>
</a>
<nav class="nav-links mobile">
<!-- https://git.hush.is/dan_s/how-to-mine-dragonx/src/branch/master/README.md -->
<a href="https://git.hush.is/dan_s/how-to-mine-dragonx/src/branch/master/README.md" class="component-button"
style="--index: 0;"><small class="">Mine DragonX</small></a>
<a href="" class="component-button" style="--index: 1;"><small
class="">Download Wallet</small></a>
<a href="https://t.me/+ISXrAVgLnXkwZmU5" class="component-button" style="--index: 2;"><small class="">Tech
Support</small></a>
<a href="https://explorer.dragonx.is" class="component-button" style="--index: 3;"><small
class="">Explorer</small></a>
<a href="https://www.youtube.com/channel/UCmGOYuRrFbPGRw5vytVgUQw" class="component-button"
style="--index: 3;"><small class="">Guides</small></a>
</nav>
<button class="mobile-menu mobile" style="background-color:rgba(0, 0, 0, 0); border-style: none;">
<label for="nav-check">
<img class="nav-mobile-icon nav-btn" src="../../img/mobile-sidebar-button.png" alt="hamburger menu">
</label>
</button>
</nav>
<nav class="nav-bar desktop">
<nav class="nav-links">
<!-- https://git.hush.is/dan_s/how-to-mine-dragonx/src/branch/master/README.md -->
<a href="https://git.hush.is/dan_s/how-to-mine-dragonx/src/branch/master/README.md"
class="component-button"><small class="">Mine DragonX</small></a>
<a href="" class="component-button"><small class="" style="text-decoration: line-through;">Download
Wallet</small></a>
<a href="https://t.me/+ISXrAVgLnXkwZmU5" class="component-button"><small class="">Tech Support</small></a>
<a href="https://explorer.dragonx.is" class="component-button" style="--index: 3;"><small
class="">Explorer</small></a>
<a href="https://www.youtube.com/channel/UCmGOYuRrFbPGRw5vytVgUQw" class="component-button"
style="--index: 3;"><small class="">Guides</small></a>
</nav>
</nav>
</header>
<div class="header-space"></div>
<div class="divider"></div>
<div class="tx-info-bar">
<div class="tx-exit-btn">
<a href="/block/#BLOCKHEIGHT#/">Block Info</a>
</div>
<div class="tx-exit-btn">
<a href="https://explorer.dragonx.is/blocks">Blocks</a>
</div>
<div class="tx-exit-btn">
<a href="https://explorer.dragonx.is">Explorer</a>
</div>
<div class="tx-info-height">
<h3>Block Height</h3>
<a href="/block/#BLOCKHEIGHT#/" class="">#BLOCKHEIGHT#</a>
</div>
<div class="tx-info-main">
<h3>TX ID</h3>
<span class="">#TXID#</span>
</div>
<div class="tx-info-main">
<h3>TX Time</h3>
<span class="">#TXTIME#</span>
</div>
<div class="tx-info-hash">
<h3>Block Hash</h3>
<span class=""> <a href="/block/#BLOCKHASH#">000007e6c32d1bf63458cfce11cb4fb2a62b31bb59e1470636c327a0855a69f7</a></span>
</div>
<div class="tx-info-spacing"></div>
#TX_DATA#
<!-- <div class="tx-transaction">
<div class="tx-container">
<div class="tx-coinbase-locktime">
<div class="tx-coinbase"><h3>Coinbase</h3><span>$coinbase</span></div>
<div class="tx-locktime"><h3>Locktime</h3><span>$locktime</span></div>
</div>
<div class="tx-tz-io">
<div class="tx-t-io">
<div class="tx-io-info"><h3>Transparent Inputs:</h3><span>$vins</span></div>
<div class="tx-io-info"><h3>Transparent Outputs:</h3><span>$vouts</span></div>
</div>
<div class="tx-z-io">
<div class="tx-io-info"><h3>Shielded Inputs:</h3><span>$zins</span></div>
<div class="tx-io-info"><h3>Shielded Outputs:</h3><span>$zouts</span></div>
</div>
</div>
</div>
</div> -->
</div>
</body>
</html>

Loading…
Cancel
Save