Initial progress on styling
This commit is contained in:
parent
c650c27825
commit
2c44a69ec3
38 changed files with 748 additions and 412 deletions
37
templates/pages/pools.html
Normal file
37
templates/pages/pools.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Pools - {{ application_name }}</title>
|
||||
{% include "fragments/common_headers.html" %}
|
||||
</head>
|
||||
<body>
|
||||
<div><a href="/">< To home</a></div>
|
||||
<main>
|
||||
<h1>Pools</h1>
|
||||
{% if pools.is_empty() %}
|
||||
<div>No pools found!</div>
|
||||
{% else %}
|
||||
<ul>
|
||||
{% for pool in pools %}
|
||||
<li>
|
||||
<a href="/pool/{{ pool.id }}"> {{ pool.name }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div>
|
||||
<ul>
|
||||
{% for i in 1..=page_count %}
|
||||
<li>
|
||||
{% if i == page as u64 %}
|
||||
<b>{{ i }}</b>
|
||||
{% else %}
|
||||
<a href="/pools/{{ i }}">{{ i }}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue