feat: stop showing Other on rules page, changed from postsids to GETs for identification for the user, changed the colorsheme to dracula
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
d2657d28b4
commit
87656c18c1
8 changed files with 94 additions and 38 deletions
|
@ -5,7 +5,10 @@
|
|||
<ul type="1" class="rules_list">
|
||||
@foreach (var r in RulesConv.dict.Keys)
|
||||
{
|
||||
<li>@RulesConv.dict[r]</li>
|
||||
@if (!RulesConv.dict[r].StartsWith("Other"))
|
||||
{
|
||||
<li>@RulesConv.dict[r]</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
@using ImageBoardServerApp.Data.Repository
|
||||
@inject NavigationManager NavigationManager
|
||||
|
||||
<PageTitle>#@threadId on /@boardName/ - BulletBoard</PageTitle>
|
||||
<PageTitle>Thread #@post.GET on /@boardName/ - BulletBoard</PageTitle>
|
||||
|
||||
<h3>Thread #@threadId on /@boardName/</h3>
|
||||
<h3>Thread #@post.GET on /@boardName/</h3>
|
||||
<Post post="@post" showOpenThread="false"/>
|
||||
<hr/>
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
{
|
||||
try
|
||||
{
|
||||
post = await PostsRepository.getPostByGETAsync(boardName, int.Parse(threadId));
|
||||
post = await PostsRepository.getPostByIdAsync(int.Parse(threadId));
|
||||
}
|
||||
catch (FormatException fe)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue