about summary refs log tree commit diff
path: root/BugMine.Web/Pages/Projects/NewProject.razor
diff options
context:
space:
mode:
Diffstat (limited to 'BugMine.Web/Pages/Projects/NewProject.razor')
-rw-r--r--BugMine.Web/Pages/Projects/NewProject.razor25
1 files changed, 25 insertions, 0 deletions
diff --git a/BugMine.Web/Pages/Projects/NewProject.razor b/BugMine.Web/Pages/Projects/NewProject.razor
new file mode 100644
index 0000000..529813e
--- /dev/null
+++ b/BugMine.Web/Pages/Projects/NewProject.razor
@@ -0,0 +1,25 @@
+@page "/Projects/New"
+@using LibMatrix.Responses
+@using BugMine.Web.Classes
+@using ArcaneLibs.Extensions
+<h3>New project</h3>
+
+<span>Project name: </span>
+<FancyTextBox bind-Value="@request.Name"></FancyTextBox>
+<br/>
+<span>Shortname: </span>
+<FancyTextBox bind-Value="@request.RoomAliasName"></FancyTextBox>
+<br/>
+
+@if (Constants.Debug) {
+    <span>Debug: </span>
+    <pre>
+        @request.ToJson()
+    </pre>
+    <br/>
+}
+
+@code {
+    private CreateRoomRequest request = new CreateRoomRequest();
+
+}
\ No newline at end of file