mirror of https://github.com/requarks/wiki
parent
f311d74a08
commit
b2e693b1e4
File diff suppressed because one or more lines are too long
@ -0,0 +1,25 @@
|
|||||||
|
.modal(v-bind:class='{ "is-active": upgradeModal.state }')
|
||||||
|
.modal-background
|
||||||
|
.modal-container
|
||||||
|
.modal-content
|
||||||
|
template(v-if='upgradeModal.step === "running"')
|
||||||
|
header.is-blue Install
|
||||||
|
section.modal-loading
|
||||||
|
i
|
||||||
|
span Wiki.js {{ upgradeModal.mode }} in progress...
|
||||||
|
em Please wait
|
||||||
|
template(v-if='upgradeModal.step === "error"')
|
||||||
|
header.is-red Installation Error
|
||||||
|
section.modal-loading
|
||||||
|
span {{ upgradeModal.error }}
|
||||||
|
footer
|
||||||
|
a.button.is-grey.is-outlined(v-on:click='upgradeCancel') Abort
|
||||||
|
a.button.is-deep-orange(v-on:click='upgradeStart') Try Again
|
||||||
|
template(v-if='upgradeModal.step === "confirm"')
|
||||||
|
header.is-deep-orange Are you sure?
|
||||||
|
section
|
||||||
|
label.label You are about to {{ upgradeModal.mode }} Wiki.js.
|
||||||
|
span.note You will not be able to access your wiki during the operation. Content will not be affected. However, it is your responsability to ensure you have a backup in the unexpected event content gets lost or corrupted.
|
||||||
|
footer
|
||||||
|
a.button.is-grey.is-outlined(v-on:click='upgradeCancel') Abort
|
||||||
|
a.button.is-deep-orange(v-on:click='upgradeStart') Start
|
@ -1,36 +1,39 @@
|
|||||||
extends ./_layout.pug
|
extends ./_layout.pug
|
||||||
|
|
||||||
block adminContent
|
block adminContent
|
||||||
.hero
|
#page-type-admin-settings
|
||||||
h1.title#title System Settings
|
.hero
|
||||||
h2.subtitle Manage site configuration
|
h1.title#title System Settings
|
||||||
.form-sections
|
h2.subtitle Manage site configuration
|
||||||
section
|
.form-sections
|
||||||
label.label System Version
|
section
|
||||||
.section-block
|
label.label System Version
|
||||||
p Current Version: #[strong= sysversion.current]
|
.section-block
|
||||||
if sysversion.latest
|
p Current Version: #[strong= sysversion.current]
|
||||||
p Latest Version: #[strong= sysversion.latest] #[em (Published #{userMoment(sysversion.latestPublishedAt).fromNow()})]
|
if sysversion.latest
|
||||||
p
|
p Latest Version: #[strong= sysversion.latest] #[em (Published #{userMoment(sysversion.latestPublishedAt).fromNow()})]
|
||||||
if sysversion.current !== sysversion.latest
|
p
|
||||||
button.button.is-deep-orange Upgrade
|
if sysversion.current !== sysversion.latest
|
||||||
else
|
button.button.is-deep-orange(v-on:click='upgrade') Upgrade
|
||||||
button.button.is-disabled Upgrade
|
else
|
||||||
button.button.is-deep-orange.is-outlined Re-install current version
|
button.button.is-disabled Upgrade
|
||||||
else
|
button.button.is-deep-orange.is-outlined(v-on:click='reinstall') Re-install current version
|
||||||
p: em Unable to query latest version. Try again later.
|
else
|
||||||
section
|
p: em Unable to query latest version. Try again later.
|
||||||
label.label Administrative Tools
|
section
|
||||||
.section-block
|
label.label Administrative Tools
|
||||||
h6 Flush cache and rebuild indexes:
|
.section-block
|
||||||
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.
|
h6 Flush cache and rebuild indexes:
|
||||||
p: button.button.is-teal.is-outlined Flush and Rebuild
|
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.
|
||||||
h6 Reset the root administrator and guest accounts to defaults:
|
p: button.button.is-teal.is-outlined(v-on:click='flushcache') Flush and Rebuild
|
||||||
p.is-small
|
h6 Reset the root administrator and guest accounts to defaults:
|
||||||
| The root administrator account will be reset to the email address in the configuration file and the password will be reinitialized to #[strong admin123].
|
p.is-small
|
||||||
br
|
| The root administrator account will be reset to the email address in the configuration file and the password will be reinitialized to #[strong admin123].
|
||||||
| The guest account will be recreated with its access rights set to defaults.
|
br
|
||||||
p: button.button.is-teal.is-outlined Reset System Accounts
|
| The guest account will be recreated with its access rights set to defaults.
|
||||||
h6 Flush all active user sessions:
|
p: button.button.is-teal.is-outlined(v-on:click='resetaccounts') Reset System Accounts
|
||||||
p.is-small All users will be logged out and forced to login again. Your current session will also be affected!
|
h6 Flush all active user sessions:
|
||||||
p: button.button.is-teal.is-outlined Flush Sessions
|
p.is-small All users will be logged out and forced to login again. Your current session will also be affected!
|
||||||
|
p: button.button.is-teal.is-outlined(v-on:click='flushsessions') Flush Sessions
|
||||||
|
|
||||||
|
include ../../modals/admin-upgrade.pug
|
||||||
|
Loading…
Reference in new issue