38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<!-- sheetjs (C) 2013-present SheetJS https://sheetjs.com -->
|
|
<!-- vim: set ts=2: -->
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https:">
|
|
<meta name="robots" content="noindex">
|
|
<title>SheetJS Electron Demo</title>
|
|
<style>
|
|
#drop{
|
|
border:2px dashed #bbb;
|
|
-moz-border-radius:5px;
|
|
-webkit-border-radius:5px;
|
|
border-radius:5px;
|
|
padding:25px;
|
|
text-align:center;
|
|
font:20pt bold,"Vollkorn";color:#bbb
|
|
}
|
|
a { text-decoration: none }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
<b><a href="https://sheetjs.com">SheetJS Electron Demo</a></b>
|
|
<br />
|
|
<button id="readBtn">Click here to select a file from your computer</button><br />
|
|
<div id="drop">Drop a spreadsheet file here to see sheet data</div>
|
|
<input type="file" name="xlfile" id="readIn" /> ... or click here to select a file
|
|
|
|
</pre>
|
|
<p><input type="submit" value="Export Data!" id="exportBtn" disabled="true"></p>
|
|
<div id="htmlout"></div>
|
|
<br />
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|