+ table filterControl
This commit is contained in:
parent
c309cae61d
commit
151fbf3922
|
@ -313,13 +313,6 @@ span#login_widget > .button .badge,
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width:768px) {
|
||||
select.form-control {
|
||||
margin-left:12px;
|
||||
margin-right:12px;
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
*
|
||||
* IPython auth
|
||||
|
@ -3706,3 +3699,5 @@ div#notebook {
|
|||
overflow:visible;
|
||||
border-top:none;
|
||||
}
|
||||
|
||||
.filterControl .form-control { padding:0; }
|
File diff suppressed because one or more lines are too long
|
@ -16,6 +16,7 @@
|
|||
<script type="text/javascript" src="/lib/leaflet/leaflet.ChineseTmsProviders.js"></script>
|
||||
<script type="text/javascript" src="/lib/bootstrap-table/bootstrap-table.min.js"></script>
|
||||
<script type="text/javascript" src="/lib/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
|
||||
<script type="text/javascript" src="/lib/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/js/mod.js"></script>
|
||||
|
||||
|
|
|
@ -1596,6 +1596,7 @@
|
|||
sidePagination: 'client',
|
||||
pagination: 'true',
|
||||
pageSize: '20',
|
||||
filterControl: true,
|
||||
columns: [{
|
||||
field: 'admin_name',
|
||||
title: '所属市州'
|
||||
|
@ -1604,7 +1605,8 @@
|
|||
title: '评价单元'
|
||||
}, {
|
||||
field: 'obs_year',
|
||||
title: '年份'
|
||||
title: '年份',
|
||||
filterControl: 'select'
|
||||
}, {
|
||||
field: 'biological_abundance',
|
||||
title: '生物丰度指数'
|
||||
|
|
Loading…
Reference in New Issue