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 1019B

1234567891011121314151617181920212223242526272829303132333435
  1. @model Teknik.Areas.IRC.ViewModels.ClientViewModel
  2. @using Teknik.Utilities
  3. @Scripts.Render("~/bundles/signalr")
  4. @Scripts.Render("~/signalr/hubs")
  5. @Scripts.Render("~/bundles/irc")
  6. <div class="container">
  7. @if (User.Identity.IsAuthenticated)
  8. {
  9. <div class="row">
  10. <div class="col-sm-10">
  11. <textarea class="form-control" name="clientOutput" id="clientOutput" rows="20"></textarea>
  12. </div>
  13. </div>
  14. <br />
  15. <div class="row">
  16. <div class="col-sm-10">
  17. <input type="text" class="form-control" name="message" id="message">
  18. </div>
  19. <div class="col-sm-2">
  20. <button type="button" class="btn btn-primary" id="sendMessage">Submit</button>
  21. </div>
  22. </div>
  23. }
  24. else
  25. {
  26. <div class="row">
  27. <div class="col-sm-10 col-sm-offset-1">
  28. <p>You need to be authenticated to view this page.</p>
  29. </div>
  30. </div>
  31. }
  32. </div>