-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 2.09 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 2.09 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Acceptance Rate Calculator</title>
<link rel="stylesheet" href="styles.css">
<link rel="manifest" href="manifest.json">
<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=Lobster&display=swap" rel="stylesheet">
</head>
<body>
<div class="intro">Stil1rem</div>
<div class="display-container">
<div class="display green-display">
Accepting: <span id="accept-count">0</span>
<button class="reset-button" onclick="resetCount('accept')">Reset</button>
</div>
<div class="display red-display">
Declined: <span id="decline-count">0</span>
<button class="reset-button" onclick="resetCount('decline')">Reset</button>
</div>
</div>
<div class="adjustmentButton">
<button id="adjustmentButton">Calculation Adjustment</button>
</div>
<div class="calculator">
<div id="acceptance-rate" class="display">Acceptance Rate: 0.00%</div>
<div class="cells">
<!-- Ячейки будут динамически добавлены с помощью JavaScript -->
</div>
<div class="buttons">
<button class="button accept" onclick="paint('green')">Accepting</button>
<button class="button decline" onclick="paint('red')">Declined</button>
</div>
</div>
</div>
<!-- <div class="button-container">
<button class="undo-button" onclick="undo()">Шаг назад</button>
<button class="redo-button" onclick="redo()">Шаг вперёд</button>
</div> -->
<div id="toggle-switch" style="position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background-color: rgba(30, 30, 30, 0.8); padding: 10px; border-radius: 5px; cursor: pointer; color: #e0e0e0; font-family: 'Lobster';">Toggle Lock</div>
<script src="script.js"></script>
</body>
</html>