fix: Display a message when no HNS.ID domains are found
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
This commit is contained in:
parent
9e1dfcf091
commit
4b0bf2fd8a
@ -271,8 +271,11 @@
|
||||
|
||||
|
||||
<h4 style="text-align: center;">Logged in with HNS.ID</h4>
|
||||
<span style="text-align: center;display: block;">Select a HNS.ID domain to log in with</span><br>
|
||||
{% if hnsid.nfts == [] %}
|
||||
<p style="text-align: center;">No HNS.ID domains found</p>
|
||||
|
||||
{% else %}
|
||||
<span style="text-align: center;display: block;">Select a HNS.ID domain to log in with</span><br>
|
||||
<div style="text-align: center;">
|
||||
<select id="nftDropdown">
|
||||
{% for nft in hnsid.nfts %}
|
||||
@ -281,6 +284,7 @@
|
||||
</select>
|
||||
<button onclick="HNSIDLoginSelect();">Login</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<script>
|
||||
function HNSIDLoginSelect() {
|
||||
var selectedNFT = document.getElementById("nftDropdown").value;
|
||||
|
Loading…
Reference in New Issue
Block a user