-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetails.html
More file actions
78 lines (71 loc) · 2.88 KB
/
details.html
File metadata and controls
78 lines (71 loc) · 2.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='home_style.css') }}">
<title>Home Page</title>
</head>
<body>
<!-- Restaurant Name -->
{% if show_element1 %}
<div class="container">
<form method="POST" action="{{ url_for('restro_name') }}">
<label class="label2" for="therestro">Please provide a name for your restaurant: </label><br>
<input class="input2" type="text" name="therestro" required>
</div>
<div class="links">
<button type="submit">Submit</button>
</div>
<div class="links">
<a href="{{ url_for('sign_in') }}">Sign In Page</a>
</div>
<p style="margin-top: 50px; text-align: center;">{{output}}</p>
</form>
{% endif %}
<!-- Name of Category -->
{% if show_element3 %}
<div class="container">
<form method="POST" action="{{ url_for('cat_name') }}">
<label class="label2" for="name_category">Please enter the name of the category: </label><br>
<input class="input2" type="text" name="name_category" required>
</div>
<div class="links">
<button type="submit">Submit</button>
</div>
<div class="links">
<a href="{{ url_for('sign_in') }}">Sign In Page</a>
</div>
<p style="margin-top: 50px; text-align: center;">{{output}}</p>
<p style="margin-top: 50px; text-align: center;">{{output2}}</p>
</form>
{% endif %}
<!-- Name of Dish, Its Price And Description -->
{% if show_element5 %}
<div class="container">
<form method="POST" action="{{ url_for('n_dish_prc_des') }}">
<label class="label2" for="dish_name">Enter the name of the dish: </label><br>
<input class="input2" type="text" name="dish_name" required><br>
<label class="label2" for="dish_prc">Enter the price of the dish: </label><br>
<input class="input2" type="text" name="dish_prc" required><br>
<label class="label2" for="dish_des">Enter the description of the dish: </label><br>
<input class="input2" type="text" name="dish_des" required>
</div>
<div class="links">
<button type="submit" name="action" value="action1">Submit</button>
</div>
<div class="links">
<button type="submit" name="action" value="action2">New Dish</button>
</div>
<div class="links">
<button type="submit" name="action" value="action3">New Category</button>
</div>
<div class="links">
<a href="{{ url_for('sign_in') }}">Sign In Page</a>
</div>
<p style="margin-top: 50px; text-align: center;">{{output}}</p>
<p style="margin-top: 50px; text-align: center;">{{output2}}</p>
</form>
{% endif %}
</body>
</html>