-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (53 loc) · 1.27 KB
/
Copy pathindex.html
File metadata and controls
56 lines (53 loc) · 1.27 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title>CSV Parser</title>
<style>
body {
margin: 0px;
padding: 0px;
text-align: center;
font-family: arial;
}
span{
font-size: 20px;
}
#dataTable{
width: 50%;
margin: 50px auto;
border: 2px solid black;
}
td{
border: 1px solid black;
height: 20px;
width: 5%;
}
#headRow td{
border:none;
padding: 5px 0px;
border-right: 1px solid black;
border-left: 1px solid black;
border-bottom: 3px solid black;
background-color: #0065BD;
color: white;
}
</style>
<script src="./csvScript.js"></script>
</head>
<body>
<h1>CSV Reader</h1>
<span>Select a file: </span><input onchange="handleFiles(this.files)" id="fileUpload" type="file" name="myFile" accept=".csv"><br>
<div id="dataTable">
<table cellspacing="0" cellpadding="0" id="mainTable">
<tr id="headRow">
<td data-id="cellName">Name</td>
<td data-id="cellAvgDuration">Avg Duration</td>
<td data-id="cellWrap">Wrap-up</td>
<td data-id="cellAvgTime">Avg Time</td>
<td data-id="cellAvgCalls">Avg Calls</td>
<td data-id="cellTotalCalls">Total Calls</td>
</tr>
</table>
</div>
</body>
</html>