login.templ 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package views
  2. // Login renders the standalone login page (no nav layout).
  3. templ Login(flashErr string) {
  4. <!DOCTYPE html>
  5. <html lang="en">
  6. <head>
  7. <meta charset="UTF-8"/>
  8. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  9. <title>Login — JamTrack</title>
  10. <link rel="stylesheet" href="/static/bulma.min.css"/>
  11. </head>
  12. <body>
  13. <section class="section">
  14. <div class="container">
  15. <div class="columns is-centered">
  16. <div class="column is-narrow" style="min-width:320px">
  17. <h1 class="title has-text-centered">JamTrack</h1>
  18. if flashErr != "" {
  19. <div class="notification is-danger is-light">{ flashErr }</div>
  20. }
  21. <form method="POST" action="/login">
  22. <div class="field">
  23. <label class="label">Username</label>
  24. <div class="control">
  25. <input class="input" type="text" name="username" autofocus required/>
  26. </div>
  27. </div>
  28. <div class="field">
  29. <label class="label">Password</label>
  30. <div class="control">
  31. <input class="input" type="password" name="password" required/>
  32. </div>
  33. </div>
  34. <div class="field mt-4">
  35. <div class="control">
  36. <button class="button is-primary is-fullwidth" type="submit">Sign in</button>
  37. </div>
  38. </div>
  39. </form>
  40. </div>
  41. </div>
  42. </div>
  43. </section>
  44. </body>
  45. </html>
  46. }
PANIC: session(release): write data/sessions/2/6/26706cf4f2eb5f08: no space left on device

PANIC

session(release): write data/sessions/2/6/26706cf4f2eb5f08: no space left on device
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/session@v1.0.3/session.go:204 (0xb13e07)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:80 (0x967b75)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:114 (0x967bf6)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/recovery.go:161 (0x15baec4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/logger.go:40 (0x96b257)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:187 (0x972959)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:304 (0x973a01)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/macaron.go:218 (0x96c572)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:3311 (0x85a5cd)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:2073 (0x837f6f)
/my/cache/.heroku/go/go1.26.3/go/src/runtime/asm_amd64.s:1771 (0x493380)