-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (144 loc) · 9.56 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!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">
<!-- <link rel="preconnect" href="https://fonts.gstatic.com"> -->
<link href="https://fonts.googleapis.com/css2?family=Baloo+Tammudu+2&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/index-style.css">
<link rel="shortcut icon" href="css/favicon.ico" />
<!--
Solo una sociedad que cree mas en la ciencia que en los medios, rumores y charlatanes, la especie permanecerá en existencia, de lo contrario, la Selección Natural hará su trabajo
-->
<title>Pomodoro</title>
</head>
<body>
<div class="contenedor" id="contenedor">
<div>
<div class="tiempo">
<div class="temp">
<h1 class="reloj" id="minutosBack">25</h1>
<h1 class="reloj">:</h1>
<h1 class="reloj" id="segundosBack">00</h1>
</div>
<div class="timelinea">
<div class="lineaDefault" id="lineaDefault"></div>
</div>
<div class="botonStart" id="botonStart">
<button class="startPomo" onclick="StartPomodoro()">Iniciar Pomodoro</button>
<button class="vincNewTask" onclick="document.getElementById('Paris').style.display=`block`">Añadir nueva tarea</button>
</div>
<div class="taskOnProcess" id="taskOnProcess">
</div>
</div>
</div>
<div class="mediaMenu">
<div class="menu" id="menuPanel">
<div class="tab">
<button class="tablinks" onclick="openCity(event, 'London')">Media</button>
<button class="tablinks" onclick="openCity(event, 'Paris')">To-Do</button>
<button class="tablinks" onclick="openCity(event, 'Tokyo')">Ajustes</button>
</div>
<!-- Tab content -->
<div id="London" class="tabcontent">
<div id="youtubeSuperior" class="contenTabMediaSuperior" style="display: block">
<iframe id="YT-iframe" width="100%" height="315" src="https://www.youtube.com/embed/QJqGa_CVnLo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div id="twitchSuperior" class="contenTabMediaSuperior" style="display: none">
<iframe id="Twitch-iframe" src="https://player.twitch.tv/?channel=deartinaa&parent=pomodoro.samuelolvher.com" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="100%"></iframe>
</div>
<div id="spotifySuperior" class="contenTabMediaSuperior" style="display: none">
<iframe src="https://open.spotify.com/embed/playlist/37i9dQZF1DWUI9tJkuyRFp" width="100%" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>
</div>
<!--
TWICTH NECESITA UN DOMINIO DE ORIGEN DE INCRUSTACION
LEER: https://dev.twitch.tv/docs/embed/video-and-clips/
-->
<div class="tabsMedia">
<button class="tabName" onclick="openMedia(event, 'youtube')">YouTube</button>
<button class="tabName" onclick="openMedia(event, 'twitch')">Twitch</button>
<button class="tabName" onclick="openMedia(event, 'spotify')">Spotify</button>
</div>
<div id="youtube" class="contenTabMedia">
<label for="URL-YT">URL del video de YouTube:</label>
<input type="text" name="URL-YT" id="URL-YT" class="inputMedia">
<input type="button" value="Cambiar video" class="submitMedia" id='YT-boton' onclick="changeMedia('youtube',document.getElementById('URL-YT').value)">
</div>
<div id="twitch" class="contenTabMedia">
<label for="URL-Twitch">URL del directo/video de Twitch:</label>
<input type="text" name="URL-Twitch" id="URL-Twitch" class="inputMedia">
<input type="button" value="Cambiar directo/video" class="submitMedia" id='TW-boton' onclick="changeMedia('twitch',document.getElementById('URL-Twitch').value)">
</div>
<div id="spotify" class="contenTabMedia">
<label for="URL-spotify">URL de la playlist en Spotify:</label>
<input type="text" name="URL-spotify" id="URL-spotify" class="inputMedia">
<input type="button" value="Cambiar playlist" class="submitMedia" id='STF-boton' onclick="changeMedia('spotify',document.getElementById('URL-spotify').value)">
</div>
</div>
<div id="Paris" class="tabcontent">
<label for="taskName">Nombre de la Tarea:</label>
<input type="text" name="" id="taskName" class="taskName">
<div class="LabelsCortos">
<label for="taskPomos">N° de Pomodoros:</label>
<label for="taskDate">Fecha de Entrega:</label>
</div>
<div class="InputsCortos">
<input type="number" name="" id="taskPomos" class="taskPomos">
<input type="date" name="" id="taskDate" class="taskDate">
</div>
<input type="button" value="Agregar Tarea" class="addTaskBoton" onclick="addTask(todo,document.getElementById('taskName').value,document.getElementById('taskPomos').value,document.getElementById('taskDate').value)">
<div class="tabsToDo">
<button class="tabToDo" onclick="openTasks(event, 'proceso')">En Proceso</button>
<button class="tabToDo" onclick="openTasks(event, 'completado')">Completado</button>
</div>
<div class="contenToDo" id="proceso" style="display: block">
</div>
<div class="contenToDo" id="completado" style="display: none">
</div>
</div>
<div id="Tokyo" class="tabcontent">
<h4>To-Do</h4>
<p class="descToDo">Al cerrar esta pestaña, tus tareas se borrarán. Guarda tus tareas exportandolas (Prox. podrás importar tus tareas)</p>
<button class="exportToDo" id="exportToDo" onclick="exportarCSV(todo)"><span class="material-icons">save_alt</span> Exportar</button>
<h4>Pomodoro</h4>
<label for="minsPomos">Duración de Pomodoro (min): </label>
<input type="number" name="" id="minutosElegidos" class="minsPomos" value="25">
<input type="button" value="Aplicar Cambios" class="changesReloj" onclick="changesOnTempo(document.getElementById('minutosElegidos').value)">
<h4>Otros</h4>
<div class="gridBotonesMore">
<button class="changeBackground" onclick="changeFondo()">Cambiar Fondo</button>
<button class="samolvher" onclick="location.href='https://samuelolvher.com/proyectos/1088130A-6933-B82F-F111-2ADA713F66AE/'">Acerca De*</button>
<div id="botonAmpliar"></div>
</div>
<p class="avisoLegal">*redirección a samuelolvher.com</p>
<h4>Aviso Legal</h4>
<p class="avisoLegal">pomodoro.samuelolvher.com no almacena ni recolecta ningún dato sobre el/la usuari@, ni genera cookies. Se descarga total responsabilidad al/a la usuari@ sobre el uso de sus datos por parte de servicios de terceros (YouTube/Google,Amazon/Twitch,Spotify).</p>
<p><a href="public/backgrounds/creditosBackgrounds.csv" target="_blank">Créditos por las imágenes de fondo</a></p>
<h4>Detalles del Pomodoro</h4>
<p class="avisoLegal">Version Beta 1 (27JUN 2021). Creado por SamOlvher. Estado: En Desarrollo</p>
</div>
</div>
</div>
</div>
<!--MODAL-->
<div id="tvesModal" class="modalContainer">
<div class="modal-content">
<span class="close" onclick="closeModal()">×</span> <h2>Editar Tarea</h2>
<label for="taskNameEdit">Nombre de la Tarea:</label>
<input type="text" name="" id="taskNameEdit" class="taskName">
<div class="LabelsCortos">
<label for="taskPomosEdit">N° de Pomodoros:</label>
<label for="taskDateEdit">Fecha de Entrega:</label>
</div>
<div class="InputsCortos">
<input type="number" name="" id="taskPomosEdit" class="taskPomos">
<input type="date" name="" id="taskDateEdit" class="taskDate">
</div>
<div id="botonSaveChanges"></div>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>