-
Notifications
You must be signed in to change notification settings - Fork 1
/
XML_project.html
72 lines (63 loc) · 2.39 KB
/
XML_project.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
<!doctype html>
<html lang="pl">
<head>
<meta charset="utf-8">
<title>XML_AJAX_Web</title>
<meta name="description" content="Project with XML and data validation">
<meta name="author" content="Bartosz Durys">
<link rel="stylesheet" href="modal.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="panel-out">
<h3>Panel admina</h3>
<div class="panel-in">
<input id="types-window" type="checkbox" id="types" checked="checked"/>
<label for="types">Typy produktów</label><br>
<input id="manufacturerEl-window" type="checkbox" id="manufacturerEl" checked="checked"/>
<label for="manufacturerEl">Producenci</label><br>
<input id="item-window" type="checkbox" id="item" checked="checked"/>
<label for="item">Produkty</label><br>
</div>
</div>
<div class="types-window">
<div class="types-table">
<p>Tabela typów artykułów:</p>
<table id="types-grocery"></table>
</div>
</div>
<div class="manufacturerEl-window">
<div class="manufacturerEl-table">
<p>Tabela producentów:</p>
<table id="manufacturerEl-grocery"></table>
</div>
</div>
<div class="item-window">
<div class="item-table">
<p>Tabela produktami:</p>
<table id="item-grocery"></table>
</div>
</div>
<div class="item-window">
<div class="item-table">
<br>
<input id="XMLgenerator" type="button" value="Wygeneruj XML:"><br>
<textarea id="XMLtextarea" rows="5" cols="60" name="text" placeholder="Wygenerowany XML będzie tutaj"></textarea>
</div>
</div>
<div class="modal">
<div class="modal-content">
<p>Zanim wejdziesz, potwierdź nazwę pliku:</p>
<form action="javascript:void(0);" onsubmit="loadDoc(this)">
<input value="Grocery.xml" pattern="^[\w,\s-]+\.xml$">
<input type="submit" value="Pobierz dane z pliku XML" />
</form>
</div>
</div>
</body>
<script src="modal.js"></script>
<script src="xml2json.js"></script>
<script src="json2xml.js"></script>
<script src="dataHandler.js"></script>
<script src="displayHandler.js"></script>
</html>