feat: Add link to stats from home page
All checks were successful
Build Docker / Build Image (push) Successful in 32s
All checks were successful
Build Docker / Build Image (push) Successful in 32s
This commit is contained in:
parent
a400586b05
commit
9604f08c4e
7
main.py
7
main.py
@ -148,13 +148,6 @@ def stats():
|
|||||||
|
|
||||||
@app.route('/<path:path>')
|
@app.route('/<path:path>')
|
||||||
def catch_all(path):
|
def catch_all(path):
|
||||||
# # If file exists, load it
|
|
||||||
# if os.path.isfile('templates/' + path):
|
|
||||||
# return render_template(path)
|
|
||||||
|
|
||||||
# # Try with .html
|
|
||||||
# if os.path.isfile('templates/' + path + '.html'):
|
|
||||||
# return render_template(path + '.html')
|
|
||||||
return redirect('/?r='+path)
|
return redirect('/?r='+path)
|
||||||
|
|
||||||
# 404 catch all
|
# 404 catch all
|
||||||
|
@ -100,7 +100,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="card-body px-4 py-5 px-md-5">
|
<div class="card-body px-4 py-5 px-md-5">
|
||||||
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
||||||
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
||||||
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -165,7 +165,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="container py-4 py-lg-5">
|
<div class="container py-4 py-lg-5">
|
||||||
<hr>
|
<hr>
|
||||||
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
||||||
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
|
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -108,7 +108,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="card-body px-4 py-5 px-md-5">
|
<div class="card-body px-4 py-5 px-md-5">
|
||||||
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
||||||
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
||||||
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -173,7 +173,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="container py-4 py-lg-5">
|
<div class="container py-4 py-lg-5">
|
||||||
<hr>
|
<hr>
|
||||||
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
||||||
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
|
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -99,7 +99,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="card-body px-4 py-5 px-md-5">
|
<div class="card-body px-4 py-5 px-md-5">
|
||||||
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
||||||
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
||||||
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -99,7 +99,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="card-body px-4 py-5 px-md-5">
|
<div class="card-body px-4 py-5 px-md-5">
|
||||||
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
|
||||||
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
<h5 class="fw-bold card-title">Woodburn Registry</h5>
|
||||||
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -164,7 +164,7 @@ Claim a free Handshake domain">
|
|||||||
<div class="container py-4 py-lg-5">
|
<div class="container py-4 py-lg-5">
|
||||||
<hr>
|
<hr>
|
||||||
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
||||||
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
|
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user