-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (77 loc) · 2.5 KB
/
index.html
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Exporter</title>
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"/>
<link rel="stylesheet" href="bower_components/components-font-awesome/css/font-awesome.css"/>
<!-- endbower -->
</head>
<body>
<div class="container">
<h2>Exporter</h2>
<section class="content">
<div id="content_tbl">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>#</th>
<th>Firstname</th>
<th>Lastname</th>
<th>City</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Asitha</td>
<td>Vajirapani</td>
<td>Piliyandala</td>
<td>Sri Lanka</td>
</tr>
<tr>
<td>2</td>
<td>Charith</td>
<td>De Silva</td>
<td>Ratmalana</td>
<td>Sri Lanka</td>
</tr>
<tr>
<td>3</td>
<td>Kusal</td>
<td>Kavinda</td>
<td>Colombo</td>
<td>Sri Lanka</td>
</tr>
<tr>
<td>4</td>
<td>Nuwan</td>
<td>Tharinda</td>
<td>Colombo</td>
<td>Sri Lanka</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
</div>
<!-- bower:js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<!-- endbower -->
<script type="text/javascript" src="js/exporter.js"></script>
<script type="text/javascript">
$('body').exporter({
_id: "content_tbl",//container id
_align: "text-right",//display
_type: [1, 2],//1=> EXL , 2=> PDF
_file: "Report"//File name xls
});
</script>
</body>
</html>