From 44a897a4c037d6c152f477713b174a0276417dc8 Mon Sep 17 00:00:00 2001 From: neroduckale Date: Sun, 17 Mar 2024 02:14:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D1=80=D1=83=D0=BF=D0=BD=D0=BE=D0=B5=20?= =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5.?= =?UTF-8?q?=20=D0=98=D0=B7=20=D0=BD=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE:=20?= =?UTF-8?q?=D1=87=D1=83=D1=82=D0=BA=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B0=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=B4=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D0=B9=D0=BD,=20=D0=B2=D1=8B=D0=BC=D0=B5=D1=80=D1=88?= =?UTF-8?q?=D0=B8=D0=B9=20/users,=20=D0=B4=D0=BE=D0=B4=D0=B5=D0=BB=D0=B0?= =?UTF-8?q?=D0=BD=D0=BD=D0=B0=D1=8F=20=D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=B8=D0=BA=D0=B0=20=D0=BC=D0=B8=D1=80=D0=B0=20=D0=BC?= =?UTF-8?q?=D0=B0=D0=B9=D0=BD=D0=BA=D1=80=D0=B0=D1=84=D1=82,=20=D0=B8=20?= =?UTF-8?q?=D0=B5=D1=89=D0=B5=20=D0=BF=D0=B0=D1=80=D0=B0=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nrdkwebsite/Pages/errors/302.cshtml | 8 + nrdkwebsite/Pages/errors/302.cshtml.cs | 11 + nrdkwebsite/Pages/errors/409.cshtml | 8 + nrdkwebsite/Pages/errors/409.cshtml.cs | 12 + nrdkwebsite/Pages/layout.cshtml | 10 +- nrdkwebsite/Pages/minecraftia.cshtml | 45 + nrdkwebsite/Pages/minecraftia.cshtml.cs | 11 + nrdkwebsite/Pages/users.cshtml | 65 - nrdkwebsite/Pages/users.cshtml.cs | 14 - nrdkwebsite/Program.cs | 32 +- nrdkwebsite/Properties/launchSettings.json | 37 + nrdkwebsite/wwwroot/css/style.css | 23 +- nrdkwebsite/wwwroot/js/admin.js | 27 +- nrdkwebsite/wwwroot/js/minecraft.js | 161 +++ nrdkwebsite/wwwroot/js/palette.js | 1503 ++++++++++++++++++++ nrdkwebsite/wwwroot/js/site.js | 46 +- 16 files changed, 1844 insertions(+), 169 deletions(-) create mode 100644 nrdkwebsite/Pages/errors/302.cshtml create mode 100644 nrdkwebsite/Pages/errors/302.cshtml.cs create mode 100644 nrdkwebsite/Pages/errors/409.cshtml create mode 100644 nrdkwebsite/Pages/errors/409.cshtml.cs create mode 100644 nrdkwebsite/Pages/minecraftia.cshtml create mode 100644 nrdkwebsite/Pages/minecraftia.cshtml.cs delete mode 100644 nrdkwebsite/Pages/users.cshtml delete mode 100644 nrdkwebsite/Pages/users.cshtml.cs create mode 100644 nrdkwebsite/Properties/launchSettings.json create mode 100644 nrdkwebsite/wwwroot/js/minecraft.js create mode 100644 nrdkwebsite/wwwroot/js/palette.js diff --git a/nrdkwebsite/Pages/errors/302.cshtml b/nrdkwebsite/Pages/errors/302.cshtml new file mode 100644 index 0000000..1a53285 --- /dev/null +++ b/nrdkwebsite/Pages/errors/302.cshtml @@ -0,0 +1,8 @@ +@page +@model error302 + +@{ + ViewData["Title"] = "найден"; +} + +

302! найден, но не в состоянии появиться здесь.

\ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/302.cshtml.cs b/nrdkwebsite/Pages/errors/302.cshtml.cs new file mode 100644 index 0000000..4f533eb --- /dev/null +++ b/nrdkwebsite/Pages/errors/302.cshtml.cs @@ -0,0 +1,11 @@ +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace nrdkwebsite.Pages.errors; + +public class error302 : PageModel +{ + public void OnGet() + { + HttpContext.Response.StatusCode = 302; + } +} \ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/409.cshtml b/nrdkwebsite/Pages/errors/409.cshtml new file mode 100644 index 0000000..3df9016 --- /dev/null +++ b/nrdkwebsite/Pages/errors/409.cshtml @@ -0,0 +1,8 @@ +@page +@model error409 + +@{ + ViewData["Title"] = "conflict"; +} + +

409! Conflict!

\ No newline at end of file diff --git a/nrdkwebsite/Pages/errors/409.cshtml.cs b/nrdkwebsite/Pages/errors/409.cshtml.cs new file mode 100644 index 0000000..585b013 --- /dev/null +++ b/nrdkwebsite/Pages/errors/409.cshtml.cs @@ -0,0 +1,12 @@ +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace nrdkwebsite.Pages.errors; + +public class error409 : PageModel +{ + public void OnGet() + { + + } + +} \ No newline at end of file diff --git a/nrdkwebsite/Pages/layout.cshtml b/nrdkwebsite/Pages/layout.cshtml index 9a8829f..9478acc 100644 --- a/nrdkwebsite/Pages/layout.cshtml +++ b/nrdkwebsite/Pages/layout.cshtml @@ -8,23 +8,23 @@ neroduckale's @ViewBag.Title - + @* *@ + -
+