Discord Bot web UI first preview

This commit is contained in:
2023-04-08 13:18:25 +03:00
parent 0a2dff0c6d
commit 810a527cc1
86 changed files with 74906 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
@model DiscordBotUI.Models.Home.IndexModel
@{
ViewData["Title"] = "Home Page";
}
<link rel="stylesheet" href="~/css/home/index.css" asp-append-version="true" />
<form>
<div class="col-sm-6 align-self-center p-5">
<div class="form-group row">
<label for="staticServerID" class="col-sm-2 col-form-label text-white">Server ID</label>
<div class="col-sm-10">
<input type="text" readonly="" border="0" class="form-control-plaintext text-white" id="staticServerID" value="@Model.ServerID">
</div>
</div>
<div class="form-group row">
<label for="botPrefix" class="col-sm-2 col-form-label text-white">Bot Prefix</label>
<div class="col-sm-10">
<input type="text" readonly="" class="form-control-plaintext text-white" id="botPrefix" value="@Model.BotPrefix">
</div>
</div>
</div>
</form>

View File

@@ -0,0 +1,6 @@
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>

View File

@@ -0,0 +1,26 @@
@model DiscordBotUI.Models.Home.SettingsModel
@{
ViewData["Title"] = "Settings page";
}
<link rel="stylesheet" href="~/css/home/settings.css" asp-append-version="true" />
<div class="login-box">
<h2>Settings page</h2>
<form method="post" enctype="multipart/form-data">
<div class="user-box">
<input asp-for=BotToken type="text" name="BotToken" required="">
<label>Bot Token</label>
</div>
<div class="user-box">
<input asp-for=BotPrefix type="text" name="BotPrefix" required="">
<label>Bot Prefix</label>
</div>
<div class="user-box">
<input asp-for=ServerID type="text" name="ServerID">
<label>Server ID</label>
</div>
<input type="submit" class="btn btn-dark" value="Save Changes" />
</form>
</div>