Discord Bot web UI first preview
This commit is contained in:
25
DiscordBotPlugins/DiscordBotUI/Views/Home/Index.cshtml
Normal file
25
DiscordBotPlugins/DiscordBotUI/Views/Home/Index.cshtml
Normal 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>
|
||||
6
DiscordBotPlugins/DiscordBotUI/Views/Home/Privacy.cshtml
Normal file
6
DiscordBotPlugins/DiscordBotUI/Views/Home/Privacy.cshtml
Normal 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>
|
||||
26
DiscordBotPlugins/DiscordBotUI/Views/Home/Settings.cshtml
Normal file
26
DiscordBotPlugins/DiscordBotUI/Views/Home/Settings.cshtml
Normal 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>
|
||||
Reference in New Issue
Block a user