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
e5e95972
Unverified
Commit
e5e95972
authored
May 16, 2018
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
about #12412
parent
bb5bd3f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
src/main/webapp/admin-article-list.ftl
src/main/webapp/admin-article-list.ftl
+4
-0
src/main/webapp/css/default-admin.css
src/main/webapp/css/default-admin.css
+11
-4
src/main/webapp/js/admin/articleList.js
src/main/webapp/js/admin/articleList.js
+6
-1
No files found.
src/main/webapp/admin-article-list.ftl
View file @
e5e95972
<div class="form margin12">
<input type="text" id="articleListInput">
<button class="search-btn" id="articleListBtn">${searchLabel}</button>
</div>
<div id="articleTable">
</div>
<div id="articlePagination" class="right margin12">
...
...
src/main/webapp/css/default-admin.css
View file @
e5e95972
...
...
@@ -1008,7 +1008,7 @@ table.form th {
}
.module-panel
.module-body
li
:hover
{
background-color
:
#
F5F5F5
;
background-color
:
#
fafafa
;
}
.module-panel
.module-body
li
a
:hover
{
...
...
@@ -1196,7 +1196,7 @@ button#submitArticle:hover {
}
.completed-panel
a
.selected
{
background-color
:
#f
5f5f5
;
background-color
:
#f
afafa
;
color
:
#fa8564
;
}
...
...
@@ -1365,8 +1365,8 @@ button#submitArticle:hover {
}
.table-heiglight
td
,
.table-lineHover
td
{
background-color
:
#
F5F5F5
;
border-right-color
:
#
F5F5F5
;
background-color
:
#
fafafa
;
border-right-color
:
#
fafafa
;
}
.table-expendRow
td
{
...
...
@@ -1443,6 +1443,13 @@ button#submitArticle:hover {
width
:
100%
;
}
.search-btn
{
position
:
absolute
;
top
:
28px
;
right
:
27px
;
border-radius
:
0
4px
4px
0
;
}
@media
(
max-width
:
768px
)
{
#top
>
a
{
display
:
none
;
...
...
src/main/webapp/js/admin/articleList.js
View file @
e5e95972
...
...
@@ -58,6 +58,11 @@ admin.articleList = {
this
.
tablePagination
.
initPagination
();
this
.
tablePagination
.
initCommentsDialog
();
this
.
getList
(
page
);
const
that
=
this
$
(
'
#articleListBtn
'
).
click
(
function
()
{
that
.
getList
(
page
);
});
},
/*
...
...
@@ -68,7 +73,7 @@ admin.articleList = {
var
that
=
this
;
$
(
"
#loadMsg
"
).
text
(
Label
.
loadingLabel
);
$
.
ajax
({
url
:
latkeConfig
.
servePath
+
"
/console/articles/status/published/
"
+
pageNum
+
"
/
"
+
Label
.
PAGE_SIZE
+
"
/
"
+
Label
.
WINDOW_SIZE
,
url
:
latkeConfig
.
servePath
+
"
/console/articles/status/published/
"
+
pageNum
+
"
/
"
+
Label
.
PAGE_SIZE
+
"
/
"
+
Label
.
WINDOW_SIZE
+
'
?k=
'
+
$
(
'
#articleListInput
'
).
val
()
,
type
:
"
GET
"
,
cache
:
false
,
success
:
function
(
result
,
textStatus
){
...
...
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