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
d70799d7
Unverified
Commit
d70799d7
authored
Dec 07, 2018
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
page and admin title
parent
e56cee7f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
src/main/webapp/admin-index.ftl
src/main/webapp/admin-index.ftl
+1
-1
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+3
-3
src/main/webapp/js/page.min.js
src/main/webapp/js/page.min.js
+1
-1
src/main/webapp/skins
src/main/webapp/skins
+1
-1
No files found.
src/main/webapp/admin-index.ftl
View file @
d70799d7
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<meta
http-equiv=
"Window-target"
content=
"_top"
>
<meta
http-equiv=
"Window-target"
content=
"_top"
>
<meta
name=
"robots"
content=
"none"
/>
<meta
name=
"robots"
content=
"none"
/>
<title>
${
blogTitle} - ${adminConsoleLabel
}
</title>
<title>
${
adminConsoleLabel} - ${blogTitle
}
</title>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-admin${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-admin${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/js/lib/CodeMirrorEditor/codemirror.min.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/js/lib/CodeMirrorEditor/codemirror.min.css?${staticResourceVersion}"
/>
...
...
src/main/webapp/js/page.js
View file @
d70799d7
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.4.
0.2, Dec 1
, 2018
* @version 1.4.
1.3, Dec 7
, 2018
*/
*/
var
Page
=
function
(
tips
)
{
var
Page
=
function
(
tips
)
{
this
.
currentCommentId
=
""
;
this
.
currentCommentId
=
""
;
...
@@ -44,7 +44,7 @@ $.extend(Page.prototype, {
...
@@ -44,7 +44,7 @@ $.extend(Page.prototype, {
textValue
=
$comment
[
0
].
value
;
textValue
=
$comment
[
0
].
value
;
textValue
=
textValue
.
substring
(
0
,
endPosition
)
+
key
+
textValue
.
substring
(
endPosition
,
textValue
.
length
);
textValue
=
textValue
.
substring
(
0
,
endPosition
)
+
key
+
textValue
.
substring
(
endPosition
,
textValue
.
length
);
$
(
"
#comment
"
+
name
).
val
(
textValue
);
$
(
"
#comment
"
+
name
).
val
(
textValue
);
if
(
$
.
browser
.
msie
)
{
if
(
!!
window
.
ActiveXObject
||
"
ActiveXObject
"
in
window
)
{
endPosition
-=
textValue
.
split
(
'
\n
'
).
length
-
1
;
endPosition
-=
textValue
.
split
(
'
\n
'
).
length
-
1
;
var
oR
=
$comment
[
0
].
createTextRange
();
var
oR
=
$comment
[
0
].
createTextRange
();
oR
.
collapse
(
true
);
oR
.
collapse
(
true
);
...
@@ -372,7 +372,7 @@ $.extend(Page.prototype, {
...
@@ -372,7 +372,7 @@ $.extend(Page.prototype, {
if
(
document
.
createStyleSheet
)
{
if
(
document
.
createStyleSheet
)
{
document
.
createStyleSheet
(
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/styles/default.css
"
);
document
.
createStyleSheet
(
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/styles/default.css
"
);
}
else
{
}
else
{
$
(
"
head
"
).
append
(
$
(
"
<link rel='stylesheet' href='
"
+
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/styles/
github
.css'>
"
));
$
(
"
head
"
).
append
(
$
(
"
<link rel='stylesheet' href='
"
+
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/styles/
"
+
((
obj
&&
obj
.
theme
)
||
'
github
'
)
+
"
.css'>
"
));
}
}
$
.
ajax
({
$
.
ajax
({
url
:
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/highlight.pack.js
"
,
url
:
latkeConfig
.
staticServePath
+
"
/js/lib/highlight.js-9.6.0/highlight.pack.js
"
,
...
...
src/main/webapp/js/page.min.js
View file @
d70799d7
This diff is collapsed.
Click to expand it.
skins
@
683bf9e1
Subproject commit
dbb3b29bda4205f42ab8125361cbc74ad48bfc6
7
Subproject commit
683bf9e19aed80a84fa20cf6c645695bfec592b
7
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