-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
93 lines (88 loc) · 3.95 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Time Tracker - Firebase</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div id="app">
<div id="authentication-box">
<h1>Time Tracker</h1>
<p>Inicia sesión con Google para acceder a tu perfil y obtener
metricas referentes a tus tiempos.
</p>
<button id="button-login"><img src="https://cdn-icons-png.flaticon.com/512/2702/2702602.png" width="15"
id="google-icon"> Iniciar sesión con Google</button>
<p>Creado por <a target="_blank" href="https://github.com/santiagobaronz" style="color: #fff;">Santiago
Baron Zuleta</a></p>
</div>
<div id="tracker-box" class="hidden">
<div class="main-content">
<div id="profile-box">
<div class="profile-info">
<img id="profile-img" onerror="this.src='assets/default-image.png'">
<p>Reporte de</p>
<h2 id="profile-name"></h2>
</div>
<div class="profile-options">
<ul>
<li><a id="dailyButton" class="active">Diario</a></li>
<li><a id="weeklyButton">Semanal</a></li>
<li><a id="monthlyButton">Mensual</a></li>
</ul>
<button id="button-logout">Cerrar sesión</button>
</div>
</div>
<div id="stats-info">
<div id="box-1">
<div class="box-info">
<h3 class="type">Trabajo</h3>
<p class="time" id="workCard"></p>
<p class="report-last-week" id="workCardSecondary"></p>
</div>
</div>
<div id="box-2">
<div class="box-info">
<h3 class="type">Ejercicio</h3>
<p class="time" id="exerciseCard"></p>
<p class="report-last-week" id="exerciseCardSecondary"></p>
</div>
</div>
<div id="box-3">
<div class="box-info">
<h3 class="type">Entretenimiento</h3>
<p class="time" id="playCard"></p>
<p class="report-last-week" id="playCardSecondary"></p>
</div>
</div>
<div id="box-4">
<div class="box-info">
<h3 class="type">Social</h3>
<p class="time" id="socialCard"></p>
<p class="report-last-week" id="socialCardSecondary"></p>
</div>
</div>
<div id="box-5">
<div class="box-info">
<h3 class="type">Estudio</h3>
<p class="time" id="studyCard"></p>
<p class="report-last-week" id="studyCardSecondary"></p>
</div>
</div>
<div id="box-6">
<div class="box-info">
<h3 class="type">Cuidado personal</h3>
<p class="time" id="selfCareCard"></p>
<p class="report-last-week" id="selfCareCardSecondary"></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/app.js" type="module"></script>
</body>
</html>