-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (68 loc) · 2.55 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
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Java Menu Generator</title>
<meta name="Author" content="A frickin GENIUS"/>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://frontenddeveloping.github.io/pdfjs-dist/build/pdf.js"></script>
<script src="https://frontenddeveloping.github.io/pdfjs-dist/build/pdf.worker.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="pdf.js"></script>
<script src="beautify.js"></script>
<script src="download.js"></script>
<script src="script.js"></script>
</head>
<body>
<div id="container">
<h2 id="title">Java Menu Generator</h2>
<div id="input-section">
<div id="uploader-section">
<label for="uploader" style=""><span>[BETA]</span> Importar pdf do enunciado</label>
<input type="file" id="uploader">
<p id="pdf-status" class="hidden">A analizar
<span class="spin">↻</span>
</p>
</div>
<!--<input type=file id=uploader>-->
<label for="author">Autor</label>
<input type="text" id="author" placeholder="abcd.costa">
<label for="class-name">Classe principal</label>
<input type="text" id="class-name" placeholder="Calculator, TheBigQuestion...">
<label for="obj-name">Objeto principal</label>
<input type="text" id="obj-name" placeholder="calc">
<p>Comandos (switch)</p>
<div id="switch-menu">
<div class="case" id="case_1">
<div class="input-wrapper">
<label>Comando</label>
<input type="text" class="command" placeholder="CE">
</div>
<div class="input-wrapper">
<label>Constante</label>
<input type="text" class="const" value="COMMAND_1">
</div>
<div class="input-wrapper">
<label>Nome da função</label>
<input type="text" class="function" placeholder="ex: calcExpression">
</div>
<p>Precisa de:</p>
<div class="dependencies input-wrapper">
<label for="scanner_1">Scanner</label>
<input type="checkbox" id="scanner_1" class="check_scanner" checked>
<label for="obj_1">Objeto (ex:calc)</label>
<input type="checkbox" class="check_obj" id="obj_1" checked>
</div>
<p class="btn remove-btn">Remover</p>
</div>
</div>
<p id="add-case" class="btn">Adicionar +1</p> <span class="shortcut">(CTRL + Q)</span>
<label for="exit-cmd">Comando para sair</label>
<input type="text" id="exit-cmd" value="SAIR" placholder="SAIR">
</div>
<pre name="" id="text-area"></pre>
<p class="btn" id="create-btn">Criar Main</p>
</div>
</body>
</html>