doctype html html(lang="en") head meta(charset="utf-8") meta(name="csrf-token", content=csrfToken) meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no") link(rel="stylesheet", href="/css/fonts.css", integrity="sha384-XOmmu8j3C2MFUXRVGg8VWYNwlhEkSNb0rW/4e7bi3F56S6PejEmBUQDGZofQyjbL") link(rel="stylesheet", href="/css/highlight.min.css", integrity="sha384-zhIsEafzyQWHSoMCQ4BfT8ZlRXQyIFwAHAJn32PNdsb8n6tVysGZSLpEEIvCskw4") if (session.uiTheme && session.uiTheme == "dark") link(rel="stylesheet", href="/css/bootstrap-dark.min.css", integrity="sha384-oqee0tym2HUHJW9STPyrefrgfODvg8w9lfqk+s/IbxHhuJpoPbAbPqj8ylGM3TUK") link(rel="stylesheet", href="/css/dark-touchups.css", integrity="sha384-nUVK/u/fwyNP4THfHo2CtWSoyZaxa65KenBmn/46NaEgGD5uaUFz+N6cqgg8n5t0") else link(rel="stylesheet", href="/css/bootstrap.min.css", integrity="sha384-Jo2q7h5Bg8GPJ+O6zM58Rvi6URN9ux4TSqZ4TlNnJzRWwVmEgDrqniWV//1yqqiR") link(rel='stylesheet', href='/css/styling.css') link(rel="icon", type="image/png", href=("/img/logo/" + config.coin.toLowerCase() + ".png")) include includes/debug-overrides.pug block headContent title Explorer body.bg-dark nav.navbar.navbar-expand-lg.navbar-dark.bg-dark div.container a.navbar-brand(href="/") span if (coinConfig.logoUrl) img.header-image(src=coinConfig.logoUrl, alt="logo") span #{coinConfig.siteTitle} button.navbar-toggler.navbar-toggler-right(type="button", data-toggle="collapse", data-target="#navbarNav", aria-label="collapse navigation") span.navbar-toggler-icon div.collapse.navbar-collapse(id="navbarNav") if (rpcClient) ul.navbar-nav.mr-auto if (false) li.nav-item a.nav-link(href="/about") span About if (global.activeBlockchain != "main") - var chainName = global.activeBlockchain == "test" ? "testnet" : global.activeBlockchain li.nav-item a.nav-link.text-warning(title=`Current node's chain: ${global.activeBlockchain}` data-toggle="tooltip") [#{chainName}] if (config.siteTools) li.nav-item.dropdown a.nav-link.dropdown-toggle(href="javascript:void(0)", role="button", data-toggle="dropdown", aria-haspopup="true", aria-expanded="false") span Tools div.dropdown-menu.shadow(aria-label="Tools Items") each itemIndex in config.site.toolsDropdownIndexList - var item = config.siteTools[itemIndex]; a.dropdown-item(href=item.url) i(class=item.fontawesome, style="width: 20px; margin-right: 10px;") span #{item.name} if (config.site.header.dropdowns) each dropdown, ddIndex in config.site.header.dropdowns li.nav-item.dropdown a.nav-link.dropdown-toggle(href="javascript:void(0)", role="button", data-toggle="dropdown", aria-haspopup="true", aria-expanded="false") span #{dropdown.title} div.dropdown-menu.shadow(aria-label=(dropdown.title + " Items")) each dropdownLink in dropdown.links a.dropdown-item(href=dropdownLink.url) if (dropdownLink.imgUrl) img(src=dropdownLink.imgUrl, style="width: 24px; height: 24px; margin-right: 8px;", alt=dropdownLink.name) span #{dropdownLink.name} form.form-inline.mr-3(method="post", action="/search") input(type="hidden", name="_csrf", value=csrfToken) div.input-group.input-group-sm input.form-control.form-control-sm(type="text", name="query", placeholder="block height/hash, txid, address", value=(query)) div.input-group-append button.btn.btn-primary(type="submit") i.fas.fa-search ul.navbar-nav li.nav-item.dropdown a.nav-link.dropdown-toggle(href="javascript:void(0)", id="navbarDropdown", role="button", data-toggle="dropdown", aria-haspopup="true", aria-expanded="false") i.fas.fa-cog.mr-1 div.dropdown-menu.dropdown-menu-right.shadow(aria-labelledby="navbarDropdown") if (coinConfig.currencyUnits) span.dropdown-header Currency Units each item in coinConfig.currencyUnits if (item.type == "native" || (config.queryExchangeRates && !config.privacyMode)) a.dropdown-item(href=("/changeSetting?name=currencyFormatType&value=" + item.values[0])) each valueName in item.values if (currencyFormatType == valueName) i.fas.fa-check span #{item.name} span.dropdown-header Theme a.dropdown-item(href="/changeSetting?name=uiTheme&value=light") if (session.uiTheme == "light" || session.uiTheme == "") i.fas.fa-check span Light a.dropdown-item(href="/changeSetting?name=uiTheme&value=dark") if (session.uiTheme == "dark") i.fas.fa-check span Dark if (host && port && !homepage && config.site.header.showToolsSubheader) div.container.mb-2.pt-2.d-lg-block.d-none.border-top(id="sub-menu", style="") ul.nav each itemIndex in config.site.subHeaderToolsList - var item = config.siteTools[itemIndex]; li.nav-item a.nav-link.text-white.px-2.text-decoration-underline.mr-3(href=item.url) i.mr-1(class=item.fontawesome) span #{item.name} - var bodyBgColor = "#f8f9fa;"; if (session.uiTheme && session.uiTheme == "dark") - bodyBgColor = "#0c0c0c;"; div.pb-4.pt-3.pt-md-4(style=("background-color: " + bodyBgColor)) div.container.px-2.px-sm-3 if (pageErrors && pageErrors.length > 0) include includes/page-errors-modal.pug div.float-right div.alert.alert-danger.py-1.px-3.mb-n2.mt-n1.font-weight-bold(title=`This page encountered ${pageErrors.length.toLocaleString()} error(s). Click for details.` data-toggle="tooltip") a.text-danger(href="javascript:void(0)" data-toggle="modal" data-target="#pageErrorsModal") Errors span.badge.badge-danger.ml-2 #{pageErrors.length.toLocaleString()} if (userMessage) div.alert(class=(userMessageType ? ("alert-" + userMessageType) : "alert-warning"), role="alert") span #{userMessage} block content div(style="margin-bottom: 30px;") if (config.demoSite && !crawlerBot) include ./includes/donation-modal.pug footer.footer.border-top.border-primary.bg-dark.pt-3.pb-1.px-3.text-white(style="border-width: 5px !important;") div.container div.row div.col-md-5 dl dt Source dd a(href="https://github.com/janoside/btc-rpc-explorer") github.com/janoside/btc-rpc-explorer if (global.sourcecodeProjectMetadata) div.mt-2 a.btn.btn-primary.btn-sm.mr-3.mb-1.text-decoration-none(href="https://github.com/janoside/btc-rpc-explorer") i.fas.fa-star.mr-2 span.mr-2 Star span.badge.bg-white.text-dark #{global.sourcecodeProjectMetadata.stargazers_count} a.btn.btn-primary.btn-sm.mr-3.mb-1.text-decoration-none(href="https://github.com/janoside/btc-rpc-explorer/fork") i.fas.fa-code-branch.mr-2 span.mr-2 Fork span.badge.bg-white.text-dark #{global.sourcecodeProjectMetadata.forks_count} dt App Details dd span version: #{global.appVersion} if (sourcecodeVersion) br span commit: a(href=("https://github.com/janoside/btc-rpc-explorer/commit/" + sourcecodeVersion)) #{sourcecodeVersion} br span released: #{sourcecodeDate} span(style="font-size: 0.9em;") ( a(href="/changelog") changelog span ) if (config.demoSite) dt Public Demos dd if (coinConfig.demoSiteUrl) a(href=coinConfig.demoSiteUrl) #{coinConfig.demoSiteUrl} else a(href="https://explorer.btc21.org") https://explorer.btc21.org div.mt-2 - var demoSiteCoins = ["BTC"]; each demoSiteCoin in demoSiteCoins a.mr-2(href=coinConfigs[demoSiteCoin].demoSiteUrl, title=coinConfigs[demoSiteCoin].siteTitle) img(src=("/img/logo/" + demoSiteCoin.toLowerCase() + ".svg"), alt=demoSiteCoin.toLowerCase()) a.mr-2(href="https://lnd-admin.chaintools.io", title="LND Admin") img(src=("/img/logo/lnd-admin.png"), style="width: 32px; height: 32px;", alt="LND Admin") div.col-md-7.text-md-right dl dd button.btn.btn-primary(type="button", data-toggle="modal", data-target="#exampleModalCenter") i.fas.fa-heart.mr-2 span Support Project script(src="/js/jquery.min.js", integrity="sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh") script(src="/js/popper.min.js", integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo") script(src="/js/bootstrap.min.js", integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6") script(defer, src="/js/fontawesome.min.js", integrity="sha384-eVEQC9zshBn0rFj4+TU78eNA19HMNigMviK/PU/FFjLXqa/GKPgX58rvt5Z8PLs7") script(src="/js/highlight.min.js", integrity="sha384-xLrpH5gNLD6HMLgeDH1/p4FXigQ8T9mgNm+EKtCSXL0OJ5i1bnSi57dnwFuUMM9/") script. $(document).ready(function() { $('[data-toggle="tooltip"]').tooltip(); $('[data-toggle="popover"]').popover({html:true, container:"body"}); }); hljs.initHighlightingOnLoad(); if (config.credentials.sentryUrl && config.credentials.sentryUrl.length > 0) script(src="/js/sentry.min.js", integrity="sha384-da/Bo2Ah6Uw3mlhl6VINMblg2SyGbSnULKrukse3P5D9PTJi4np9HoKvR19D7zOL", crossorigin="anonymous") script. Sentry.init({ dsn: '#{config.credentials.sentryUrl}' }); if (config.credentials.googleAnalyticsTrackingId && config.credentials.googleAnalyticsTrackingId.trim().length > 0) script(async, src=("https://www.googletagmanager.com/gtag/js?id=" + config.credentials.googleAnalyticsTrackingId)) script. window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '#{config.credentials.googleAnalyticsTrackingId}'); block endOfBody