Files
DzzOffice/admin/systemlog/template/list.htm

106 lines
3.7 KiB
HTML
Raw Normal View History

2022-11-02 23:21:46 +08:00
<!--{template common/header_simple_start}-->
2024-04-25 18:24:23 +08:00
<link rel="stylesheet" type="text/css" href="static/lyear/js/bootstrap-lyear-select/bootstrap-lyear-select.css?{VERHASH}">
2022-11-02 23:21:46 +08:00
<style>
input[type="text"] {
margin: 0;
}
.overflow-auto{
max-height: 80px;
}
.lie{
min-width: 130px
}
2022-11-02 23:21:46 +08:00
</style>
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container clearfix">
<div class="bs-left-container clearfix">
<!--{template left}-->
</div>
<div class="left-drager">
</div>
<div class="bs-main-container clearfix">
<div class="main-header clearfix" style="border-bottom:1px solid #e1e1e1">
<ul class="nav nav-pills">
2022-11-02 23:21:46 +08:00
<!--{loop $systemlog_setting $mark $info}-->
<!--{if $info[is_open]==1 }-->
<li class="nav-item">
<a hidefocus="true" class="nav-link <!--{if $operation==$mark }-->active<!--{/if}-->" href="{MOD_URL}&type=list&operation=$mark">{$info['title']}</a>
2022-11-02 23:21:46 +08:00
</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>
<div class="main-content">
<form id="cpform" action="{MOD_URL}&type=list&operation=$operation" class="form-horizontal form-horizontal-left" method="post" name="cpform">
2022-11-02 23:21:46 +08:00
<input type="hidden" value="{FORMHASH}" name="formhash">
<input type="hidden" name="lpp" value="$lpp">
<input type="hidden" name="keyword" value="$keyword">
<table class="table table-hover">
2022-11-02 23:21:46 +08:00
<thead>
<th class="lie">{lang operator}</th>
<th class="lie">{lang usergroup}</th>
<th class="lie">{lang ip}</th>
<th class="lie">{lang time}</th>
<th class="lie">{lang info}</th>
2022-11-02 23:21:46 +08:00
</thead>
<!--{if $list}-->
<!--{loop $list $key $log}-->
<tr>
<td>$log[2]</td>
<td>$log[3]</td>
<td>$log[4]</td>
<td>$log[1]</td>
<td>
<a href="javascript:;" onclick="togglecplog('{$key}')"><div class="overflow-auto">{eval echo cutstr($log[5], 200)}</div></a>
2022-11-02 23:21:46 +08:00
</td>
</tr>
<thead id="cplog_{$key}" style="display:none">
<td colspan="10">
{lang loginfo}<strong><code>$log[5]</code></strong>
<br/>{lang visit}<strong><code>$log[6]</code></strong>
<br/>{lang from}<strong><code>$log[7]</code></strong>
<br/>{lang Equipment information}<strong><code>$log[8]</code></strong></td>
2022-11-02 23:21:46 +08:00
</thead>
<!--{/loop}-->
<tr>
<td colspan="15">
<div class="pull-left input-group" style="width:130px;">
<span class="col-form-label">{lang logs_lpp}</span>
<select class="form-select" style="margin:0;width:60px;" onchange="if(this.options[this.selectedIndex].value != '') {this.form.lpp.value = this.options[this.selectedIndex].value;this.form.submit(); }">
2022-11-02 23:21:46 +08:00
<option value="10" $checklpp[10]> 10 </option>
<option value="20" $checklpp[20]> 20 </option>
<option value="40" $checklpp[40]> 40 </option>
<option value="80" $checklpp[80]> 80 </option>
</select>
</div>
$multipage
</td>
</tr>
<!--{else}-->
<tr>
<td colspan="5">{lang there_no_such_results}</td>
</tr>
<!--{/if}-->
</table>
</form>
<script type="text/javascript">
jQuery(document).ready(function (e) {
jQuery('select').lyearSelect({
width:70,
});
});
2022-11-02 23:21:46 +08:00
function togglecplog(k) {
var cplogobj = document.getElementById('cplog_' + k);
if(cplogobj.style.display == 'none') {
cplogobj.style.display = '';
} else {
cplogobj.style.display = 'none';
}
}
</script>
</div>
</div>
</div>
2024-04-25 18:24:23 +08:00
<script type="text/javascript" src="static/lyear/js/bootstrap-lyear-select/bootstrap-lyear-select.js?{VERHASH}"></script>
2022-11-02 23:21:46 +08:00
<!--{template common/footer_simple}-->