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.

39 lines
2.0 KiB

  1. extends ./_layout.pug
  2. block adminContent
  3. #page-type-admin-settings
  4. .hero
  5. h1.title#title System Settings
  6. h2.subtitle Manage site configuration
  7. .form-sections
  8. section
  9. label.label System Version
  10. .section-block
  11. p Current Version: #[strong= sysversion.current]
  12. if sysversion.latest
  13. p Latest Version: #[strong= sysversion.latest] #[em (Published #{userMoment(sysversion.latestPublishedAt).fromNow()})]
  14. p
  15. if sysversion.current !== sysversion.latest
  16. button.button.is-deep-orange(v-on:click='upgrade') Upgrade
  17. else
  18. button.button.is-disabled Upgrade
  19. button.button.is-deep-orange.is-outlined(v-on:click='reinstall') Re-install current version
  20. else
  21. p: em Unable to query latest version. Try again later.
  22. section
  23. label.label Administrative Tools
  24. .section-block
  25. h6 Flush cache and rebuild indexes:
  26. 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.
  27. p: button.button.is-teal.is-outlined(v-on:click='flushcache') Flush and Rebuild
  28. h6 Reset the root administrator and guest accounts to defaults:
  29. p.is-small
  30. | The root administrator account will be reset to the email address in the configuration file and the password will be reinitialized to #[strong admin123].
  31. br
  32. | The guest account will be recreated with its access rights set to defaults.
  33. p: button.button.is-teal.is-outlined(v-on:click='resetaccounts') Reset System Accounts
  34. h6 Flush all active user sessions:
  35. p.is-small All users will be logged out and forced to login again. Your current session will also be affected!
  36. p: button.button.is-teal.is-outlined(v-on:click='flushsessions') Flush Sessions
  37. include ../../modals/admin-upgrade.pug