-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (110 loc) · 4.81 KB
/
Copy pathindex.html
File metadata and controls
116 lines (110 loc) · 4.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#0f172a" />
<meta name="mobile-web-app-capable" content="yes" />
<title>Statement Tools</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="favicon.svg" type="image/svg+xml" />
<link rel="manifest" href="manifest.webmanifest" />
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon-180.png" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main class="page">
<!-- Home view: tool selection -->
<section id="home-view" class="home-view">
<div class="hero">
<h1>Statement Tools</h1>
<p class="lede">
A collection of browser-based tools to parse bank and card statements into CSV.
</p>
</div>
<div id="tool-grid" class="tool-grid"></div>
<p class="footnote">* All processing happens locally. Your files never leave the browser.</p>
</section>
<!-- Tool view: parser workspace -->
<section id="tool-view" class="tool-view" hidden>
<div class="tool-nav">
<button id="back-btn" class="ghost back-btn" type="button">
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"/></svg> All Tools
</button>
</div>
<div class="hero">
<h1 id="tool-title"></h1>
<p id="tool-description" class="lede"></p>
<p id="shared-status" class="share-status" hidden></p>
</div>
<section class="card">
<div
id="dropzone"
class="dropzone"
role="button"
tabindex="0"
aria-label="Upload file"
>
<input id="file-input" type="file" multiple />
<div class="dropzone-content">
<div class="dropzone-icon">PDF</div>
<div>
<p class="dropzone-title">Drop your file here</p>
<p class="dropzone-subtitle">or click to choose files</p>
</div>
</div>
</div>
<div id="file-list" class="file-list"></div>
<template id="file-tile-template">
<div class="file-tile">
<div class="file-header">
<div class="file-meta">
<p class="file-name"></p>
<p class="file-status"></p>
</div>
<button class="ghost file-remove" type="button">Remove</button>
</div>
<div class="file-actions">
<a class="cta download-link" href="#" download hidden>Download CSV</a>
<button class="ghost preview-pdf-btn" type="button" hidden>Preview PDF</button>
<button class="ghost preview-csv-btn" type="button" hidden>Preview CSV</button>
<div class="password-inline" hidden>
<label>PDF password</label>
<input type="password" placeholder="Enter password" />
<button class="cta password-submit" type="button">Unlock</button>
</div>
</div>
<div class="preview-panel" hidden>
<div class="preview-header">
<p class="preview-title">Preview</p>
<button class="ghost preview-close" type="button">Close</button>
</div>
<div class="preview-body">
<div class="preview-pdf-view" hidden></div>
<div class="preview-csv-view" hidden></div>
</div>
</div>
</div>
</template>
</section>
<p class="footnote">* All processing happens locally. Your files never leave the browser.</p>
</section>
</main>
<template id="tool-card-template">
<button class="tool-card" type="button">
<span class="tool-card-icon"></span>
<div class="tool-card-body">
<p class="tool-card-name"></p>
<p class="tool-card-description"></p>
</div>
<svg class="tool-card-arrow" aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"/></svg>
</button>
</template>
<script type="module" src="app.js"></script>
</body>
</html>