-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewer.xsl
36 lines (31 loc) · 1.46 KB
/
viewer.xsl
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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/Viewer">
<html>
<head>
<link rel="stylesheet" href="/static/css/bootstrap.min.css" media="screen" type="text/css" />
<link rel="stylesheet" href="/static/css/report.css" media="all" type="text/css" />
<script type="text/javascript" src="/static/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/static/js/report-app.js"></script>
<title>Samal Report <xsl:value-of select="Report/@reportname" /></title>
</head>
<body>
<div id="dpi"></div>
<div id="toolbar">
<nav class="btn-group" style="float:right;">
<a class="btn right" onclick="ZoomOut();" href="#"><i class="icon-zoom-out"></i></a>
<a class="btn right" onclick="FitSize(this);" href="#"><i class="icon-fullscreen"></i></a>
<a class="btn right" onclick="ZoomIn();" href="#"><i class="icon-zoom-in"></i></a>
</nav>
<nav class="btn-group" style="float:left">
<a class="btn left" onclick="window.location.reload()" href="#"><i class="icon-refresh"></i></a>
<a class="btn left" onclick="window.open(window.location.href);" href="#"><i class="icon-file"></i></a>
<a class="btn left" onclick="print();" href="#"><i class="icon-print"></i> Print</a>
</nav>
</div>
<xsl:apply-templates select="*"></xsl:apply-templates>
<div class="space" ></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>