feat: further improved visuals

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-07 14:49:04 +02:00
parent 1524d12647
commit 40a5826e7a
2 changed files with 7 additions and 1 deletions

View file

@ -84,11 +84,13 @@
</div>
</div>
<div class="threadFooter">
<span>[</span>
<a class="repButton" href="@reportURL" target="_blank">Report</a>
@if (canDel)
{
<button class="delButton" onclick="@deletePost">Delete</button>
}
<span>]</span>
</div>
}

View file

@ -84,6 +84,7 @@
<div class="threadFooter">
<AuthorizeView Roles="Admin, Mod">
<Authorized>
<span>[</span>
@if (post.IsSticky)
{
<button class="statButton" onclick="@stickyMe">Unsticky</button>
@ -100,8 +101,10 @@
{
<button class="statButton" onclick="@lockMe">Lock</button>
}
<span>]</span>
</Authorized>
</AuthorizeView>
<span>[</span>
<a class="repButton" href="@reportURL" target="_blank">Report</a>
@if (canDel)
{
@ -115,6 +118,7 @@
{
<span class="openThread">@post.Comments.Count Comments</span>
}
<span>]</span>
</div>
}
</div>