-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (80 loc) · 4.47 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Relógio</title>
<link rel="stylesheet" href="css/w3.css">
<link rel="stylesheet" href="css/padrao.css">
<link rel="stylesheet" href="fontawesome/css/all.min.css">
<script src="js/jquery-3.6.0.min.js"></script>
</head>
<body class="w3-theme">
<nav class="w3-bar w3-theme-d5">
<span class="w3-bar-item w3-button tabLink" onclick="openTab(event, '#tab-relogio')"><i class="fa-solid fa-clock"></i> <span class="w3-hide-small">Relógio</span></span>
<span class="w3-bar-item w3-button tabLink" onclick="openTab(event, '#tab-alarme')"><i class="fa-solid fa-bell"></i> <span class="w3-hide-small">Alarme</span></span>
<span class="w3-bar-item w3-button tabLink" onclick="openTab(event, '#tab-timer')"><i class="fa-solid fa-stopwatch-20"></i> <span class="w3-hide-small">Timer</span></span>
<span class="w3-bar-item w3-button tabLink" onclick="openTab(event, '#tab-config')"><i class="fa-solid fa-gear"></i> <span class="w3-hide-small">Config</span></span>
<div class="w3-dropdown-hover w3-right">
<button class="w3-button">Tema <i class="fa-solid fa-circle-half-stroke"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-theme-d5 w3-border" style="right:0">
<a href="#" class="w3-bar-item w3-button w3-hover-theme" id="btn-theme-light"><i class="fa-regular fa-sun"></i> Claro</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme" id="btn-theme-dark"><i class="fa-regular fa-moon"></i> Escuro</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme" id="btn-theme-default"><i class="fa-solid fa-gear"></i> Sistema</a>
</div>
</div>
</nav>
<div class="w3-display-bottomleft w3-display-bottomleft w3-block w3-padding w3-margin-bottom" id="msgbox" style="z-index:5;"></div>
<div class="classTab" id="tab-relogio">
<div class="w3-display-middle w3-mobile w3-round-xlarge w3-border" style="overflow: hidden;">
<div class="w3-theme-d1">
<header class="w3-bar w3-theme-d3">
<span class="w3-bar-item" id="dataAtual">01/12/2022</span>
<div class="w3-right">
<span class="w3-bar-item" id="semana">Domingo</span>
</div>
</header>
<main class="w3-container">
<div class="w3-center">
<span class="w3-xxxlarge" id="hora">12:15<sup>30</sup></span>
</div>
</main>
<footer class="w3-bar w3-theme-d3">
<span class="w3-bar-item">LUMAMAX</span>
<div class="w3-right">
<span class="w3-bar-item w3-font-bold" id="saudacao">Boa Tarde!</span>
</div>
</footer>
</div>
</div>
</div>
<div class="classTab w3-hide" id="tab-alarme">
<audio src="media/alarm_clock.mp3" loop id="alarm_clock"></audio>
<div class="w3-display-middle w3-theme-d1 w3-mobile w3-round-xlarge w3-border" style="overflow: hidden;">
<div class="w3-container w3-theme-d3">
<div class="w3-center" id="despert">Aguardando ...</div>
</div>
<main class="w3-container">
<div id="exibirEntrada" style="display: none;">
<input class="w3-input" type="time" id="entradaAlarme" onchange="setAlarm();$('#exibirEntrada').hide()">
</div>
<div class="w3-center">
<span class="w3-xxxlarge" id="mostrarAlarme">6:00</span>
</div>
</main>
<div class="w3-row">
<div class="w3-col s6">
<button class="w3-block w3-button w3-hover-theme w3-theme-d5" onclick="$('#exibirEntrada').toggle()">Definir</button>
</div>
<div class="w3-col s6">
<button class="w3-block w3-button w3-hover-theme w3-theme-d5" id="btnDesativarAlarme">Ativar</button>
</div>
</div>
</div>
</div>
<div class="classTab w3-hide" id="tab-timer">Timer em breve!</div>
<div class="classTab w3-hide" id="tab-config">Config em breve!</div>
<script src="js/toast.class.js"></script>
<script src="js/main.js"></script>
</body>
</html>