-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (64 loc) · 3.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="js/calculator/Complex.js"></script>
<script src="js/calculator/Vector.js"></script>
<script src="js/calculator/Matrix.js"></script>
<script src="js/calculator/RealCalculator.js"></script>
<script src="js/calculator/ComplexCalculator.js"></script>
<script src="js/calculator/VectorCalculator.js"></script>
<script src="js/calculator/MatrixCalculator.js"></script>
<script src="js/calculator/Calculator.js"></script>
<script src="js/calculator/CalculatorMenu.js"></script>
<script src="js/polynomial/Member.js"></script>
<script src="js/polynomial/Polynomial.js"></script>
<script src="js/polynomial/PolynomialCalculator.js"></script>
<script src="js/polynomial/PolynomialMenu.js"></script>
<script src="js/misc/main.js"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/calculator.css">
<link rel="stylesheet" href="css/topbar.css">
<title>Калькулятор</title>
</head>
<body>
<div class="grid-container">
<div id="topbar">
<button class="topbar-btn text btn-stl" data-content="calculator">Калькулятор</button>
<button class="topbar-btn text btn-stl" data-content="polynomial">Полиномы</button>
</div>
<div id="content">
<div class="content-item" id="calculator">
<div id="calc-wrapper" class="wrapper">
<textarea id="calc-num1" placeholder="A" class="text"></textarea>
<textarea id="calc-num2" placeholder="B" class="text"></textarea>
<div id="calc-op-wrapper" class="op-wrapper">
<button class="btn-stl calc-op text" data-operand="add">A+B</button>
<button class="btn-stl calc-op text" data-operand="sub">A-B</button>
<button class="btn-stl calc-op text" data-operand="mult">A·B</button>
<button class="btn-stl calc-op text" data-operand="prod">A*B</button>
<button class="btn-stl calc-op text" data-operand="div">A/B</button>
<button class="btn-stl calc-op text" data-operand="pow">A<sup>B</sup></button>
</div>
<textarea id="calc-result" placeholder="=" class="text"></textarea>
</div>
</div>
<div class="content-item hidden" id="polynomial">
<div id="poly-wrapper" class="wrapper">
<textarea id="poly-num1" placeholder="P" class="text"></textarea>
<textarea id="poly-num2" placeholder="Q" class="text"></textarea>
<div id="poly-op-wrapper" class="op-wrapper">
<button class="btn-stl poly-op text" data-operand="add">P+Q</button>
<button class="btn-stl poly-op text" data-operand="sub">P-Q</button>
<button class="btn-stl poly-op text" data-operand="mult">P·Q</button>
<button class="btn-stl poly-x text">P(Q)</button>
</div>
<textarea id="poly-result" placeholder="=" class="text"></textarea>
</div>
</div>
</div>
</div>
</body>
</html>