-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.html
72 lines (71 loc) · 3.14 KB
/
readme.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="en">
<head>
<meta charset="UTF-8">
<title>JSONGrapher</title>
<script src="https://cdn.plot.ly/plotly-2.14.0.min.js"></script>
<!-- We use AJV for json validation. We use the 6.12.6 version because the later version had a compilation error. To reduce the external dependency, we have the source code on our github in he AJV folder, it is an under an MIT LICENSE, as noted in the LICENSE file of JSON Grapher.
<script src="https://cdnjs.cloudflare.com/ajax/libs/ajv/6.12.6/ajv.bundle.min.js" integrity="sha512-Xl0g/DHU98OkfXTsDfAAuTswzkniYQWPwLyGXzcpgDxCeH52eePfaHj/ictLAv2GvlPX2qZ6YV+3oDsw17L9qw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> -->
<script src="./AJV//6.12.6/ajv.bundle.min.js"></script>
<link rel="stylesheet" href="styles.css">
<script src="./UUC/app/convert.js"></script>
<script src="./UUC/app/convert_parse.js"></script>
<script src="./UUC/app/convert_macro.js"></script>
<script src="./UUC/app/data.js"></script>
<!-- We use showdown to convert markdown to html -->
<!-- Github https://github.com/showdownjs/showdown -->
<script src="https://cdn.jsdelivr.net/npm/showdown@2.1.0/dist/showdown.min.js"></script>
</head>
<body>
<header>
<div class="container">
<a href="index.html">
<div class="button active">
<p>JSONGrapher</p>
</div>
</a>
<a href="Manual.docx" target="_blank">
<div class="button">
<p>Manual</p>
</div>
</a>
<a href="https://github.com/AdityaSavara/JSONGrapher" target="_blank">
<div class="button">
<p>Source</p>
</div>
</a>
<a href="license.html">
<div class="button">
<p>License</p>
</div>
</a>
<a href="credits.html">
<div class="button">
<p>Credits</p>
</div>
</a>
</div>
</header>
<div class="page">
<div id="loadingSpinner">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: transparent; display: block; shape-rendering: auto;" width="64px" height="64px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
<circle cx="50" cy="50" fill="none" stroke="#39b2ab" stroke-width="7" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
</circle>
</svg>
</div>
</div>
<script>
// Get content from https://github.com/AdityaSavara/JSONGrapher/blob/main/README.md
document.addEventListener("DOMContentLoaded", function(event) {
fetch('https://raw.githubusercontent.com/AdityaSavara/JSONGrapher/main/README.md')
.then(response => response.text())
.then(text => {
let converter = new showdown.Converter();
let html = converter.makeHtml(text);
document.querySelector('.page').innerHTML = html;
});
});
</script>
</body>
</html>