<!--{<*
 * log索引模板
 * create time: 2011-9-1 下午04:03:50
 * @version $Id: index.log.tpl 166 2011-09-05 06:53:30Z liqt $
 * @author LiQintao
*>}-->
<script type="text/javascript">
$(function(){
	// 鼠标悬停着色
	$("tr.data").mouseover(function(){$(this).addClass("over");}).mouseout(function(){$(this).removeClass("over");});
	load_system_info();// 加载系统信息
});
</script>

<style type="text/css">
/*鼠标悬停着色*/
tr.over td {
	background-color:#FFDEAD;
}
</style>

<div style="width:100%;">
	<form name="form_index" method="post">
		<table class="searchtable" width="100%">
			<caption>
				{<$btn_search>} {<$btn_reset>}
			</caption>
			<!--设置表格列宽所用 -->
	        <tr class="set_width">
	        	<td width="10%"></td>
	        	<td width="23.3%"></td>
				<td width="10%"></td>
				<td width="23.3%"></td>
				<td width="10%"></td>
	        	<td width="23.4%"></td>
	        </tr>
			<tr class="title">
				<td colspan="6">
					<span class="tip">查询选项</span>
				</td>
			</tr>
			<tr>
                <td style="text-align:right;">文本:</td>
                <td>{<$search_text>}</td>
                <td style="text-align:right;">时间:</td>
                <td colspan="3">{<$search_time_from>} - {<$search_time_to>}</td>
            </tr>
		</table>
		<br/>
		
		<table class="indextable" width="100%">
			<!--设置表格列宽所用 -->
	        <tr class="set_width">
                <td width="3%"></td>
                <td width="17%"></td>
                <td width="20%"></td>
                <td width="20%"></td>
                <td width="20%"></td>
                <td width="20%"></td>
            </tr>
			
			<tr class="title">
				<td colspan="6">
					<span class="tip">查询结果</span>
				</td>
			</tr>
			
			<tr>
				<td colspan="6">
					<table width=100% cellpadding="0" cellspacing="0">
						<tr>
	                		<td width="20%" style="text-align:left;">{<$index_page_prev>} {<$index_pages_select>} {<$index_steps_select>}</td>
	                		<td width="60%" style="text-align:center;">{<$index_page_tip>}</td>
	                		<td width="20%" style="text-align:right;">{<$index_page_next>}</td>
	                	</tr>
					</table>
				</td>
			</tr>
			
			<tr class="head">
				<td style="text-align:center">序号</td>
				<td style="text-align:center">{<$head_time_create>}</td>
				<td style="text-align:center">{<$head_task_comment>}</td>
				<td style="text-align:center">{<$head_execute_result>}</td>
				<td style="text-align:center">{<$head_app_name>}</td>
				<td style="text-align:center">{<$head_app_parameters>}</td>
			</tr>
			
	{<section name=i loop=$data_list start=0>}
			<tr class="data" style="{<$data_list[i].row_color>}">
				<td style="text-align:center;">
					<span style="font-weight:bold;color:blue;">{<$data_list[i].sn|string_format:"%02d.">}</span>
				</td>
				<td style="text-align:left;">
					<span style="color:red;">[创]{<$data_list[i].time_create>} {<$data_list[i].microseconds_create>}</span><br/>
					<span style="color:#68228B;">[获]{<$data_list[i].time_get>} {<$data_list[i].microseconds_get>}</span><br/>
					<span style="color:blue;">[派]{<$data_list[i].time_assign>} {<$data_list[i].microseconds_assign>}</span><br/>
					<span style="color:#B22222;">[始]{<$data_list[i].time_execute_start>} {<$data_list[i].microseconds_execute_start>}</span><br/>
					<span style="color:green;">[终]{<$data_list[i].time_execute_end>} {<$data_list[i].microseconds_execute_end>}</span>
				</td>
				<td style="text-align:left;">{<$data_list[i].task_comment>}</td>
				<td style="text-align:left;">{<$data_list[i].execute_result>}</td>
				<td style="text-align:left;">{<$data_list[i].app_name>}</td>
				<td style="text-align:left;">{<$data_list[i].app_parameters>}</td>
			</tr>
	{<sectionelse>}
			<tr>
				<td colspan="6" style="text-align:center">{<$text_no_data>}</td>
			</tr>
	{</section>}
		</table>
	</form>
</div>