-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
70 lines (61 loc) · 3 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
<!DOCTYPE html>
<html lang="en" manifest="manifest.appcache">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="MobileOptimized" content="width">
<meta name="description" content="Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too.">
<meta name="HandheldFriendly" content="true">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="keywords" content="sort, json, alphabetically, sort json, sort json alphabetically, sort object alphabetically, JSON, lint">
<meta name="theme-color" content="#e6a117">
<meta name="msapplication-navbutton-color" content="#e6a117">
<meta name="apple-mobile-web-app-status-bar-style" content="#e6a117">
<title>JSON ABC - Sort JSON Alphabetically</title>
<link href="style/app.css" rel="stylesheet">
</head>
<body>
<div class="h">
<span>
<h2>JSON ABC</h2>
<h4>
<em>Sorts JSON alphabetically</em>
</h4>
</span>
<div class="ad">
<style> </style>
<link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet">
<a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/rath">
<img src="https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg" alt="Buy me a coffee">
<span style="margin-left:5px">Buy me a coffee</span>
</a>
</div>
</div>
<form onsubmit="appSort(event, 't')">
<div class="o mb10">
<span>Options: </span>
<input type="checkbox" id="noarray" name="noarray" value="true">
<label for="noarray">Spare plain Arrays</label>
<input type="checkbox" id="useTabs" name="useTabs" value="true">
<label for="useTabs">Use Tabs for indentation</label>
<input type="checkbox" id="arbComments" name="arbComments" value="true">
<label for="arbComments">Sort ARB file - Keep @comments ordered</label>
</div>
<div class="m">
<textarea id="t" class="t" name="jsonabc" placeholder="Paste your unsorted JSON here"
aria-label="Paste your unsorted JSON here" spellcheck="false" required aria-required="true"></textarea>
<input type="submit" class="f" value="SORT ABC" data-Was-onclick="sort()">
<p>
<h3 class="c">
<a href="https://github.com/ShivrajRath/jsonabc" target="_blank">Github</a>
<a href="https://novicelab.org/jsonsortdiff" target="_blank">JSON abc and diff</a>
</h3>
</p>
</div>
</form>
<script src="dist/jsonabc.js"></script>
<script src="src/app.js"></script>
</body>
</html>