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> </div>
<div class="threadFooter"> <div class="threadFooter">
<span>[</span>
<a class="repButton" href="@reportURL" target="_blank">Report</a> <a class="repButton" href="@reportURL" target="_blank">Report</a>
@if (canDel) @if (canDel)
{ {
<button class="delButton" onclick="@deletePost">Delete</button> <button class="delButton" onclick="@deletePost">Delete</button>
} }
<span>]</span>
</div> </div>
} }

View file

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