-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (41 loc) · 2.18 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Post CLA</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
</head>
<body>
<div class="controls">
<label><input type="radio" value="english" name="lang" checked> Inglês</label>
<label><input type="radio" value="spanish" name="lang"> Espanhol</label>
<label><input type="radio" value="german" name="lang"> Alemão</label>
<label><input type="radio" value="french" name="lang"> Francês</label>
<label><input type="radio" value="japanese" name="lang"> Japonês</label>
<label><input type="radio" value="portuguese" name="lang"> Português</label>
<div id="editor"></div>
<!-- <div> -->
<!-- <textarea name="data" cols="80" rows="20"></textarea> -->
<!-- </div> -->
<button class="btn-generate">Gerar</button>
<a href="/data.example.json" target="_blank">Ver dados de exemplo</a>
</div>
<div class="result">
<!-- dinamically via JS -->
</div>
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
<script src="https://demos.flesler.com/jquery/scrollTo/js/jquery.scrollTo-min.js"></script>
<script type="module" src="js/main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.36.2/ace.min.js" integrity="sha512-xylzfb6LZn1im1ge493MNv0fISAU4QkshbKz/jVh6MJFAlZ6T1NRDJa0ZKb7ECuhSTO7fVy8wkXkT95/f4R4nA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
var editor = ace.edit("editor");
editor.setTheme("ace/theme/solarized_light");
editor.session.setMode("ace/mode/json");
</script>
</body>
</html>