-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.php
More file actions
103 lines (91 loc) · 2.12 KB
/
Copy pathadd.php
File metadata and controls
103 lines (91 loc) · 2.12 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Insert to db</title>
<!-- <link rel="stylesheet" type="text/css" href="css/addstyle.css"> -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link rel="icon" href="img/restaurant.png" type="image/x-icon">
<style type="text/css">
*{
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
a{
text-decoration: none;
}
/* Container */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.form {
padding: 15px 25px;
text-align: center;
background-color: #fff;
border: 3px solid #000;
font-size: 20px;
font-weight: 500;
}
.header {
font-size: 20px;
text-align: center;
color: #fff;
}
.header h1 {
font-size: 55px;
}
header {
background-color: #000;
color: #fff;
padding: 40px;
}
.header__title a{
color: #fff;
font-size: 35px;
text-transform: uppercase;
}
.button {
padding: 25px 45px;
border-radius: 40px;
border: 3px solid #000;
font-size: 20px;
font-weight: 500;
background-color: #fff;
}
.forms {
padding-bottom: 10px;
text-align: center;
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="header">
<div class="header__title">
<a href="#">Restaurant</a>
<h4 class="sub__title">Додавання страв</h4>
</div>
</div>
</div>
</header>
<div class="container">
<div class="forms">
<form action="post.php" method="post"><br><br>
<input type="text" class = "form" name = "dish_name" placeholder = "dish name"><br><br>
<input type="number" class = "form" name = "price" placeholder = "price"><br><br>
<input type="text" class = "form" name = "image" placeholder = "image"><br><br>
<div>
<input type="submit" class="button" value="Додати страву">
</div>
</form>
</div>
</div>
</body>
</html>