heavy.jsp
1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="a" uri="/WEB-INF/app.tld"%>
<%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="res" uri="http://www.unidal.org/webres"%>
<jsp:useBean id="ctx" type="com.dianping.cat.report.page.statistics.Context" scope="request"/>
<jsp:useBean id="payload" type="com.dianping.cat.report.page.statistics.Payload" scope="request"/>
<jsp:useBean id="model" type="com.dianping.cat.report.page.statistics.Model" scope="request"/>
<a:offline>
<res:useCss value='${res.css.local.table_css}' target="head-css" />
<script type="text/javascript">
$(document).ready(function() {
$('#heavy_report').addClass('active');
});
</script>
<div class="report">
<div class="breadcrumbs" id="breadcrumbs">
<script type="text/javascript">
try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
</script>
<span class="text-danger title">【报表时间】</span><span class="text-success"> ${w:format(model.heavyReport.startTime,'yyyy-MM-dd HH:mm:ss')} to ${w:format(model.heavyReport.endTime,'yyyy-MM-dd HH:mm:ss')}</span>
<div class="nav-search nav" id="nav-search">
<a href="?op=historyHeavy&domain=${model.domain}" class="switch"><span class="text-danger">【切到历史模式】</span></a>
<c:forEach var="nav" items="${model.navs}">
[ <a href="${model.baseUri}?op=heavy&date=${model.date}&step=${nav.hours}">${nav.title}</a> ]
</c:forEach>
[ <a href="${model.baseUri}?op=heavy">now</a> ]
</div>
</div>
</div>
<div class="row-fluid">
<div class="report">
<%@ include file="detail.jsp"%>
</div>
</div>
</a:offline>