mirror of https://gitee.com/karson/fastadmin.git
parent
b194c91398
commit
b7964f7aa9
|
|
@ -1,3 +1,10 @@
|
||||||
|
{if !$Think.get.mimetype}
|
||||||
|
<style>
|
||||||
|
#one .commonsearch-table{
|
||||||
|
padding-top:15px!important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{/if}
|
||||||
<div class="panel panel-default panel-intro">
|
<div class="panel panel-default panel-intro">
|
||||||
{if !$Think.get.mimetype}
|
{if !$Think.get.mimetype}
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<!-- 加载样式及META信息 -->
|
<!-- 加载样式及META信息 -->
|
||||||
{include file="common/meta" /}
|
{include file="common/meta" /}
|
||||||
</head>
|
</head>
|
||||||
<body class="hold-transition skin-green {$Think.config.fastadmin.adminskin} sidebar-mini fixed {:$Think.config.fastadmin.multipletab?'multipletab':''} {:$Think.config.fastadmin.multiplenav?'multiplenav':''}" id="tabs">
|
<body class="hold-transition {$Think.config.fastadmin.adminskin|default='skin-green'} sidebar-mini fixed {:$Think.config.fastadmin.multipletab?'multipletab':''} {:$Think.config.fastadmin.multiplenav?'multiplenav':''}" id="tabs">
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -990,6 +990,7 @@ table.table-nowrap thead > tr > th {
|
||||||
}
|
}
|
||||||
.sidebar .mobilenav a.btn-app i.fa {
|
.sidebar .mobilenav a.btn-app i.fa {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.sidebar .mobilenav a.btn-app span {
|
.sidebar .mobilenav a.btn-app span {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -101,6 +101,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
|
||||||
sortName: 'id',
|
sortName: 'id',
|
||||||
showToggle: false,
|
showToggle: false,
|
||||||
showExport: false,
|
showExport: false,
|
||||||
|
maintainSelected: true,
|
||||||
columns: [
|
columns: [
|
||||||
[
|
[
|
||||||
{field: 'state', checkbox: multiple, visible: multiple, operate: false},
|
{field: 'state', checkbox: multiple, visible: multiple, operate: false},
|
||||||
|
|
@ -117,7 +118,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
|
||||||
return value.replace(/\*/g, '%');
|
return value.replace(/\*/g, '%');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{field: 'createtime', title: __('Createtime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
|
{field: 'createtime', title: __('Createtime'), formatter: Table.api.formatter.datetime, datetimeFormat: 'YYYY-MM-DD', operate: 'RANGE', addclass: 'datetimerange', sortable: true},
|
||||||
{
|
{
|
||||||
field: 'operate', title: __('Operate'), events: {
|
field: 'operate', title: __('Operate'), events: {
|
||||||
'click .btn-chooseone': function (e, value, row, index) {
|
'click .btn-chooseone': function (e, value, row, index) {
|
||||||
|
|
@ -171,7 +172,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
|
||||||
return '<a href="' + row.fullurl + '" target="_blank" class="label bg-green">' + row.url + '</a>';
|
return '<a href="' + row.fullurl + '" target="_blank" class="label bg-green">' + row.url + '</a>';
|
||||||
},
|
},
|
||||||
filename: function (value, row, index) {
|
filename: function (value, row, index) {
|
||||||
return '<div style="width:200px;margin:0 auto;text-align:center;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">' + Table.api.formatter.search.call(this, value, row, index) + '</div>';
|
return '<div style="width:180px;margin:0 auto;text-align:center;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">' + Table.api.formatter.search.call(this, value, row, index) + '</div>';
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1223,6 +1223,7 @@ table.table-nowrap {
|
||||||
|
|
||||||
i.fa {
|
i.fa {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue