forked from IFRCGo/africa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CEA_REPORT.html
78 lines (66 loc) · 1.59 KB
/
CEA_REPORT.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>
<head>
<meta charset="utf-8">
<title>CEA Table</title>
<style>
body {
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
font-size: 10pt;
}
h2 {
clear: both;
}
@media only screen and (max-width: 750px) {
#tableCEA {
width: 100%;
}
}
#tableCEA{
border-spacing: 0px;
}
#tableCEA td, tr{
padding: 0px;
border: 1px solid lightgrey;
}
#tableCEA th{
background-color: #820202;
color: white;
}
.error {
color: red;
}
.button_list {
margin-top: 1rem;
}
.button {
cursor: pointer;
/*display: block;*/
width: 15rem;
margin-top: 0.4rem;
margin-left: 1rem;
border-radius: 0.4rem;
height: 1.5rem;
}
.button:hover {
background-color: #6280bf;
color: white;
}
</style>
</head>
<body>
<div class='button_list'>
<button class='button' onclick="exportData('xlsx','all_week');">Toutes données de cette semaine - XLSX</button>
<button class='button' onclick="exportData('xlsx','selected');">Toutes les données - XLSX</button>
</div>
<h2>CEA - Tableau de données</h2>
<div>
<table id="tableCEA" style="font-size: 10px"></table>
</div>
<script src="./assets/scripts/vendor/jquery.js"></script>
<!-- <script src="http://ifrcgo.org/assets/scripts/vendor/jquery.dataTables.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.14.0/xlsx.full.min.js"></script>
<script src="https://fastcdn.org/FileSaver.js/1.1.20151003/FileSaver.min.js"></script>
<script src="./js/cea_cod.js" type="text/javascript"></script>
</body>
</html>