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
45026d89
Commit
45026d89
authored
Sep 21, 2017
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
fixed #12345
parent
f6c7314e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
src/main/webapp/css/default-admin.min.css
src/main/webapp/css/default-admin.min.css
+1
-1
src/main/webapp/js/admin/latkeAdmin.js
src/main/webapp/js/admin/latkeAdmin.js
+13
-4
src/main/webapp/js/admin/latkeAdmin.min.js
src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
No files found.
src/main/webapp/css/default-admin.min.css
View file @
45026d89
This diff is collapsed.
Click to expand it.
src/main/webapp/js/admin/latkeAdmin.js
View file @
45026d89
...
...
@@ -2127,7 +2127,7 @@ admin.register["draft-list"] = {
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.
2.5, Apr 9
, 2017
* @version 1.2.
3.6, Sep 21
, 2017
*/
/* page-list 相关操作 */
...
...
@@ -2262,7 +2262,11 @@ admin.pageList = {
</div>
'
;
}
pageData
[
i
].
pageTitle
=
"
<a class='no-underline' href='
"
+
pages
[
i
].
pagePermalink
+
"
' target='_blank'>
"
+
var
pageIcon
=
''
;
if
(
pages
[
i
].
pageIcon
!==
''
)
{
pageIcon
=
"
<img class='navigation-icon' src='
"
+
pages
[
i
].
pageIcon
+
"
'/>
"
;
}
pageData
[
i
].
pageTitle
=
pageIcon
+
"
<a class='no-underline' href='
"
+
pages
[
i
].
pagePermalink
+
"
' target='_blank'>
"
+
pages
[
i
].
pageTitle
+
"
</a>
"
;
pageData
[
i
].
pagePermalink
=
"
<a class='no-underline' href='
"
+
pages
[
i
].
pagePermalink
+
"
' target='_blank'>
"
+
pages
[
i
].
pagePermalink
+
"
</a>
"
;
...
...
@@ -2305,6 +2309,7 @@ admin.pageList = {
$
(
"
#pageTitle
"
).
val
(
result
.
page
.
pageTitle
);
$
(
"
#pagePermalink
"
).
val
(
result
.
page
.
pagePermalink
);
$
(
"
#pageTarget
"
).
val
(
result
.
page
.
pageOpenTarget
);
$
(
"
#pageIcon
"
).
val
(
result
.
page
.
pageIcon
);
if
(
result
.
page
.
pageType
===
"
page
"
)
{
$
(
$
(
"
.fn-type
"
).
get
(
1
)).
click
();
}
else
{
...
...
@@ -2387,7 +2392,8 @@ admin.pageList = {
"
pagePermalink
"
:
pagePermalink
,
"
pageCommentable
"
:
$
(
"
#pageCommentable
"
).
prop
(
"
checked
"
),
"
pageType
"
:
admin
.
pageList
.
type
,
"
pageOpenTarget
"
:
$
(
"
#pageTarget
"
).
val
()
"
pageOpenTarget
"
:
$
(
"
#pageTarget
"
).
val
(),
"
pageIcon
"
:
$
(
"
#pageIcon
"
).
val
()
}
};
...
...
@@ -2406,6 +2412,7 @@ admin.pageList = {
admin
.
pageList
.
id
=
""
;
$
(
"
#pagePermalink
"
).
val
(
""
);
$
(
"
#pageTitle
"
).
val
(
""
);
$
(
"
#pageIcon
"
).
val
(
""
);
$
(
"
#pageCommentable
"
).
prop
(
"
cheked
"
,
false
);
$
(
"
#pageTarget
"
).
val
(
"
_self
"
);
$
(
$
(
"
.fn-type
"
).
get
(
0
)).
click
();
...
...
@@ -2453,7 +2460,8 @@ admin.pageList = {
"
pageCommentable
"
:
$
(
"
#pageCommentable
"
).
prop
(
"
checked
"
),
"
pageType
"
:
admin
.
pageList
.
type
,
"
pageOpenTarget
"
:
$
(
"
#pageTarget
"
).
val
(),
"
pageEditorType
"
:
admin
.
pageList
.
currentEditorType
"
pageEditorType
"
:
admin
.
pageList
.
currentEditorType
,
"
pageIcon
"
:
$
(
"
#pageIcon
"
).
val
()
}
};
...
...
@@ -2473,6 +2481,7 @@ admin.pageList = {
admin
.
pageList
.
getList
(
admin
.
pageList
.
pageInfo
.
currentPage
);
$
(
"
#pageTitle
"
).
val
(
""
);
$
(
"
#pageIcon
"
).
val
(
""
);
$
(
"
#pagePermalink
"
).
val
(
""
);
$
(
"
#pageCommentable
"
).
prop
(
"
cheked
"
,
false
);
$
(
"
#pageTarget
"
).
val
(
"
_self
"
);
...
...
src/main/webapp/js/admin/latkeAdmin.min.js
View file @
45026d89
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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