fix up stylesheets/static

This commit is contained in:
lza_menace 2020-10-24 01:42:09 -07:00
parent bb22147dd0
commit c34c4605af
2 changed files with 22 additions and 10 deletions

View File

@ -13,6 +13,7 @@
#footer { #footer {
padding-top: 4em; padding-top: 4em;
padding-bottom: 4em;
} }
input[type="text"] { input[type="text"] {
@ -48,3 +49,11 @@ input[type="text"] {
.glowing-red { .glowing-red {
background-color: #cd0000; background-color: #cd0000;
} }
#node_url {
margin: 0 auto;
}
.pure-table {
margin: 0 auto;
}

View File

@ -27,10 +27,11 @@
</form> </form>
</div> </div>
<div id="nodes" class="pure-u-1 center section"> <div id="nodes" class="pure-u-1 section">
<h2>Find a Node</h2> <h2 class="center">Find a Node</h2>
<br>
{% if nodes %} {% if nodes %}
<table class="pure-table pure-table-horizontal pure-table-striped center"> <table class="pure-table pure-table-horizontal pure-table-striped">
<thead> <thead>
<tr> <tr>
<th>URL</th> <th>URL</th>
@ -75,6 +76,7 @@
<p>No nodes in the database yet...</p> <p>No nodes in the database yet...</p>
{% endif %} {% endif %}
<br> <br>
<div class="center" id="filters">
<a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=mainnet"><button class="pure-button search-btn">Mainnet</button></a> <a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=mainnet"><button class="pure-button search-btn">Mainnet</button></a>
<a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=testnet"><button class="pure-button search-btn">Testnet</button></a> <a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=testnet"><button class="pure-button search-btn">Testnet</button></a>
<a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=stagenet"><button class="pure-button search-btn">Stagenet</button></a> <a href="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=stagenet"><button class="pure-button search-btn">Stagenet</button></a>
@ -83,6 +85,7 @@
<br> <br>
<a href="/"><button class="pure-button search-btn button-warning">Clear</button></a> <a href="/"><button class="pure-button search-btn button-warning">Clear</button></a>
</div> </div>
</div>
</div> </div>