forked from penrosestudio/barclays-bank-pdf-to-csv
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
73 lines (73 loc) · 1.84 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
<!doctype html>
<html>
<head>
<style type="text/css">
/* Original HTML credit:
HTML5 File Drag & Drop demonstration
Featured on SitePoint.com, Craig Buckler (@craigbuckler) of OptimalWorks.net
*/
body {
font-family: "Segoe UI", Tahoma, Helvetica, freesans, sans-serif;
font-size: 90%;
margin: 10px;
color: #333;
background-color: #fff;
}
h1, h2 {
font-size: 1.5em;
font-weight: normal;
}
h2 {
font-size: 1.3em;
}
legend {
font-weight: bold;
color: #333;
}
#filedrag {
display: none;
font-weight: bold;
text-align: center;
padding: 1em 0;
margin: 1em 0;
color: #555;
border: 2px dashed #555;
border-radius: 7px;
cursor: default;
}
#filedrag.hover {
color: #f00;
border-color: #f00;
border-style: solid;
box-shadow: inset 0 3px 4px #888;
}
#messages {
padding: 0 10px;
margin: 1em 0;
border: 1px solid #999;
}
#the-canvas {
border: 1px solid black;
}
</style>
<script src="compatibility.js"></script>
<script src="pdf.combined.js"></script>
<script src="statement-parser-lib.js"></script>
</head>
<body>
<form id="upload" action="" method="POST" enctype="multipart/form-data">
<fieldset>
<legend>Barclays Bank statement PDF to CSV</legend>
<div>
<div id="filedrag">drop PDF file here - important: no information will leave your browser</div>
</div>
</fieldset>
</form>
<div id="messages">
<p>Status Messages</p>
</div>
<h2>Cover sheet of your bank statement will appear here</h2>
<canvas id="the-canvas" />
<script src="browser-parser.js"></script>
</body>
</html>