-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (31 loc) · 1.4 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calculadora de Serviços</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.4/jspdf.min.js"></script>
<link rel="stylesheet" href="./style.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet">
</head>
<body>
<h1>Calculadora de Serviços</h1>
<form>
<label for="data">Data</label>
<input type="date" id="data" name="data"><br>
<label for="horas">Número de horas necessárias</label>
<input type="number" id="horas" name="horas"><br>
<label for="preco">Preço da hora</label>
<input type="number" id="preco" name="preco"><br>
<label for="servico">Serviço realizado</label>
<input type="text" id="servico" name="servico"><br>
<label for="solicitante">Solicitante</label>
<input type="text" id="solicitante" name="solicitante"><br>
<button type="button" id="calcular">Calcular</button>
<button type="button" id="gerar-pdf" disabled>Gerar PDF</button>
</form>
<p id="resultado"></p>
<script src="calculator.js"></script>
</body>
</html>