Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
485bfc39
Commit
485bfc39
authored
Apr 08, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Public option to Setup Wizard
parent
ddcbce05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
configure.js
client/js/configure.js
+1
-0
index.pug
views/configure/index.pug
+5
-0
No files found.
client/js/configure.js
View file @
485bfc39
...
...
@@ -49,6 +49,7 @@ jQuery(document).ready(function ($) {
host
:
appconfig
.
host
||
'http://'
,
port
:
appconfig
.
port
||
80
,
lang
:
appconfig
.
lang
||
'en'
,
public
:
(
appconfig
.
public
===
true
),
db
:
appconfig
.
db
||
'mongodb://localhost:27017/wiki'
,
pathData
:
'./data'
,
pathRepo
:
'./repo'
,
...
...
views/configure/index.pug
View file @
485bfc39
...
...
@@ -104,6 +104,11 @@ html(data-logic='configure')
each lg in langs
option(value=lg.id)= lg.name
span.desc The language in which navigation, help and other UI elements will be displayed.
section
p.control.is-fullwidth
input#ipt-public(type='checkbox', v-model='conf.public', data-vv-scope='general', name='ipt-public')
label.label(for='ipt-public') Public Access
span.desc Should the site be accessible (read only) without login.
.panel-footer
.progress-bar: div(v-bind:style='{width: currentProgress}')
button.button.is-indigo.is-outlined(v-on:click='proceedToSyscheck', v-bind:disabled='loading') Back
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment