<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=mainnet"><buttonclass="pure-button search-btn">Mainnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=testnet"><buttonclass="pure-button search-btn">Testnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=stagenet"><buttonclass="pure-button search-btn">Stagenet</button></a>
{% if 'onion' not in request.args %}<ahref="{% if 'nettype' in request.args or 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}onion=true"><buttonclass="pure-button search-btn"><imgsrc="/static/images/tor.svg"width=15px> Onion</button></a>{% endif %}
<ahref="/?page={{ p }}"class="pure-button btn {% if p == page %}current-page-btn{% endif %}">{{ p }}</a>
{% endfor %}
</div>
</div>
{% else %}
{% else %}
<p>No nodes in the database yet...</p>
<p>No nodes in the database yet...</p>
{% endif %}
{% endif %}
<br>
<divclass="center"id="filters">
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=mainnet"><buttonclass="pure-button search-btn">Mainnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=testnet"><buttonclass="pure-button search-btn">Testnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=stagenet"><buttonclass="pure-button search-btn">Stagenet</button></a>
{% if 'onion' not in request.args %}<ahref="{% if 'nettype' in request.args or 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}onion=true"><buttonclass="pure-button search-btn"><imgsrc="/static/images/tor.svg"width=15px> Onion</button></a>{% endif %}