-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (127 loc) · 6.59 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138580846-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-138580846-1');
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="App familiar, incluye firebase y PWA, es una práctica de programación">
<meta name="keywords" content="PRESEENT, FAMILY, WISH,
BIRTHDAY, REGALO, FAMILIA, DESEO, CUMPLEAÑOS">
<meta name="author" content="Miguel Machado y aportaciones de la web">
<meta name="theme-color" content="#8FBC8B">
<title>¡Me lo pido 6.3!</title>
<link rel="manifest" href="manifest.json" />
<link rel="icon" type="images/png" href="images/icons/icon-16x16.png" />
<!-- Bootstrap core CSS -->
<!-- <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="css/heroic-features.css" rel="stylesheet">
</head>
<body>
<header class="p-5 mt-2 font-italic text-warning" id="vocero" >
<span><img src="" alt=""></span>
<h1 class="font-weight-bold" >¡Bienvenido a mi página!</h1>
<h3>Gracias por visitarme. Si quieres hacerme algún regalo, en esta página encontrarás algunos de los objetos que me interesan</h3>
<p class="font-italic text-warning">Google me obliga a incluir un formulario de entrada con vuestro email. Yo no quería...</p>
</header>
<!--///////////////////////////////////////////-->
<div class="container p-3 mt-2 mb-2 " id="contendorSiguientes">
<!--<h4>Ya has estado</h4>-->
<div class="form-group">
<label for="exampleInputEmail1">Correo electrónico</label>
<input type="email" class="form-control" aria-describedby="emailHelp" placeholder="Tu email" id="email2">
<!-- <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>-->
</div>
<div class="form-group">
<label for="exampleInputPassword1">Contraseña</label>
<input type="password" class="form-control" id="password2" placeholder="Tu contraseña">
</div>
<button class="btn btn-warning mt-1" id="btnI" onclick="ingresar()">¡Otra vez!</button>
</div>
<!-- entrada de nuevo-->
<!-- contenedor para primer registro-->
<div class="container"id="metacontainer">
<div class="container mt-2 p-3 " id="contenedorPrimera">
<h4>Nunca has estado aquí, identifícate:</h4>
<div class="form-group">
<label for="exampleInputEmail1">Correo electrónico</label>
<input type="email" class="form-control" aria-describedby="emailHelp" placeholder="Tu email" id="email">
<!-- <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>-->
</div>
<div class="form-group">
<label for="exampleInputPassword1">Contraseña</label>
<input type="password" class="form-control" id="password" placeholder="Tu contraseña">
</div>
<button class="btn btn-success mt-1" onclick="registrar()">¡Adentro!</button>
</div>
</div> <!--Metacontainer-->
<div id="contenido">
</div>
<div class="row">
<div id="gatos"></div>
</div>
<button type="button" class="btn btn-primary btn-lg btn-block mr-3 mt-3" id="pase" onclick="administra()">Área de administración</button>
<div class="container" id="administrador" >
<section id="about">
<div class="container" id="form4">
<h1 class="">Agregar idea</h1>
<input type="text" id="nombre" placeholder="Nombre/Título" class="form-control my-1">
<input type="text" id="origen" placeholder="Editorial/Fabricante" class="form-control my-1">
<input type="text" id="precio" placeholder="Importe aprox." class="form-control my-1">
<input type="url" id="enlace" placeholder="Enlace" class="form-control my-1">
<input type="url" id="foto" placeholder="Foto" class="form-control my-1">
<button class="btn btn-info" id="btn1B" onclick="incluir()">Guardar</button>
</div>
<div class="container mt-3">
<h2>Lista de deseos:</h2>
<table id="tablero2" class="table-responsive">
<thead>
<tr class="tr2">
<th scope="col" style="display: none" >id</th>
<th scope="col"> Nombre</th>
<th scope="col">Origen</th>
<th scope="col">Precio</th>
<th scope="col">foto</th>
<th scope="col">Enlace</th>
<th scope="col">Borrar</th>
<th scope="col">Editar</th>
</tr>
</thead>
<tbody id="tabla2">
</tbody>
</table>
</div>
</section>
</div>
<!-- Footer -->
<footer class="footer mt-auto py-3" id='queso'>
<div class="container">
<audio src="./images/celebration.mp3" autoplay controls></audio>
</div>
<!-- /.container -->
</footer>
<!-- scripts-->
<script src="https://www.gstatic.com/firebasejs/5.8.4/firebase.js"></script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js"
integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
<script src="code.js">
</script>
</body>
</html>