-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
269 lines (249 loc) · 14.4 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
<!DOCTYPE html>
<!--
Copyright (C) 2022 Luke Melaia
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<html lang="en-us">
<head>
<title>Project CSV - Open & Edit .CSV Files</title>
<meta name="description" content="Open & edit .csv files online or offline,
quickly and easily with this simple Open Source viewer that protects your data and privacy.">
<!-- Common head tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="images/projectcsv-16.png"/>
<link rel="canonical" href="https://projectcsv.github.io/"/>
<!-- css -->
<link rel="stylesheet" type="text/css" href="css/index.css">
<!-- Bootstrap & jQuery -->
<script src="https://code.jquery.com/jquery-3.4.0.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Material Icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-light bg-light justify-content-between">
<a class="navbar-brand"><img src="images/projectcsv.png" alt="Project CSV logo" height="40"></a>
<form class="form-inline">
<a class="nav-item nav-link active" href="#">Home</a>
<a class="nav-item nav-link" href="#contact-section">Contact</a>
<a class="nav-item nav-link" href="#github-section">GitHub</a>
<a class="nav-item nav-link" href="#about-section">About</a>
</form>
</nav>
<!-- Controls -->
<div class="container">
<div class="row">
<div class="col-md-8 text-center controls">
<p class="basic-cs">
<button class="styleless" id="basic-controls-toggle">
<b>Basic CSV Settings</b>
<i class="material-icons" id="basic-controls-display">arrow_drop_down</i>
</button>
</p>
<!-- Basic Controls -->
<div id="basic-controls">
<form>
<div class="form-group">
<label for="upload">Select .csv files:</label>
<input class="btn btn-default" id="upload" type=file accept=".csv" name="files[]" size=30 multiple="multiple">
</div>
<div class="form-group">
<label for="first-row-header">Make first row column headers:</label>
<input id="first-row-header" type="checkbox" name="fr-headers" checked><br>
</div>
<div class="form-group">
<label for="first-row-include">Include first row along with colum headers:</label>
<input id="first-row-include" type="checkbox" name="fr-include"><br>
</div>
</form>
<button id="go" class="btn btn-primary">Go!</button>
<br/><br/>
</div>
</div>
<div class="col-md-3 text-center controls">
<p class="advanced-cs">
<button class="styleless" id="advanced-controls-toggle">
<b>Advanced CSV Settings</b>
<i class="material-icons" id="advanced-controls-display">arrow_drop_down</i>
</button>
</p>
<!-- Advanced Controls -->
<div id="advanced-controls">
<form>
<div class="form-group">
<label for="encoding">Encoding:</label>
<select id="encoding" name="encoding">
<option value="UTF-8">UTF-8</option>
<option value="UTF-16">UTF-16</option>
<option value="ISO-8859-1">ISO-8859-1</option>
</select>
</div>
<div class="form-group">
<label for="column-separator">Column separator</label>
<select id="column-separator" name="column-separator">
<option value=",">Comma (,)</option>
<option value=";">Semi-colon (;)</option>
<option value=":">Colon (:)</option>
<option value="|">Bar (|)</option>
<option value="^">Caret (^)</option>
<option value=" ">Space ( )</option>
<option value=".">Period (.)</option>
<option value="-">Dash (-)</option>
</select>
</div>
<div class="form-group">
<label for="max-rows">Max rows:</label>
<input id="max-rows" type="number" name="max-rows" min="0" value="0">
</div>
<div class="form-group">
<label for="quotes">Treat quoted text as a single cell:</label>
<input id="quotes" type="checkbox" name="quotes" checked><br>
</div>
<br/><br/>
</form>
</div>
</div>
</div>
<!-- Tables -->
<div class="tables text-center" id="tables">
<div class="text-center" id="instructions">
<h1 style="font-size: 32px;"><b>How to View and Edit CSV Files:</b></h1>
<div class="text-left" id="instructions-list">
<ol>
<li>Select the <code>.csv</code> file(s) you want to open.</li>
<li>Adjust the settings if need be.</li>
<li>Press <span class="btn btn-primary">Go!</span></li>
<li>Generated tables for the selected <code>.csv</code>
files will appear here.</li>
<li>The generated tables can then be edited
(the name included) by clicking on the text you want
to change.</li>
<li>The edited table can then be downloaded to your
computer
by pressing <span class="btn btn-default">
<i class="material-icons">save_alt</i></span>.</li>
</ol>
<ul>
<li>If you want to change any settings or load/reload
new <code>.csv</code> files, press
<span class="btn btn-primary">Refresh</span> with
the new settings or files.</li>
<li style="color: red;">Remember: Refreshing the page
will reset ANY changes to ALL tables</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Contact Section -->
<div id="contact-section" class="text-center section section-lightgrey">
<b style="font-size: 25px;">Contact</b>
<br>
<i class="material-icons" style="font-size: 50px;">contact_support</i>
<br><br>
<br><br>
If you would like to submit a bug report, request a feature,
or otherwise contact the developer regarding the website
<br><br>
<div class="container">
<div class="row">
<div class="col-md-12">
Post and submit your issue or question here on GitHub:
<br>
<br>
<a href="https://github.com/projectcsv/projectcsv.github.io/issues/new" class="btn btn-primary">
Submit on GitHub
</a>
<br><br>
</div>
</div>
</div>
<br><br>
(Requires a GitHub Account)
<br><br>
</div>
<!-- GitHub Section -->
<div id="github-section" class="text-center section">
<b style="font-size: 25px;">GitHub</b>
<br>
<img src="/images/GitHub-Mark-64px.png" alt="GitHub Logo" style="width: 50px;">
<br><br>
<div class="container">
<div class="row">
<div class="col-md-6">
<br><br>
<br><br>
Project CSV is completely open source, free to use, and committed to
user privacy and the ethical handling of their data. This means the
entire project, website, source code, and related content is hosted
on GitHub, free for everone to view, download, and have their say on.
Should you want to audit, inspect, modify, repurpose, or otherwise
obtain the project files and source code. Or post a question, concern,
or idea about the project.
<br><br>
If you would like to see more about the project, or submit a
post/question/bug report/feature/request or otherwise contact
the developer, this is the right place to go.
<br><br>
</div>
<div class="col-md-6">
<a href="https://github.com/projectcsv/projectcsv.github.io" class="btn btn-primary" style="width: 85%">
View Repository on GitHub</a>
<br><br>
<a href="https://github.com/projectcsv" class="btn btn-primary" style="width: 85%">
View Project CSV Organisation on GitHub</a>
<br><br>
<img src="images/projectcsv-github.png" alt="Picture of the Project CSV GitHub Page." style="width: 85%" class="boxshadow">
</div>
</div>
</div>
<br><br>
</div>
<!-- About Section -->
<div id="about-section" class="text-center section section-lightgrey">
<b style="font-size: 25px;">About</b>
<br>
<i class="material-icons" style="font-size: 50px;">info</i>
<br><br>
<p style="padding-left: 20%; padding-right: 20%;">
Project CSV is small and simple web application that makes it easy to view and edit
<code>.csv</code> files (or comma-separated values) anywhere using a browser, with a
sleek and easy to use interface that fits well on mobile and desktop. All file data is
processed locally on the users end, and does not get sent over the network, nor is any
other data collected, stored, or sent over the network. This makes it possible to download
the webpage for offline use as well - replacing the need for a desktop application. That's
also free, open source, and released freely under the
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html" title="Project CSV License"> GNU
General Public License v3</a>.
</p>
<a style="font-size: 18px;" href="https://en.wikipedia.org/wiki/Comma-separated_values" title="A comprehensive description of CSV and CSV files by Wikipedia.">
What is CSV?
</a>
</div>
<!-- Footer -->
<footer class="page-footer font-small">
<div class="footer-copyright text-center py-3">© 2022 Copyright:
<a>Luke Melaia</a>
</div>
</footer>
<!-- index.js & project csv api -->
<script src="js/index.js"></script>
<script src="js/projectcsv.js"></script>
</body>
</html>