update peers menu template

This commit is contained in:
glyph 2021-11-12 10:54:32 +02:00
parent 0514cb6a38
commit c3b9ffef0e
1 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,13 @@
<!-- SCUTTLEBUTT PEERS -->
<div class="card center">
<div class="card-container">
<!-- BUTTONS -->
<div id="buttons">
<a id="friends" class="button button-primary center" href="/scuttlebutt/friends" title="List Friends">Friends</a>
<a id="follows" class="button button-primary center" href="/scuttlebutt/follows" title="List Follows">Follows</a>
<a id="followers" class="button button-primary center" href="/scuttlebutt/followers" title="List Followers">Followers</a>
<a id="blocks" class="button button-primary center" href="/scuttlebutt/blocks" title="List Blocks">Blocks</a>
</div>
<!-- FLASH MESSAGE -->
<!-- check for flash message and display accordingly -->
{%- if flash_msg and flash_name == "success" %}
@ -12,10 +19,6 @@
<!-- display error message -->
<div class="center-text flash-message font-failure" style="padding-left: 5px;">{{ flash_msg }}.</div>
{%- endif %}
<!-- share ux information with the user if JS is disabled -->
<noscript>
<p class="center-text flash-message">This website will be unresponsive while the device shuts down or reboots.</p>
</noscript>
</div>
</div>
{%- endblock card -%}