Browse Source

support for closing the homepage banner

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
5387130c31
  1. 7
      views/index.pug

7
views/index.pug

@ -7,8 +7,8 @@ block content
h1(class="h2") #{coinConfig.siteTitle}
hr
if (config.demoSite)
div(class="alert alert-primary", role="alert")
if (config.demoSite && session.hideHomepageBanner != "true")
div(class="alert alert-primary alert-dismissible", role="alert")
p
strong #{coinConfig.siteTitle}
span is
@ -25,6 +25,9 @@ block content
span
a(class="github-button", href="https://github.com/janoside/btc-rpc-explorer/fork", data-icon="octicon-repo-forked", data-size="large", data-show-count="true", aria-label="Fork janoside/btc-rpc-explorer on GitHub") Fork
a(href="/changeSetting?name=hideHomepageBanner&value=true", class="close", aria-label="Close", style="text-decoration: none;")
span(aria-hidden="true") ×
if (latestBlocks)
div(class="row mt-4")

Loading…
Cancel
Save