-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·99 lines (81 loc) · 2.54 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TSV to JSON</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/base.css">
<style type="text/css">
.col1, .col2 {
width: 48%;
margin: 0 1%;
float: left;
}
textarea {
box-sizing: border-box;
width: 100%%;
min-height: 200px;
}
.result {
width: 100%%;
border: 1px solid #999;
behavior:htmlarea;
cursor:text;
float: left;
min-height: 200px;
}
</style>
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body>
<div class="clearfix">
<div class="col1">
<h1>TSV to JSON</h1>
</div>
</div>
<div class="clearfix">
<div class="col1">
<h3>Input TSV</h3>
<textarea name="tsv-to-json" id="tsv-to-json" rows="10" class="tsv-to-json"></textarea>
</div>
<div class="col2">
<h3>Output JSON</h3>
<div name="json-result" id="json-result" rows="10" class="result json-result" ></div>
</div>
</div>
<br>
<br>
<br>
<br>
<br>
<div class="clearfix">
<div class="col1">
<h3>Input JSON</h3>
<textarea name="json-to-tsv" id="json-to-tsv" cols="90" rows="10" class="json-to-tsv"></textarea>
</div>
<div class="col2">
<h3>Output TSV</h3>
<div id="tsv-result" cols="90" rows="10" class="result tsv-result"></div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.0.min.js"><\/script>')</script>
<script src="js/tsvtojson.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32370432-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>