-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate-provider.ejs
86 lines (73 loc) · 2.48 KB
/
update-provider.ejs
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
<!DOCTYPE html>
<html>
<head>
<title>Provider Update</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f8f8f8;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 400px;
}
label {
font-weight: bold;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
input[type="submit"] {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<form action="" method="post">
<h1>Provider Update</h1>
<label for="id">ID:</label><br>
<input type="text" value="<%= provider[0].p_id %>" id="id" name="id" required readonly><br><br>
<label for="name">Name:</label><br>
<input type="text" value="<%= provider[0].p_name %>" id="name" name="name" required><br><br>
<label for="house">House:</label><br>
<input type="text" value="<%= provider[0].house %>" id="house" name="house" required><br><br>
<label for="street">Street:</label><br>
<input type="text" value="<%= provider[0].street %>" id="street" name="street" required><br><br>
<label for="city">City:</label><br>
<input type="text" value="<%= provider[0].city %>" id="city" name="city" required><br><br>
<label for="country">Country:</label><br>
<input type="text" value="<%= provider[0].country %>" id="country" name="country" required><br><br>
<label for="service">service:</label><br>
<input type="text" value="<%= provider[0].service %>" id="service" name="service" required><br><br>
<label for="password">Password:</label><br>
<input type="password" id="password" minlength="5" maxlength="10" name="password" required><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>