-
Notifications
You must be signed in to change notification settings - Fork 0
/
editar-cliente.html
98 lines (92 loc) · 4.89 KB
/
editar-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
91
92
93
94
95
96
97
98
<!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">
<link rel="stylesheet" href="css/style.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">
<div>
<h1 class="uppercase text-white tracking-wide text-2xl font-bold mt-2">CRM - IndexedDB</h1>
<p class="mt-10 text-white">Manage your customers with the 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 "
>Customers</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"
>New Customer</a>
</nav>
</div>
<div class="dev">
<span>Developed by Oto Mercado</span>
</div>
</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">Edit Customer</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">Name</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="Customer name"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="email">Email</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="Customer email"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="telefono">Phone</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="Customer phone"
/>
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="empresa">Company</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="Customer company"
/>
</div>
<input type="hidden" name="id" id="id" value="">
<input
type="submit"
class="bg-teal-600 hover:bg-teal-900 w-full mt-5 p-2 text-white uppercase font-bold"
value="Save changes"
/>
</form>
</div>
</div>
</div>
</main>
</div>
<script src="js/editarcliente.js"></script>
<script src="js/functions.js"></script>
</body>
</html>