You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
3.2 KiB
HTML

<extend name="Public/base" />
<block name="body">
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">查看行为日志</h3>
<p class="description_text"></p>
</div>
<div class="tabcon1711">
<form action="{:U()}" method="post" class="form-horizontal form_info_ml">
<div class="tab-pane in tab1">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="l">执行命令</td>
<td class="r">
{:L(get_action($info['action_id'], "title"))}
</td>
</tr>
<tr>
<td class="l">执行者</td>
<td class="r">
{:get_nickname($info['user_id'])}
</td>
</tr>
<tr>
<td class="l">执行者ip</td>
<td class="r">
{:long2ip($info['action_ip'])}
</td>
</tr>
<tr>
<td class="l">执行时间</td>
<td class="r">
{:date('Y-m-d H:i:s',$info['create_time'])}
</td>
</tr>
<tr>
<td class="l">备注</td>
<td class="r">
<textarea readonly="readonly">{$info.remark}</textarea>
</td>
</tr>
</table>
</div>
</form>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="Action/actionLog">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript" src="__STATIC__/jquery.dragsort-0.5.1.min.js"></script>
<script type="text/javascript" charset="utf-8">
Think.setValue("extend", {$info.extend|default=0});
//导航高亮
highlight_subnav('{:U('Action/actionlog')}');
$(function(){
showTab();
})
//拖曳插件初始化
$(function(){
$(".dragsort").dragsort({
dragSelector:'li',
placeHolderTemplate: '<li class="draging-place">&nbsp;</li>',
dragBetween:true, //允许拖动到任意地方
dragEnd:function(){
var self = $(this);
self.find('input').attr('name', 'field_sort[' + self.closest('ul').data('group') + '][]');
//updateVal();
}
});
$('#sortUl li b').click(function(){
$(this).parent().remove();
updateVal();
});
// 更新排序后的隐藏域的值
function updateVal() {
var fields = new Array();
$('.form_field_sort').each(function(){
var i = 1;
var self = this;
var group = $(self).attr('group');
$(self).find('li').each(function(){
var id = $(this).find('em').attr('data');
$('#field-' + id).val(id + ':' + group + ':' + i++);
});
});
}
})
</script>
</block>