-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuevo-cliente.html
90 lines (85 loc) · 4.58 KB
/
nuevo-cliente.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CRM - IndexedDB</title>
<link rel="stylesheet" href="css/tailwind.min.css">
</head>
<body class="min-h-100 bg-gray-200">
<div class="md:flex min-h-screen md:align-top">
<aside class="md:w-2/5 lg:w-2/5 xl:w-1/5 bg-teal-600 px-5 py-10">
<h1 class="uppercase text-white tracking-wide text-2xl font-bold mt-2">CRM - IndexedDB</h1>
<p class="mt-10 text-white">Administra tus Clientes con el CRM - IndexedDB</p>
<nav class="mt-8">
<a
href="index.html"
class="px-3 py-1 text-white block hover:bg-teal-700 hover:text-yellow-400 "
>Clientes</a>
<a
href="nuevo-cliente.html"
class="px-3 py-1 text-white block hover:bg-teal-900 mt-2 hover:text-yellow-400 bg-teal-700"
>Nuevo Cliente</a>
</nav>
</aside> <!--sidebar-->
<main class="md:w-3/5 xl:w-4/5 px-5 py-10 bg-gray-200">
<h2 class="text-3xl font-light text-center">Nuevo Cliente</h2>
<div class="flex flex-col mt-10 items-center">
<div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8 w-10/12 md:w-8/12 lg:w-6/12">
<div class=" shadow overflow-hidden sm:rounded-lg border-b border-gray-200 ">
<form id="formulario" class="bg-white p-3">
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="nombre">Nombre</label>
<input
class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="nombre"
name="nombre"
type="text"
placeholder="Nombre Cliente"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="email">Correo</label>
<input
class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="email"
name="email"
type="email"
placeholder="Email Cliente"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="telefono">Teléfono</label>
<input
class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="telefono"
name="telefono"
type="tel"
placeholder="Teléfono Cliente"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="empresa">Empresa</label>
<input
class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="empresa"
name="empresa"
type="text"
placeholder="Empresa Cliente"
/>
</div>
<input
type="submit"
class="bg-teal-600 hover:bg-teal-900 w-full mt-5 p-2 text-white uppercase font-bold"
value="Agregar Cliente"
/>
</form>
</div>
</div>
</div>
</main>
</div>
<script src="js/funciones.js"></script>
<script src="js/nuevocliente.js"></script>
</body>
</html>