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.

PasswordNeeded.cshtml 1.2KB

1234567891011121314151617181920212223242526272829
  1. @model Teknik.Areas.Paste.ViewModels.PasswordViewModel
  2. <div class="container">
  3. @if (Model.Error)
  4. {
  5. <div class="row">
  6. <div class="col-xs-12 text-center">
  7. <div class="alert alert-danger alert-dismissable">
  8. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>@Model.ErrorMessage
  9. </div>
  10. </div>
  11. </div>
  12. }
  13. <div class="row text-center">
  14. <div class="col-sm-6 col-sm-offset-3">
  15. <!form class="form-inline" method="post" action="@Model.ActionUrl">
  16. <h3>This paste is password protected</h3>
  17. <input type="hidden" name="type" value="@Model.Type">
  18. <input type="hidden" name="url" value="@Model.Url">
  19. <div class="well no-padding">
  20. <div class="form-group">
  21. <input class="form-control" type="password" name="password" placeholder="Password">
  22. </div>
  23. <button class="btn btn-primary" type="submit">Submit</button>
  24. </div>
  25. </!form>
  26. </div>
  27. </div>
  28. </div>