Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
e850273f
Unverified
Commit
e850273f
authored
Mar 29, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
#12722
parent
0d2a6b88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
src/main/webapp/admin/admin-preference.ftl
src/main/webapp/admin/admin-preference.ftl
+2
-2
src/main/webapp/common-template/label.ftl
src/main/webapp/common-template/label.ftl
+1
-1
src/main/webapp/js/admin/preference.js
src/main/webapp/js/admin/preference.js
+2
-0
No files found.
src/main/webapp/admin/admin-preference.ftl
View file @
e850273f
...
...
@@ -82,8 +82,8 @@
<option value="titleAndAbstract">${titleAndAbstractLabel}</option>
<option value="titleAndContent">${titleAndContentLabel}</option>
</select>
<label for="
articleH
ljsTheme">${hljsThemeLabel}</label>
<select id="
articleH
ljsTheme">
<label for="
h
ljsTheme">${hljsThemeLabel}</label>
<select id="
h
ljsTheme">
<option value="default">Default</option>
<option value="a11y-dark">A 11 Y Dark</option>
<option value="a11y-light">A 11 Y Light</option>
...
...
src/main/webapp/common-template/label.ftl
View file @
e850273f
...
...
@@ -22,7 +22,7 @@
servePath: "${servePath}",
staticServePath: "${staticServePath}",
markedAvailable: ${markedAvailable?c},
hljsStyle: '
atom-one-light
',
hljsStyle: '
${hljsTheme}
',
langLabel: "${langLabel}",
version: "${version}",
}
...
...
src/main/webapp/js/admin/preference.js
View file @
e850273f
...
...
@@ -118,6 +118,7 @@ admin.preference = {
}
$
(
'
#articleListDisplay
'
).
val
(
preference
.
articleListStyle
)
$
(
'
#hljsTheme
'
).
val
(
preference
.
hljsTheme
)
$
(
'
#feedOutputMode
'
).
val
(
preference
.
feedOutputMode
)
$
(
'
#feedOutputCnt
'
).
val
(
preference
.
feedOutputCnt
)
$
(
'
#faviconURL
'
).
val
(
preference
.
faviconURL
)
...
...
@@ -251,6 +252,7 @@ admin.preference = {
'
allowVisitDraftViaPermalink
'
:
$
(
'
#allowVisitDraftViaPermalink
'
).
prop
(
'
checked
'
),
'
articleListStyle
'
:
$
(
'
#articleListDisplay
'
).
val
(),
'
hljsTheme
'
:
$
(
'
#hljsTheme
'
).
val
(),
'
feedOutputMode
'
:
$
(
'
#feedOutputMode
'
).
val
(),
'
feedOutputCnt
'
:
$
(
'
#feedOutputCnt
'
).
val
(),
'
faviconURL
'
:
$
(
'
#faviconURL
'
).
val
(),
...
...
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