-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (70 loc) · 3.66 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
73
74
75
76
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>Перевести Ватт-часы в Ампер-часы и обратно</title>
</head>
<body>
<div class="container">
<h2 class="text-center">Перевести Ватт-часы в Ампер-часы и обратно</h2>
<div class="wrapper d-flex flex-md-row justify-content-md-center flex-sm-column align-items-sm-center">
<div class="input-group">
<form name="form_1">
<table class="table table-borderless" width="100%">
<tr>
<td width="50%">Заряд, Ач =</td>
<td width="50%"><input type="text" name="t1" size="18"></td>
</tr>
<tr>
<td width="50%">Напряжение, В =</td>
<td width="50%"><input type="text" name="t2" size="18"></td>
</tr>
<tr>
<td width="50%"><input type="button" class="btn btn-primary btn-lg" value="Пример" name="B1"
onclick="primer()"></td>
<td width="50%"><input type="button" class="btn btn-secondary btn-lg"
value="Перевести в Втч" name="B2" onclick="raschet()"></td>
</tr>
<tr>
<td width="50%">Энергия, Втч =</td>
<td width="50%"><input type="text" name="t4" size="18"></td>
</tr>
</table>
</form>
</div>
<div class="input-group">
<form name="form_2">
<table class="table table-borderless" width="100%">
<tr>
<td width="50%">Энергия, Втч =</td>
<td width="50%"><input type="text" name="t5" size="18"></td>
</tr>
<tr>
<td width="50%">Напряжение, В =</td>
<td width="50%"><input type="text" name="t6" size="18"></td>
</tr>
<tr>
<td width="50%"><input type="button" class="btn btn-primary btn-lg" value="Пример" name="B1"
onclick="primer1()"></td>
<td width="50%"><input type="button" class="btn btn-secondary btn-lg" value="Перевести в Ач"
name="B2" onclick="raschet1()"></td>
</tr>
<tr>
<td width="50%">Заряд, Ач =</td>
<td width="50%"><input type="text" name="t8" size="18"></td>
</tr>
</table>
</form>
</div>
</div>
</div>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<script src="main.js"></script>
</body>
</html>