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