-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (136 loc) ยท 4.26 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- ๋ฐ์ํ ์น์ ์ ์ฉํ๊ธฐ ์ํด ๋ฐ๋์ ํ์ํ meta viewport ์ค์ -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>timeqlife - Stopwatch</title>
<link href="style.css" rel="stylesheet" />
<script
src="https://kit.fontawesome.com/8351000410.js"
crossorigin="anonymous"
></script>
</head>
<body>
<header id="header">
<nav role="navigation">
<ul id="main-menu">
<li>
<i class="fas fa-solid fa-bars"></i>
<ul id="sub-menu">
<li>
<a href="./clock.html" aria-label="subemnu">Online Clock</a>
</li>
</ul>
</li>
</ul>
</nav>
<h2 data-lang="title">Online Stopwatch</h2>
<div id="setting">
<i class="fas fa-solid fa-gear"></i>
</div>
</header>
<div class="container" align="center">
<div class="full_screen">
<i class="fas fa-duotone fa-maximize" onclick="toggleFullScreen()"></i>
</div>
<div class="modal">
<div class="modal_body">
<div class="setting_name">SETTING</div>
<div class="check1" style="display: flex">
<label style="font-size: 17px" data-lang="HideTime"
>Hide Current Time</label
>
<input type="checkbox" id="hide_clock" />
</div>
<div class="check2" style="display: flex">
<label style="font-size: 17px" data-lang="HideMs"
>Hide Milliseconds</label
>
<input type="checkbox" id="hide_modal" />
</div>
<div class="check3" style="display: flex">
<label style="font-size: 17px" data-lang="DarkMode"
>Dark Mode</label
>
<input type="checkbox" id="darkmode" />
</div>
<div class="close">
<button
id="close_modal_btn"
style="
height: 35px;
width: 90%;
background-color: #b5cdb5;
font-weight: 400;
"
>
CLOSE
</button>
</div>
</div>
</div>
<div id="stopwatch_main">
<div id="current_time"></div>
<span id="hour">00</span>:<span id="min">00</span>:<span id="sec"
>00</span
>
<div><span id="tenMillisec">00</span></div>
</div>
<div class="button_container">
<div>
<button
id="startBtn"
style="background-color: #fde485"
data-lang="START"
>
START
</button>
<button
id="stopBtn"
style="background-color: #ff9648; display: none"
data-lang="STOP"
>
STOP
</button>
</div>
<div>
<button
id="resetBtn"
style="background-color: #b5cdb5;"
data-lang="RESET"
>
RESET
</button>
<button id="lapBtn" style="background-color: #318a9d; display: none" data-lang="LAP">
LAP
</button>
</div>
</div>
<div id="lap_record">
<table id="lap_table">
<tr class="table_header">
<th>#</th>
<th data-lang="TotalTime">Total Time</th>
</tr>
</table>
</div>
<div id="ads"></div>
<div id="descript">
<h2>Online Stopwatch?</h2>
<span data-lang="Discript"
>The online stopwatch can be started by pressing the <b>START</b> button. Press the <b>STOP</b> button to stop the operation.</br> The lap time is recorded when the <b>LAP</b> button is pressed during the stopwatch operation.</br> Press the <b>RESET</b> button if you want to reset.</span
>
</div>
</div>
<footer id="footer">
<div id="footer_content">
<span>timeqlife ยฉ2023</span>
</div>
</footer>
<script type="text/javascript" src="lang.js"></script>
<script type="text/javascript" src="time.js"></script>
<script type="text/javascript" src="stopwatch.js"></script>
<script type="text/javascript" src="modal.js"></script>
</body>
</html>