-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
330 lines (313 loc) · 12.1 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>homebank-converter</title>
<link href="res/favicon.ico" type="image/x-icon" rel="icon" />
<link href="res/hc128px.png" rel="apple-touch-icon">
<!--
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="css/lavish-bootstrap.css" rel="stylesheet" />
<link href="css/hc.css" rel="stylesheet" />
-->
</head>
<body>
<div class="container">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a id="btnHome" class="navbar-brand" href="#">homebank-converter</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Banks <span class="caret"></span></a>
<ul id="dropdownMenu" class="dropdown-menu" role="menu">
<li class="divider"></li>
<li><a id="menuOtherBanks" href="#">Other banks</a>
</li>
</ul>
</li>
<li id="menuOptimizer"><a id="btnOptimizer" href="#">XHB Optimizer</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="menuAbout"><a id="btnAbout" href="#"">About</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="home">
<div class="jumbotron">
<div class="pull-left">
<h2>homebank-converter</h2>
<p>A web app to convert an export bank file to compatible <a href="http://homebank.free.fr/">Homebank</a> csv.</p>
<p>Use the menu to select a bank, then upload the file to convert.</p>
<!--[if lt IE 9]>
<p>Your browser is not supported. Choose one of following option :</p>
<ul>
<li><a href="http://www.mozilla.org/en-US/firefox/new/">Use Mozilla Firefox</a></li>
<li><a href="https://www.google.com/intl/en_us/chrome/browser/">Use Google Chrome</a></li>
<li><a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie">Upgrade to Microsoft Internet Explorer 9 or newer</a></li>
</ul>
<![endif]-->
</div>
<div class="pull-left visible-xs visible-sm">
<p></p>
<img class="img-rounded" src="res/hc128px.png" alt="hc logo" />
</div>
<div class="pull-right hidden-xs hidden-sm">
<p></p>
<img class="img-rounded" src="res/hc128px.png" alt="hc logo" />
</div>
<div class="clearfix"></div>
</div>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left media-middle">
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span><!--glyphicon-eye-open-->
</div>
<div class="media-body">
<h4 class="media-heading">hc respects your privacy</h4>
It does <u>not</u> record any data, track events or whatever.
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left media-middle">
<span class="glyphicon glyphicon-random" aria-hidden="true"></span>
</div>
<div class="media-body">
<h4 class="media-heading">hc is free and open source</h4>
Download the app or read the source on <a href="https://github.com/Binnette/homebank-converter">GitHub</a>.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="converter" class="row" style="display: none;">
<div class="col-xs-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
<strong id="bankName">BankName</strong>
</h3>
</div>
<div class="panel-body">
<p>Supported file(s): <span id="supportedFiles">csv, tsv</span>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h3 class="panel-title">
<label for="btnBrowseConvert">1. Select a file</label>
</h3>
</div>
<div class="panel-body">
<button id="btnBrowseConvert" type="button" class="btn btn-lg btn-default">
<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> Browse
</button>
<input id="inputConvert" type="file" name="File to convert" style="display:none">
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h3 class="panel-title">
<label for="fileEncoding">2. Select an encoding</label>
</h3>
</div>
<div class="panel-body">
<select id="fileEncoding" class="form-control input-lg"></select>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h3 class="panel-title">
<label for="btnConvert">3. Press Convert</label>
</h3>
</div>
<div class="panel-body">
<button id="btnConvert" class="btn btn-lg btn-primary">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Convert
</button>
</div>
</div>
</div>
</div>
<div id="otherbanks" class="row" style="display: none;">
<div class="col-xs-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
<strong>File not supported?</strong>
</h3>
</div>
<div class="panel-body">
<p>Please submit an issue <a href="https://github.com/Binnette/homebank-converter/issues">here</a> by sending following:</p>
<ol>
<li>your file</li>
<li>your bank name</li>
<li>that’s all!</li>
</ol>
</div>
</div>
</div>
</div>
<div id="optimizer" class="row" style="display: none;">
<div class="col-xs-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
<strong>XHB Optimizer</strong>
</h3>
</div>
<div class="panel-body">
<p>Supported file: xhb</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-sm-offset-1">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h3 class="panel-title">
<label for="btnBrowseOptimize">1. Select a file</label>
</h3>
</div>
<div class="panel-body">
<button id="btnBrowseOptimize" type="file" class="btn btn-lg btn-default">
<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> Browse
</button>
<input id="inputOptimize" type="file" name="File to optimize" style="display:none">
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-sm-offset-2">
<div class="panel panel-default text-center hbc-criteria">
<div class="panel-heading">
<h3 class="panel-title">
<label for="btnOptimize">2. Press Optimize</label>
</h3>
</div>
<div class="panel-body">
<button id="btnOptimize" class="btn btn-lg btn-primary">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Optimize
</button>
</div>
</div>
</div>
</div>
<div id="about" class="row" style="display: none;">
<div class="col-xs-12 col-sm-8">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">homebank-converter</h3>
</div>
<div class="panel-body">
<p>A web app to convert an export bank file to compatible <a href="http://homebank.free.fr/">Homebank</a> csv.</p>
<p>Author: <a href="https://github.com/Binnette">Binnette</a>
</p>
<p>Version: v0.17.0 (2023-05-21)</p>
<p>Licence: <a href="https://opensource.org/licenses/MIT">MIT</a>
</p>
<a class="btn btn-primary" href="https://github.com/Binnette/homebank-converter" role="button">View project on GitHub</a>
<a class="btn btn-primary" href="tests.html" role="button">Run tests</a>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Successfully tested on</h3>
</div>
<div class="panel-body">
<ul>
<li><a href="https://www.mozilla.org/en-US/firefox/">Firefox 113</a>
</li>
<li><a href="http://www.chromium.org/">Chromium 113</a>
</li>
<li><a href="https://www.google.com/chrome">Chrome 113</a>
</li>
<li><a href="https://www.microsoft.com/en-us/windows/microsoft-edge">Edge 113</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-8">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Changelog</h3>
</div>
<div class="panel-body">
<ul id="changelog"></ul>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Librairies credits</h3>
</div>
<div class="panel-body">
<ul>
<li><a href="http://jquery.com/">jQuery 3.7.0</a>
</li>
<li><a href="https://getbootstrap.com/docs/3.4/">Bootstrap 3.4.1</a>
</li>
<li><a href="https://github.com/eligrey/FileSaver.js">FileSaver.js 2.0.5</a>
</li>
<li><a href="http://momentjs.com/">Moment.js 2.29.4</a>
</li>
<li><a href="http://qunitjs.com/">QUnit 2.19.4</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 id="modal-title" class="modal-title">Error</h4>
</div>
<div id="modal-body" class="modal-body">
<p></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
<script src="js/app.js" type="module"></script>
</body>
</html>