Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
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
Commits
697c49f8
Commit
697c49f8
authored
Feb 17, 2017
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
add img preview
parent
b2ea6ae6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
src/main/webapp/skins/next/css/next.css
src/main/webapp/skins/next/css/next.css
+5
-1
src/main/webapp/skins/next/images/code-bg.png
src/main/webapp/skins/next/images/code-bg.png
+0
-0
src/main/webapp/skins/next/js/next.js
src/main/webapp/skins/next/js/next.js
+5
-1
src/main/webapp/skins/next/macro-comments.ftl
src/main/webapp/skins/next/macro-comments.ftl
+1
-1
No files found.
src/main/webapp/skins/next/css/next.css
View file @
697c49f8
...
...
@@ -18,7 +18,7 @@
* skin next style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.
3
.3.1, Feb 16, 2017
* @version 0.
4
.3.1, Feb 16, 2017
*/
/* start reset */
html
{
...
...
@@ -701,6 +701,10 @@ img {
line-height
:
1.5
}
.article-body
img
{
cursor
:
pointer
;
}
.article-body
ul
,
.article-body
ol
{
padding-left
:
2em
;
margin-top
:
0
;
...
...
src/main/webapp/skins/next/images/code-bg.png
0 → 100644
View file @
697c49f8
343 Bytes
src/main/webapp/skins/next/js/next.js
View file @
697c49f8
...
...
@@ -17,7 +17,7 @@
* @fileoverview util and every page should be used.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.
2.1.0, Sep 6, 2016
* @version 0.
3.1.0, Feb 17, 2017
*/
/**
...
...
@@ -87,6 +87,10 @@ var NexT = {
'
right
'
:
'
0
'
});
},
500
);
$
(
'
body
'
).
on
(
'
click
'
,
'
.article-body img
'
,
function
()
{
window
.
open
(
this
.
src
);
});
});
},
initArticle
:
function
()
{
...
...
src/main/webapp/skins/next/macro-comments.ftl
View file @
697c49f8
...
...
@@ -132,7 +132,7 @@
if (commentable) {
commentHTML += '<a class="fn-right" href="javascript:replyTo(\'' + result.oId + '\');">${replyLabel}</a>';
}
commentHTML += '</div><div class="comment-content">' +
commentHTML += '</div><div class="comment-content
post-body article-body
">' +
Util.replaceEmString($("#comment" + state).val())
+ '</div></div></li>';
return commentHTML;
...
...
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