41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Add Drink</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Add Drink</h1>
|
|
|
|
<form method="POST" action="/add">
|
|
<div class="form-group">
|
|
<label>Drink name</label>
|
|
<input type="text" name="name" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>Quantity</label>
|
|
<input type="number" name="stock" min="1" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>Price (€):</label>
|
|
<input type="number" step="0.01" name="price" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>Name + Phone number</label>
|
|
<input type="text" name="phone_number" placeholder="Name +351..." required>
|
|
</div>
|
|
|
|
<button class="button" type="submit">Create drink</button>
|
|
</form>
|
|
|
|
<br>
|
|
<a href="/">Back</a>
|
|
</div>
|
|
</body>
|
|
</html>
|