mirror of https://gitee.com/karson/fastadmin.git
parent
f463fa980a
commit
0e41ecf6eb
|
|
@ -98,6 +98,16 @@ html.ios-fix body {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 991px) {
|
||||||
|
.main-header .navbar-custom-menu a.btn-danger {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #e74c3c;
|
||||||
|
}
|
||||||
|
.main-header .navbar-custom-menu a.btn-primary {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2c3e50;
|
||||||
|
}
|
||||||
|
}
|
||||||
.common-search-table {
|
.common-search-table {
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -22,9 +22,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
|
||||||
url: location.protocol === "https:" ? "addon/downloaded" : $.fn.bootstrapTable.defaults.extend.index_url,
|
url: location.protocol === "https:" ? "addon/downloaded" : $.fn.bootstrapTable.defaults.extend.index_url,
|
||||||
columns: [
|
columns: [
|
||||||
[
|
[
|
||||||
{field: 'id', title: 'ID'},
|
{field: 'id', title: 'ID', operate: false},
|
||||||
{field: 'name', title: __('Name')},
|
{field: 'name', title: __('Name'), operate: false},
|
||||||
{field: 'title', title: __('Title')}
|
{field: 'title', title: __('Title'), operate: 'LIKE'}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
dataType: 'jsonp',
|
dataType: 'jsonp',
|
||||||
|
|
|
||||||
|
|
@ -9978,7 +9978,6 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
|
||||||
buttonlink: function (column, buttons, value, row, index, type) {
|
buttonlink: function (column, buttons, value, row, index, type) {
|
||||||
var table = column.table;
|
var table = column.table;
|
||||||
type = typeof type === 'undefined' ? 'buttons' : type;
|
type = typeof type === 'undefined' ? 'buttons' : type;
|
||||||
// 操作配置
|
|
||||||
var options = table ? table.bootstrapTable('getOptions') : {};
|
var options = table ? table.bootstrapTable('getOptions') : {};
|
||||||
var html = [];
|
var html = [];
|
||||||
var url, classname, icon, text, title, extend;
|
var url, classname, icon, text, title, extend;
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,18 @@ html.ios-fix,html.ios-fix body {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 991px){
|
||||||
|
.main-header .navbar-custom-menu a{
|
||||||
|
&.btn-danger {
|
||||||
|
color:#fff;
|
||||||
|
background-color: @brand-danger;
|
||||||
|
}
|
||||||
|
&.btn-primary {
|
||||||
|
color:#fff;
|
||||||
|
background-color: @brand-primary;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.common-search-table {
|
.common-search-table {
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue