Added (non-functional) thread link and pagination

This commit is contained in:
Jason McBrayer 2018-04-24 12:40:33 -04:00
parent 791c1aa88c
commit 358602edde
2 changed files with 25 additions and 2 deletions

View File

@ -15,4 +15,22 @@
{% endif %} {% endif %}
<hr class="is-hidden"> <hr class="is-hidden">
{% endfor %} {% endfor %}
<nav class="pagination" role="navigation" aria-label="pagination">
<a class="pagination-previous"
title="This is the first page" disabled>Previous</a>
<a class="pagination-next">Next page</a>
<ul class="pagination-list">
<li>
<a class="pagination-link is-current" aria-label="Page 1"
aria-current="page">1</a>
</li>
<li>
<a class="pagination-link" aria-label="Goto page 2">2</a>
</li>
<li>
<a class="pagination-link" aria-label="Goto page 3">3</a>
</li>
</ul>
</nav>
{% endblock %} {% endblock %}

View File

@ -18,7 +18,9 @@
<p> <p>
<strong>{{ toot.account.display_name }}</strong> <strong>{{ toot.account.display_name }}</strong>
<small>@{{ toot.account.acct }}</small> <small>@{{ toot.account.acct }}</small>
<a href="{{ toot.url }}">
<small>{{ toot.created_at |naturaltime }}</small> <small>{{ toot.created_at |naturaltime }}</small>
</a>
{% if reblog %} {% if reblog %}
<br> <br>
Boosted by @{{ reblog_by }} Boosted by @{{ reblog_by }}
@ -77,8 +79,11 @@
</a> </a>
</div> </div>
<div class="level-right"> <div class="level-right">
<a class="level-item"> <span class="level-item">
{{ toot.visibility }} {{ toot.visibility }}
</span>
<a class="level-item" >
thread
</a> </a>
</div> </div>
</nav> </nav>