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.

Http500.cshtml 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @model Teknik.Areas.Error.ViewModels.ErrorViewModel
  2. <div class="container">
  3. <div class="row">
  4. <div class="col-md-12">
  5. <div class="error-template text-center">
  6. <h1>Whoops!</h1>
  7. <h2>500 Server Error</h2>
  8. <div class="error-details">
  9. Sorry, a server error occured. Please contact an Administrator about this error.
  10. <br />
  11. <br />
  12. @if (Model != null && Model.Exception != null)
  13. {
  14. <div class="text-left">
  15. <p>
  16. <b>Exception:</b> @Model.Exception.Message
  17. <br />
  18. <b>Source:</b> @Model.Exception.Source
  19. </p>
  20. <div style="overflow:scroll">
  21. <pre>@Model.Exception.StackTrace</pre>
  22. </div>
  23. </div>
  24. }
  25. </div>
  26. <br />
  27. <div class="error-actions">
  28. <a href="@Url.SubRouteUrl("www", "Home.Index")" class="btn btn-primary btn-lg">
  29. <span class="glyphicon glyphicon-home"></span>
  30. Take Me Home
  31. </a>
  32. <a href="@Url.SubRouteUrl("contact", "Contact.Index")" class="btn btn-default btn-lg">
  33. <span class="glyphicon glyphicon-envelope"></span>
  34. Contact Support
  35. </a>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>