mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改日志配置
This commit is contained in:
parent
062182848e
commit
f41a57874f
@ -33,7 +33,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $list as $key=>$vo}
|
||||
<tr data-dbclick>
|
||||
<tr>
|
||||
<td class='list-table-check-td think-checkbox'>
|
||||
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
|
||||
</td>
|
||||
@ -42,7 +42,7 @@
|
||||
操作节点:<span class="color-desc">{$vo.node|default='-'}</span>
|
||||
</td>
|
||||
<td class='text-left nowrap padding-row-0 padding-right-0'>
|
||||
<div style="overflow:auto;max-height:58px;padding:5px 0">
|
||||
<div class="inline-block" style="overflow:auto;max-height:58px;padding:5px 0">
|
||||
<p class="color-text layui-elip" style="max-width:550px">{$vo.action|default='-'}</p>
|
||||
<div class="color-desc layui-elip" style="white-space:normal">{$vo.content|default='-'}</div>
|
||||
</div>
|
||||
@ -51,22 +51,17 @@
|
||||
<p class="color-text">{$vo.geoip|default='-'}</p>
|
||||
<p class="color-desc">{$vo.isp|default='-'}</p>
|
||||
</td>
|
||||
<td class='text-left nowrap'>日期:{$vo.create_at|format_datetime|str_replace=' ','<br><span class="color-desc">时间:',###|raw}</span></td>
|
||||
<td class='text-left nowrap'>
|
||||
日期:{$vo.create_at|format_datetime|str_replace=' ','<br><span class="color-desc">时间:',###|raw}</span>
|
||||
</td>
|
||||
<td class='text-left nowrap'>
|
||||
{if auth("remove")}
|
||||
<a data-dbclick class="layui-btn layui-btn-xs layui-btn-danger" data-confirm="确定要删除该日志吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
{/if}
|
||||
<!--{if auth("remove")}-->
|
||||
<a class="layui-btn layui-btn-xs layui-btn-danger" data-confirm="确定要删除该日志吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
{/notempty}
|
||||
</table>
|
||||
|
||||
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
||||
|
||||
</div>
|
||||
|
||||
{/block}
|
||||
|
@ -17,7 +17,7 @@ return [
|
||||
// 默认语言
|
||||
'default_lang' => 'zh-cn',
|
||||
// 允许的语言列表
|
||||
'allow_lang_list' => [],
|
||||
'allow_lang_list' => ['zh-cn'],
|
||||
// 多语言自动侦测变量名
|
||||
'detect_var' => 'lang',
|
||||
// 是否使用 Cookie 记录
|
||||
|
Loading…
x
Reference in New Issue
Block a user