The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Index.cshtml 4.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. @model Teknik.Areas.Contact.ViewModels.ContactViewModel
  2. @Scripts.Render("~/bundles/contact")
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-sm-12 col-lg-12">
  6. <h1 class="h1">
  7. Contact us
  8. </h1>
  9. </div>
  10. </div>
  11. </div>
  12. <div class="container">
  13. <div class="row">
  14. <div class="col-md-8">
  15. <div class="well well-sm">
  16. <form role="form" id="contactForm" action="@Url.SubRouteUrl("contact", "Contact.Action", new { action = "Submit" })" method="post" accept-charset="UTF-8">
  17. @Html.ValidationSummary(true, "Message send failed.")
  18. <div class="row">
  19. <div class="col-md-6">
  20. <div class="form-group">
  21. @Html.ValidationMessageFor(u => u.Name)
  22. <label for="Name">
  23. Name
  24. </label>
  25. <input type="text" class="form-control" id="Name" name="Name" placeholder="Enter name" required="required" value="@((Request.IsAuthenticated) ? User.Identity.Name : string.Empty)" />
  26. </div>
  27. <div class="form-group">
  28. @Html.ValidationMessageFor(u => u.Email)
  29. <label for="Email">
  30. Email Address
  31. </label>
  32. <div class="input-group">
  33. <span class="input-group-addon">
  34. <span class="glyphicon glyphicon-envelope"></span>
  35. </span>
  36. <input type="email" class="form-control" id="Email" name="Email" placeholder="Enter email" required="required" value="@((Request.IsAuthenticated) ? User.Identity.Name + "@" + Model.Config.Host : string.Empty)" />
  37. </div>
  38. </div>
  39. <div class="form-group">
  40. @Html.ValidationMessageFor(u => u.Subject)
  41. <label for="Subject">
  42. Subject
  43. </label>
  44. <input type="text" class="form-control" id="Subject" name="Subject" placeholder="Subject" required="required" />
  45. </div>
  46. </div>
  47. <div class="col-md-6">
  48. <div class="form-group">
  49. @Html.ValidationMessageFor(u => u.Message)
  50. <label for="Message">
  51. Message
  52. </label>
  53. <textarea id="Message" name="Message" class="form-control" rows="9" cols="25" required="required"
  54. placeholder="Message"></textarea>
  55. </div>
  56. </div>
  57. <div class="col-md-12">
  58. <button type="submit" class="btn btn-primary pull-right" id="contact_submit">
  59. Send Message
  60. </button>
  61. </div>
  62. </div>
  63. </form>
  64. </div>
  65. </div>
  66. <div class="col-md-4">
  67. <form>
  68. <legend><span class="glyphicon glyphicon-globe"></span> Where to find us</legend>
  69. <address>
  70. <strong>Teknik on Rizon IRC</strong><br>
  71. #Teknik (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
  72. </address>
  73. <address>
  74. <strong>/g/ Technology on Rizon IRC</strong><br>
  75. #/g/technology (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
  76. </address>
  77. <address>
  78. <strong>Teknik IRC</strong><br>
  79. #teknik (<a href="irc://irc.teknik.io" target="_blank">irc.teknik.io</a>)<br>
  80. </address>
  81. <address>
  82. <strong>Customer Support</strong><br>
  83. <a href="mailto:support@teknik.io">support@teknik.io</a>
  84. </address>
  85. </form>
  86. </div>
  87. </div>
  88. </div>