list.tmpl 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {{template "base/head" .}}
  2. <div class="admin authentication">
  3. <div class="ui container">
  4. <div class="ui grid">
  5. {{template "admin/navbar" .}}
  6. <div class="twelve wide column content">
  7. {{template "base/alert" .}}
  8. <h4 class="ui top attached header">
  9. {{.i18n.Tr "admin.auths.auth_sources"}} ({{.i18n.Tr "admin.total" .Total}})
  10. </h4>
  11. <div class="ui unstackable attached table segment">
  12. <table class="ui unstackable very basic striped table">
  13. <thead>
  14. <tr>
  15. <th>ID</th>
  16. <th>{{.i18n.Tr "admin.auths.name"}}</th>
  17. <th>{{.i18n.Tr "admin.auths.type"}}</th>
  18. <th>{{.i18n.Tr "admin.auths.enabled"}}</th>
  19. <th>{{.i18n.Tr "admin.auths.default"}}</th>
  20. <th>{{.i18n.Tr "admin.auths.updated"}}</th>
  21. <th>{{.i18n.Tr "admin.users.created"}}</th>
  22. <th>{{.i18n.Tr "admin.users.edit"}}</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. {{range .Sources}}
  27. <tr>
  28. <td>{{.ID}}</td>
  29. <td><a href="{{AppSubURL}}/admin/auths/{{.ID}}">{{.Name}}</a></td>
  30. <td>{{.TypeName}}</td>
  31. <td><i class="fa fa{{if .IsActived}}-check{{end}}-square-o"></i></td>
  32. <td><i class="fa fa{{if .IsDefault}}-check{{end}}-square-o"></i></td>
  33. <td><span class="poping up" data-content="{{DateFmtLong .Updated}}" data-variation="tiny">{{DateFmtShort .Updated}}</span></td>
  34. <td>
  35. {{if .Created.IsZero}}
  36. N/A
  37. {{else}}
  38. <span class="poping up" data-content="{{DateFmtLong .Created}}" data-variation="tiny">{{DateFmtShort .Created}}</span>
  39. {{end}}
  40. </td>
  41. <td><a href="{{AppSubURL}}/admin/auths/{{.ID}}"><i class="fa fa-pencil-square-o"></i></a></td>
  42. </tr>
  43. {{end}}
  44. </tbody>
  45. <tfoot class="full-width">
  46. <tr>
  47. <th></th>
  48. <th colspan="7">
  49. <div class="ui right">
  50. <a class="ui blue small button" href="{{AppSubURL}}/admin/auths/new">{{.i18n.Tr "admin.auths.new"}}</a>
  51. </div>
  52. </th>
  53. </tr>
  54. </tfoot>
  55. </table>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. {{template "base/footer" .}}
PANIC: session(release): write data/sessions/7/4/743bf4187854e174: no space left on device

PANIC

session(release): write data/sessions/7/4/743bf4187854e174: no space left on device
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8b2934)
gopkg.in/macaron.v1@v1.3.9/context.go:79 (0x83d0a0)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/context.go:112 (0x84fdb5)
gopkg.in/macaron.v1@v1.3.9/recovery.go:161 (0x84fda8)
gopkg.in/macaron.v1@v1.3.9/logger.go:40 (0x840c73)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/router.go:187 (0x850fc6)
gopkg.in/macaron.v1@v1.3.9/router.go:303 (0x8493e5)
gopkg.in/macaron.v1@v1.3.9/macaron.go:220 (0x841fca)
net/http/server.go:2836 (0x7a79b2)
net/http/server.go:1924 (0x7a341b)
runtime/asm_amd64.s:1373 (0x46f9f0)