settings.pug 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. extends ./_layout.pug
  2. block adminContent
  3. .hero
  4. h1.title#title System Settings
  5. h2.subtitle Manage site configuration
  6. .form-sections
  7. section
  8. label.label System Version
  9. .section-block
  10. p Current Version: #[strong= sysversion.current]
  11. if sysversion.latest
  12. p Latest Version: #[strong= sysversion.latest] #[em (Published #{userMoment(sysversion.latestPublishedAt).fromNow()})]
  13. p
  14. if sysversion.current !== sysversion.latest
  15. button.button.is-deep-orange Upgrade
  16. else
  17. button.button.is-disabled Upgrade
  18. button.button.is-deep-orange.is-outlined Re-install current version
  19. else
  20. p: em Unable to query latest version. Try again later.
  21. section
  22. label.label Administrative Tools
  23. .section-block
  24. h6 Flush cache and rebuild indexes:
  25. p.is-small If content or search results seems out-of-date or do not include latest content, flushing the cache can help resolve these issues.
  26. p: button.button.is-teal.is-outlined Flush and Rebuild
  27. h6 Reset the root administrator and guest accounts to defaults:
  28. p.is-small
  29. | The root administrator account will be reset to the email address in the configuration file and the password will be reinitialized to #[strong admin123].
  30. br
  31. | The guest account will be recreated with its access rights set to defaults.
  32. p: button.button.is-teal.is-outlined Reset System Accounts
  33. h6 Flush all active user sessions:
  34. p.is-small All users will be logged out and forced to login again. Your current session will also be affected!
  35. p: button.button.is-teal.is-outlined Flush Sessions