initalizer.scala.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @()(implicit webJarsUtil: org.webjars.play.WebJarsUtil, request: RequestHeader)
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <title>Open Sauce - Setup</title>
  6. <link rel="shortcut icon" type="image/png"
  7. href="@routes.Assets.versioned("images/favicon.png")">
  8. </head>
  9. <body>
  10. <h1>Open Source Setup</h1>
  11. <p>
  12. Before the website is officially ready, you need to create the first, admin
  13. account.
  14. </p>
  15. <p>
  16. WARNING: Once you create the account, you will need it to create/promote new
  17. admins.
  18. </p>
  19. <div id="content" class="section container">
  20. <form class="text-right" action="/initialize" method="POST">
  21. <div class="input-group mb-3">
  22. <div class="input-group mb-3">
  23. <input id="email" type="text" class="form-control" name="email"
  24. placeholder="Email" required>
  25. </div>
  26. <div class="input-group">
  27. <input id="password" type="password" class="form-control" name="password"
  28. placeholder="Password" required>
  29. </div>
  30. </div>
  31. <div class="input-group mb-3">
  32. <input id="fname" type="text" class="form-control" name="fname"
  33. placeholder="First Name">
  34. <input id="lname" type="text" class="form-control" name="lname"
  35. placeholder="Last Name">
  36. </div>
  37. <div class="btn-group btn-group-justified">
  38. <input type="submit" class="btn btn-success" value="Finish" />
  39. </div>
  40. <!-- Creates a CSRF token, required by Play for non-GET requests. Token is
  41. embedded in a hidden input tag. -->
  42. @helper.CSRF.formField
  43. </form>
  44. </div>
  45. </body>
  46. </html>