From 9b06522c668ff8d2c27367529553eab6bded2021 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 May 2017 21:25:20 -0400 Subject: feedback --- Project-Unite/Views/Home/SendFeedback.cshtml | 42 ++++++++++++ Project-Unite/Views/Shared/_LoginPartial.cshtml | 87 +++++++++++++------------ 2 files changed, 86 insertions(+), 43 deletions(-) create mode 100644 Project-Unite/Views/Home/SendFeedback.cshtml (limited to 'Project-Unite/Views') diff --git a/Project-Unite/Views/Home/SendFeedback.cshtml b/Project-Unite/Views/Home/SendFeedback.cshtml new file mode 100644 index 0000000..9d26f29 --- /dev/null +++ b/Project-Unite/Views/Home/SendFeedback.cshtml @@ -0,0 +1,42 @@ +@model Project_Unite.Models.SendFeedbackViewModel +@{ + ViewBag.Title = "Send feedback"; +} + +

Send feedback

+ +

Hey there, Shifter! Michael here. So, you want to get in touch with the ShiftOS team, do ya? Well, just fill out this form!

+ +@using (Html.BeginForm()) +{ + @Html.AntiForgeryToken() + @Html.ValidationSummary() + +
+
Your name:
+
Just in case I need it, can you please enter your name here? @Html.TextBoxFor(x=>x.Name, new{@class="form-control"})
+ +
Your email:
+
May you please enter your email address so I can reply to you if needed? @Html.TextBoxFor(x => x.Email, new { type="email", @class = "form-control" })
+ +
Feedback type:
+
@Html.DropDownListFor(x => x.Name, Model.FeedbackTypes, new { @class = "form-control" })
+ +
Subject:
+
@Html.TextBoxFor(x => x.Subject, new { @class = "form-control" })
+ +
Body:
+
@Html.TextAreaFor(x => x.Body, new { @class = "form-control" })
+ +
+ + +} + +

Bogus email addresses

+ +

Please note that if you enter a bogus email address, we will completely ignore your feedback. This is because I want to be talking with real people, not spammers. If I can't reach you, I just won't listen to you.

+ +

This is NOT for general communication!

+ +

Please only use this form for feedback/support for ShiftOS. If you want to get in contact with me for other reasons, join our Discord server or email me directly at this address.

\ No newline at end of file diff --git a/Project-Unite/Views/Shared/_LoginPartial.cshtml b/Project-Unite/Views/Shared/_LoginPartial.cshtml index a8fa210..0d1c22b 100644 --- a/Project-Unite/Views/Shared/_LoginPartial.cshtml +++ b/Project-Unite/Views/Shared/_LoginPartial.cshtml @@ -1,51 +1,52 @@ @using Microsoft.AspNet.Identity - -@if (Request.IsAuthenticated) -{ - using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) + \ No newline at end of file -- cgit v1.2.3