feat: unban users from the user list, added TOS and PrivacyPolicy

chore: sorted some pages into new util class

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-13 17:43:52 +02:00
parent e788ddf2a3
commit bc1d632e4c
12 changed files with 283 additions and 7 deletions

View file

@ -1,11 +0,0 @@
@page "/sys/dead"
<PageTitle>Dead Link - Bulletboards</PageTitle>
<h3>404 - Nothing at this address.</h3>
<img class="deadlink" src="img/static/deadlink/1.png" alt="Img is dead as well"/>
<span>Seems like this link is dead.</span>
<br/>
<a href="/">Return home</a>
@code {
}

View file

@ -1,7 +0,0 @@
.deadlink{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

View file

@ -1,6 +0,0 @@
@page "/sys/faq"
<h3>FAQ</h3>
@code {
}

View file

@ -1,19 +0,0 @@
@page "/sys/click/red/{loc}"
@using System.ComponentModel.DataAnnotations
@inject NavigationManager navManager
<h3>Redirecting...</h3>
@code {
[Parameter]
[Required]
public string loc { get; set; }
protected override async Task OnAfterRenderAsync(bool firstRender)
{
var p = loc.Replace("_", "/");
navManager.NavigateTo(p, true, true);
await base.OnAfterRenderAsync(firstRender);
}
}

View file

@ -1,20 +0,0 @@
@page "/sys/rules"
<div class="rules_headline">
<h3>Rules</h3>
</div>
<ul type="1" class="rules_list">
@foreach (var r in RulesConv.dict.Keys)
{
@if (!RulesConv.dict[r].StartsWith("Other"))
{
<li>@RulesConv.dict[r]</li>
}
}
</ul>
@code {
}

View file

@ -1,13 +0,0 @@
.rules_headline{
text-align: center;
font-weight: 1000;
/*the text have to be in a biger Pixel number I do not know how to do it */
}
.rules_list{
text-align:left;
display:block;
font-size: 14px;
font-weight: 60 ;
/*the text sice can stay like it is, if you do not want to change it.*/
}