-
Notifications
You must be signed in to change notification settings - Fork 0
/
sums.html
77 lines (75 loc) · 3.49 KB
/
sums.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>
<title>Mighty Schools GetSum Export</title>
<link rel="stylesheet/less" href="components/bootstrap/less/bootstrap.less" media="all" />
<link rel="stylesheet/less" href="css/style.less" media="all" />
<script src="components/lessjs/less-1.3.3.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="http://www.datatables.net/release-datatables/media/js/jquery.dataTables.min.js"></script>
<script src="components/tabletools/js/tabletools.min.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-7833382-2"]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
//--><!]]>
$(document).ready(function() {
$('#entities-sums').dataTable( {
"bProcessing": true,
"sAjaxSource": "http://v3.api.getsum.net/entities/drupal/user.json?k=SSBMSUtFIFNFWCE&include_sums=1&rows=1",
"bDeferRender": true,
"sAjaxDataProp": "rows",
"sDom": 'T<"clear">lfrtip',
"oTableTools": {"sSwfPath": "components/tabletools/swf/copy_csv_xls_pdf.swf"},
"aoColumns": [
{ "mData": "entity_id" },
{ "mData": "points" },
{ "mData": "commission" },
{ "mData": "commission/newsletter" },
{ "mData": "commission/bonus" },
{ "mData": "mightyschool_newsletter_signup" },
{ "mData": "points/buyer_survey" },
{ "mData": "points/challenge" },
{ "mData": "points/challenge/2012-11/wk1" },
{ "mData": "points/challenge/2012-11/wk2" },
{ "mData": "points/challenge/2012-11" },
{ "mData": "points/challenge/2013-03/wk2" },
{ "mData": "points/challenge/2013-03" },
]
} );
} );
</script>
<style type="text/css" title="currentStyle">
@import "css/demo_page.css";
@import "css/demo_table.css";
@import "components/tabletools/css/tabletools.css";
</style>
</head>
<body>
<div class="container">
<h2>Mightynest GetSum Export</h2>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="entities-sums">
<thead>
<tr>
<th>Entity ID</th>
<th>Points</th>
<th>Commission</th>
<th>Newsletter Commission</th>
<th>bonus commission</th>
<th>mightyschool newsletter signups</th>
<th>points buyer_survey</th>
<th>points challenge</th>
<th>points challenge 2012-11 wk1</th>
<th>points challenge 2012-11 wk2</th>
<th>points challenge 2012-11</th>
<th>points challenge 2013-03 wk2</th>
<th>points challenge 2013-03</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<textarea id="debug" readonly="readonly" rows="10" class="span9" style="display: none;"></textarea>
<textarea id="transcations-txt" readonly="readonly" rows="10" class="span9" style="display: none;"></textarea>
</div>
</body>
</html>