-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (200 loc) · 7.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="XML Tables" content="XML Tables" />
<meta
name="XML Parser| XML Tables| XML formatter"
content="xml-tables, xml-parser, xml-syntax-highlighter"
/>
<meta
description="description"
content=" Online Free XML Parser| XML Tables| XML formatter | Convert your local XML file into a HTML table, instantly search tabular data and visualize using d3 force graphs"
/>
<title>XML Tables Online</title>
<!-- Google fonts CSS -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<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=Source+Sans+Pro:wght@300&display=swap"
rel="stylesheet"
/>
<!-- Bootstrap core CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<!-- Highlight JS CSS -->
<link
rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/default.min.css"
/>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/xml-tables-online.css" />
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<main>
<div class="container-fluid p-1 d-flex flex-column" id="app-container">
<div class="row" id="app-title-row">
<div class="col-md-12 d-flex justify-content-center" id="app-title">
XML Tables
</div>
</div>
<div class="row justify-content-center" id="file-input-row">
<div class="col-md-6 d-flex flex-row justify-content-between">
<label
for="xml-file-input"
id="label-xml-file-input"
class="d-flex flex-column justify-content-center text-center"
>
<i class="bi bi-upload"></i>
</label>
<input
type="file"
name="xml-file-input"
id="xml-file-input"
onchange="onUploadFile(event)"
/>
<button
type="button"
class="btn ms-3 btn-custom"
onclick="onClickClipboard()"
>
<i class="bi bi-clipboard2"></i>
</button>
<button
type="button"
class="btn me-auto ms-3 btn-custom"
onclick="onReset()"
id="reset-btn"
hidden
>
<i class="bi bi-x"></i> Reset
</button>
<button type="button" class="btn ms-auto btn-custom">
<a
href="https://github.com/mar1boroman/xml-tables-online"
target="_blank"
><i class="bi bi-github" style="color: black"></i>
</a>
</button>
<button
type="button"
class="btn ms-3 btn-custom"
id="btn-tabular"
onclick="onClickTabular()"
>
<i class="bi bi-magic"></i> Tabular
</button>
</div>
</div>
<div
class="row justify-content-center flexbox"
id="input-output-panels-row"
>
<div class="col-md-6 d-flex flex-column">
<div
id="drag-and-drop-textarea"
class="flex-grow-1 d-flex overflow-auto"
ondrop="onXMLFileDrop(event)"
ondragover="dragOverHandler(event)"
>
<div id="xml-text"></div>
</div>
</div>
</div>
<div class="row" id="app-footer-row">
<footer>
<div
class="col-md-12 d-flex d-block-inline justify-content-center text-center"
>
<div class="d-flex inline-block m-2">
<script
src="https://platform.linkedin.com/in.js"
type="text/javascript"
>
lang: en_US
</script>
<script
type="IN/Share"
data-url="https://mar1boroman.github.io/xml-tables-online/"
></script>
</div>
<div class="d-flex inline-block m-2">
<a
class="github-button"
href="https://github.com/mar1boroman/xml-tables-online"
data-icon="octicon-star"
aria-label="Star marl1boroman/xml-tables-online on GitHub"
>Star</a
>
</div>
<div class="d-flex inline-block m-2">
<a
class="github-button"
href="https://github.com/mar1boroman/xml-tables-online/fork"
data-icon="octicon-repo-forked"
aria-label="Fork mar1boroman/xml-tables-online on GitHub"
>Fork</a
>
</div>
<div class="d-flex inline-block m-2">
<a
class="github-button"
href="https://github.com/mar1boroman"
aria-label="Follow @mar1boroman on GitHub"
>Follow @mar1boroman</a
>
</div>
<div class="d-flex inline-block m-2">
<a
href="https://twitter.com/share?ref_src=twsrc%5Etfw"
class="twitter-share-button"
data-text="Free Online Open Source XML to Table Converter | Convert XML to JSON and CSV | Visualize XML files as a Graph!"
data-url="https://mar1boroman.github.io/xml-tables-online/"
data-hashtags="xml,xmlparser,xmlconvertor,d3forcegraph,d3,opensource,free,developertools"
data-show-count="false"
>Tweet</a
>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
</div>
</div>
<div
class="col-md-12 d-flex d-block-inline justify-content-center text-center"
>
Made with <span style="color: #e63946">♥</span>
</div>
</footer>
</div>
</div>
</main>
<!-- Javascript Libraries used -->
<script src="js/xml-tables-online.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
crossorigin="anonymous"
></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
</body>
</html>