-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
105 lines (100 loc) · 4.54 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Amigo Invisible</title>
<link rel="stylesheet" href="css/styles.css">
<script src="https://kit.fontawesome.com/9cc3cf5786.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<a href="javascript:void(0)" id="languageSwitcher">Switch to English</a>
<h1 id="headerTitle">🎅 Sorteo del Amigo Invisible 🎅</h1>
<div class="header-actions">
<button id="addFriendsButton" type="button" class="button">Añadir más amigos</button>
<button id="clearAllButton" type="button" class="button button-right">Borrar todos</button>
</div>
</header>
<main>
<section class="instructions">
</section>
<section class="friend-list">
<form id="friendForm">
<table id="friendsTable">
<thead>
<tr>
<th style="display: none;">ID</th>
<th id="nameTh">Nombre</th>
<th id="emailTh">Email</th>
<th id="exclusionTh">Exclusiones (Nombres separados por comma)</th>
<th id="deleteTh">Borrar</th>
</tr>
</thead>
<tbody>
<tr>
<td style="display:none;">
<input type="hidden" name="id" value="1">
</td>
<td>
<input type="text" name="name" value="Nombre" onblur="saveToSessionStorage()">
</td>
<td>
<input type="email" name="email" value="[email protected]"
onblur="saveToSessionStorage()">
</td>
<td>
<input type="text" name="exclude" value="" onblur="saveToSessionStorage()">
</td>
<td>
<button class="delete-btn disabled" onclick="deleteRow(this)">
<i class="fa-solid fa-trash-can"></i>
</button>
</td>
</tr>
<tr>
<td style="display:none;">
<input type="hidden" name="id" value="2">
</td>
<td>
<input type="text" name="name" value="Nombre" onblur="saveToSessionStorage()">
</td>
<td>
<input type="email" name="email" value="[email protected]"
onblur="saveToSessionStorage()">
</td>
<td>
<input type="text" name="exclude" value="" onblur="saveToSessionStorage()">
</td>
<td>
<button class="delete-btn disabled" onclick="deleteRow(this)">
<i class="fa-solid fa-trash-can"></i>
</button>
</td>
</tr>
</tbody>
</table>
</form>
</section>
</main>
<footer>
<div class="actions">
<div id="messageArea"></div>
<button id="sendEmailsButton" disabled type="button" class="button button-center">Enviar
correos</button>
<div id="messageArea"></div>
</div>
</footer>
<script src="client/addfriends.script.js"></script>
<script src="client/assignsecretsantas.script.js"></script>
<script src="client/clearparticipants.script.js"></script>
<script src="client/deletefriend.script.js"></script>
<script src="client/displaymessage.script.js"></script>
<script src="client/languageswitcher.script.js"></script>
<script src="client/restoresession.script.js"></script>
<script src="client/savesession.script.js"></script>
<script src="client/sendassignments.script.js"></script>
<script src="client/translation.l18n.js"></script>
<script src="client/init.script.js"></script>
</body>
</html>