重构代码:移除查询字典表维护页面Card区域的Id设置

This commit is contained in:
Argo-MacBookPro 2018-08-31 14:54:10 +08:00
parent 662f4481dd
commit a1fe242dfe
4 changed files with 2 additions and 11 deletions

View File

@ -59,8 +59,8 @@
<button id="btn_edit" type="button" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i><span>编辑</span></button> <button id="btn_edit" type="button" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i><span>编辑</span></button>
@RenderSection("toolbar", false) @RenderSection("toolbar", false)
</div> </div>
<div id="panelResult" class="card"> <div class="card">
<div id="panelResultHeader" class="card-header"> <div class="card-header">
查询结果 查询结果
</div> </div>
<div class="card-body"> <div class="card-body">

View File

@ -1,8 +1,4 @@
@media (min-width: 375px) { @media (min-width: 375px) {
.hidden-375 {
display: inline-block;
}
.toolbar .dropdown-menu a { .toolbar .dropdown-menu a {
padding: 0 20px; padding: 0 20px;
} }

View File

@ -18,10 +18,6 @@
font-weight: 600; font-weight: 600;
} }
.hidden-375 {
display: none;
}
.clearcache { .clearcache {
position: absolute; position: absolute;
right: 60px; right: 60px;

View File

@ -1,5 +1,4 @@
$(function () { $(function () {
$('#panelResultHeader').html('查询结果<span class="hidden-375 text-danger">(仅 Administrators 角色成员可删除数据)<span>');
var bsa = new BootstrapAdmin({ var bsa = new BootstrapAdmin({
url: Dicts.url, url: Dicts.url,
dataEntity: new DataEntity({ dataEntity: new DataEntity({