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
01fc3ee0
Commit
01fc3ee0
authored
Jan 11, 2016
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
eb568c30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
26 deletions
+23
-26
src/main/webapp/js/admin/latkeAdmin.js
src/main/webapp/js/admin/latkeAdmin.js
+22
-25
src/main/webapp/js/admin/latkeAdmin.min.js
src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
No files found.
src/main/webapp/js/admin/latkeAdmin.js
View file @
01fc3ee0
...
@@ -258,7 +258,7 @@ $.extend(Admin.prototype, {
...
@@ -258,7 +258,7 @@ $.extend(Admin.prototype, {
});
});
var
admin
=
new
Admin
();
/*
var
admin
=
new
Admin
();
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -357,7 +357,7 @@ admin.editors.articleEditor = {};
...
@@ -357,7 +357,7 @@ admin.editors.articleEditor = {};
admin
.
editors
.
abstractEditor
=
{};
admin
.
editors
.
abstractEditor
=
{};
admin
.
editors
.
pageEditor
=
{};
admin
.
editors
.
pageEditor
=
{};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -482,7 +482,7 @@ admin.editors.tinyMCE = {
...
@@ -482,7 +482,7 @@ admin.editors.tinyMCE = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -587,7 +587,7 @@ admin.editors.KindEditor = {
...
@@ -587,7 +587,7 @@ admin.editors.KindEditor = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -765,7 +765,7 @@ admin.editors.CodeMirror = {
...
@@ -765,7 +765,7 @@ admin.editors.CodeMirror = {
$
(
"
.markdown-preivew
"
).
remove
();
$
(
"
.markdown-preivew
"
).
remove
();
}
}
};
/*
};
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -879,7 +879,7 @@ $.extend(TablePaginate.prototype, {
...
@@ -879,7 +879,7 @@ $.extend(TablePaginate.prototype, {
}
}
});
});
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -893,13 +893,12 @@ $.extend(TablePaginate.prototype, {
...
@@ -893,13 +893,12 @@ $.extend(TablePaginate.prototype, {
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
/**
/**
* @fileoverview article for admin
* @fileoverview article for admin
*
*
* @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.2.4.
3, Dec 24, 2015
* @version 1.2.4.
4, Jan 7, 2016
*/
*/
admin
.
article
=
{
admin
.
article
=
{
currentEditorType
:
''
,
currentEditorType
:
''
,
...
@@ -1368,10 +1367,8 @@ admin.article = {
...
@@ -1368,10 +1367,8 @@ admin.article = {
return
;
return
;
}
}
var
t
=
new
Date
().
getTime
();
$
(
'
#articleUpload
'
).
after
(
'
<div id="uploadContent"><a target="_blank" href="http://
'
+
qiniu
.
qiniuDomain
+
qiniuKey
+
'
">[
'
+
data
.
files
[
0
].
name
+
'
]</a> http://
'
$
(
'
#articleUpload
'
).
after
(
'
<div id="uploadContent"><a target="_blank" href="http://
'
+
qiniu
.
qiniuDomain
+
qiniuKey
+
'
?
'
+
t
+
qiniu
.
qiniuDomain
+
qiniuKey
+
'
</div>
'
);
+
'
">[
'
+
data
.
files
[
0
].
name
+
'
]</a> http://
'
+
qiniu
.
qiniuDomain
+
qiniuKey
+
'
?
'
+
t
+
'
</div>
'
);
},
},
fail
:
function
(
e
,
data
)
{
fail
:
function
(
e
,
data
)
{
alert
(
"
Upload error:
"
+
data
.
errorThrown
);
alert
(
"
Upload error:
"
+
data
.
errorThrown
);
...
@@ -1563,7 +1560,7 @@ admin.register.article = {
...
@@ -1563,7 +1560,7 @@ admin.register.article = {
$
(
"
#tipMsg
"
).
text
(
""
);
$
(
"
#tipMsg
"
).
text
(
""
);
}
}
};
/*
};
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -1693,7 +1690,7 @@ admin.comment = {
...
@@ -1693,7 +1690,7 @@ admin.comment = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -1842,7 +1839,7 @@ admin.register["article-list"] = {
...
@@ -1842,7 +1839,7 @@ admin.register["article-list"] = {
"
init
"
:
admin
.
articleList
.
init
,
"
init
"
:
admin
.
articleList
.
init
,
"
refresh
"
:
admin
.
articleList
.
getList
"
refresh
"
:
admin
.
articleList
.
getList
}
/*
}
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -1955,7 +1952,7 @@ admin.register["draft-list"] = {
...
@@ -1955,7 +1952,7 @@ admin.register["draft-list"] = {
"
init
"
:
admin
.
draftList
.
init
,
"
init
"
:
admin
.
draftList
.
init
,
"
refresh
"
:
admin
.
draftList
.
getList
"
refresh
"
:
admin
.
draftList
.
getList
};
/*
};
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -2402,7 +2399,7 @@ admin.register["page-list"] = {
...
@@ -2402,7 +2399,7 @@ admin.register["page-list"] = {
"
refresh
"
:
admin
.
pageList
.
getList
"
refresh
"
:
admin
.
pageList
.
getList
}
}
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -2529,7 +2526,7 @@ admin.register.others = {
...
@@ -2529,7 +2526,7 @@ admin.register.others = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -2879,7 +2876,7 @@ admin.register["link-list"] = {
...
@@ -2879,7 +2876,7 @@ admin.register["link-list"] = {
"
init
"
:
admin
.
linkList
.
init
,
"
init
"
:
admin
.
linkList
.
init
,
"
refresh
"
:
admin
.
linkList
.
getList
"
refresh
"
:
admin
.
linkList
.
getList
}
/*
}
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -3183,7 +3180,7 @@ admin.register["preference"] = {
...
@@ -3183,7 +3180,7 @@ admin.register["preference"] = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -3359,7 +3356,7 @@ admin.register["plugin-list"] = {
...
@@ -3359,7 +3356,7 @@ admin.register["plugin-list"] = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -3722,7 +3719,7 @@ admin.register["user-list"] = {
...
@@ -3722,7 +3719,7 @@ admin.register["user-list"] = {
admin
.
clearTip
();
admin
.
clearTip
();
}
}
}
/*
}
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -3872,7 +3869,7 @@ admin.register["comment-list"] = {
...
@@ -3872,7 +3869,7 @@ admin.register["comment-list"] = {
"
init
"
:
admin
.
commentList
.
init
,
"
init
"
:
admin
.
commentList
.
init
,
"
refresh
"
:
admin
.
commentList
.
getList
"
refresh
"
:
admin
.
commentList
.
getList
}
/*
}
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -4006,7 +4003,7 @@ admin.plugin = {
...
@@ -4006,7 +4003,7 @@ admin.plugin = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -4044,7 +4041,7 @@ admin.register.main = {
...
@@ -4044,7 +4041,7 @@ admin.register.main = {
}
}
};
};
/*
/*
* Copyright (c) 2010-201
5, b3log.org
* Copyright (c) 2010-201
6, b3log.org & hacpai.com
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
...
src/main/webapp/js/admin/latkeAdmin.min.js
View file @
01fc3ee0
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