Commit e5e95972 authored by Liang's avatar Liang

🎨 about #12412

parent bb5bd3f2
<div class="form margin12">
<input type="text" id="articleListInput">
<button class="search-btn" id="articleListBtn">${searchLabel}</button>
</div>
<div id="articleTable"> <div id="articleTable">
</div> </div>
<div id="articlePagination" class="right margin12"> <div id="articlePagination" class="right margin12">
......
...@@ -1008,7 +1008,7 @@ table.form th { ...@@ -1008,7 +1008,7 @@ table.form th {
} }
.module-panel .module-body li:hover { .module-panel .module-body li:hover {
background-color: #F5F5F5; background-color: #fafafa;
} }
.module-panel .module-body li a:hover { .module-panel .module-body li a:hover {
...@@ -1196,7 +1196,7 @@ button#submitArticle:hover { ...@@ -1196,7 +1196,7 @@ button#submitArticle:hover {
} }
.completed-panel a.selected { .completed-panel a.selected {
background-color: #f5f5f5; background-color: #fafafa;
color: #fa8564; color: #fa8564;
} }
...@@ -1365,8 +1365,8 @@ button#submitArticle:hover { ...@@ -1365,8 +1365,8 @@ button#submitArticle:hover {
} }
.table-heiglight td, .table-lineHover td { .table-heiglight td, .table-lineHover td {
background-color: #F5F5F5; background-color: #fafafa;
border-right-color: #F5F5F5; border-right-color: #fafafa;
} }
.table-expendRow td { .table-expendRow td {
...@@ -1443,6 +1443,13 @@ button#submitArticle:hover { ...@@ -1443,6 +1443,13 @@ button#submitArticle:hover {
width: 100%; width: 100%;
} }
.search-btn {
position: absolute;
top: 28px;
right: 27px;
border-radius: 0 4px 4px 0;
}
@media (max-width: 768px) { @media (max-width: 768px) {
#top > a { #top > a {
display: none; display: none;
......
...@@ -58,6 +58,11 @@ admin.articleList = { ...@@ -58,6 +58,11 @@ admin.articleList = {
this.tablePagination.initPagination(); this.tablePagination.initPagination();
this.tablePagination.initCommentsDialog(); this.tablePagination.initCommentsDialog();
this.getList(page); this.getList(page);
const that = this
$('#articleListBtn').click(function () {
that.getList(page);
});
}, },
/* /*
...@@ -68,7 +73,7 @@ admin.articleList = { ...@@ -68,7 +73,7 @@ admin.articleList = {
var that = this; var that = this;
$("#loadMsg").text(Label.loadingLabel); $("#loadMsg").text(Label.loadingLabel);
$.ajax({ $.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", type: "GET",
cache: false, cache: false,
success: function(result, textStatus){ success: function(result, textStatus){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment