forked from CQYC-OIer/5-Timer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
57 lines (51 loc) · 2.73 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="An easy-to-use timer with user-friendly UI & rich features made by HTML, JavaScript and CSS.">
<meta name="keywords" content="timer, time, count, countdown, html, js, css, user-friendly">
<link rel="stylesheet" href="./assets/css/buttons.css">
<link rel="stylesheet" href="./assets/css/index.css">
<title>倒计时</title>
</head>
<body>
<h1 id="title">倒计时</h1>
<font face="Courier New">
<h1 id="timer" style="color: rgb(113, 201, 206);">
05:00.000
</h1>
</font>
<div id="modifyContainer">
<input type="text" id="minuteInput" placeholder="分钟(默认 5)" oninput="validateInput2(event)">
<input type="text" id="secondInput" placeholder="秒(默认 0)" oninput="validateInput2(event)">
<input type="text" id="millisecondInput" placeholder="毫秒(默认 0)" oninput="validateInput3(event)">
<button id="modifyButton" onclick="modifyTimer()" class="button button-glow button-rounded button-primary">保存</button>
</div>
<button id="language-switch" class="button button-glow button-rounded button-box button-primary button-large">
<img src="./assets/image/translate.png" width="45px"></img>
</button>
<div id="language-options">
<a href="#" id="english"><font color="white">English</font></a>
<a href="#" id="chinese"><font color="white">简体中文</font></a>
</div>
<h1 id="status" style="color: rgb(113, 201, 206);">未开始计时</h1>
<button id="renewButton" onclick="init()" class="button button-glow button-rounded button-primary">重置计时器</button>
<button id="startButton" onclick="go()" class="button button-glow button-rounded button-primary">开始计时</button>
<button id="stopButton" onclick="stop()" class="button button-glow button-rounded button-primary" disabled="">停止计时</button>
<h3 id="normal-text">
<button onclick="window.location.href='./staff/index.html'" class="button-glow button-wrap button-small">
<font color="#71c9ce" face="Google Sans">
<strong>
Staff
</strong>
</font>
</a>
</h3>
<h4 id="normal-text">有 bug?使用暂无发现 bug 的<a href="https://nr0728.github.io/timer/old.html"><font color="#71c9ce">旧版</font></a></h4>
<script src="./assets/js/multilingual.js"></script>
<script src="./assets/js/index.js"></script>
<script src="./assets/js/input_validate.js"></script>
</body>
</html>