-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (48 loc) · 2.31 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
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Json - Xml Converter</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" href="static/site/favicon.png" type="image/gif" sizes="16x16">
</head>
<body class="container mt-3 d-flex flex-column" style="background-color: #ebebf4;">
<h1 class="text-center">JSON - XML CONVERTER</h1>
<div class="d-flex flex-column flex-md-row bg-white rounded">
<div class="mb-3 w-100">
<div class="p-4">
<label for="json-edit" class="form-label d-flex justify-content-start mb-0">Inserisci JSON</label>
<textarea wrap="off" class="form-control" id="json-edit" rows="15"
oninput="update('json', 'xml')"></textarea>
</div>
</div>
<div class="mb-3 w-100">
<div class="p-4">
<label for="xml-result" class="form-label d-flex justify-content-start mb-0">Risultato XML</label>
<textarea wrap="off" class="form-control" id="xml-result" rows="15" readonly
onclick="this.focus(); this.select()"></textarea>
</div>
</div>
</div>
<div class="d-flex flex-column flex-md-row bg-white rounded mt-3">
<div class="mb-3 w-100">
<div class="p-4">
<label for="xml-edit" class="form-label d-flex justify-content-start mb-0">Inserisci XML</label>
<textarea wrap="off" class="form-control" id="xml-edit" rows="15"
oninput="update('xml', 'json')"></textarea>
</div>
</div>
<div class="mb-3 w-100">
<div class="p-4">
<label for="json-result" class="form-label d-flex justify-content-start mb-0">Risultato JSON</label>
<textarea wrap="off" class="form-control" id="json-result" rows="15" readonly
onclick="this.focus(); this.select()"></textarea>
</div>
</div>
</div>
<script src="static/js/converter.js"></script>
</body>
</html>