-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
36 lines (36 loc) · 1.27 KB
/
app.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>XML Tagger</title>
<script src="app.js"></script>
<script src="tree.js"></script>
<script src="dialogs.js"></script>
<script src="file.js"></script>
<script src="search.js"></script>
<script src="XMLtoJSON.js"></script>
<script src="testXML.js"></script>
<link rel="stylesheet" href="style.css"/>
</head>
<body onload='main();' ondrop="disableDrop(event);">
<div id="appBar">
<div class="logo">XML<br>TAGGER</div>
<button onclick="showLoadFileDialog();">Load file</button>
<hr>
<button onclick="expandAll();" disabled id="expandButton">Expand All</button>
<button onclick="collapseAll();" disabled id="collapseButton">Collapse All</button>
<hr>
<button onclick="downloadXMLFile();" disabled id="saveXMLButton">Save XML</button>
<button onclick="exportJSONFile();" disabled id="exportJSONButton">Export JSON</button>
</div>
<div id="wrapper" onscroll="closeAllDialogs();" onclick="closeAllDialogs();">
<div id="header">
<h1>XML Tagger</h1>
<p style="margin-left: 10px;">Load a file to get started.</p>
</div>
<div id="tree"></div>
</div>
</body>
</html>