-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestaurant.php
221 lines (166 loc) · 9.99 KB
/
restaurant.php
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.8/css/uikit.min.css" />
<!-- UIkit JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.8/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.8/js/uikit-icons.min.js"></script>
<link rel="stylesheet" href="css/circle.css">
<link rel="stylesheet" href="css/functionTitle.css">
</head>
<body>
<!-- set of function button -->
<button class="circle1" href="#modal-container"uk-toggle></button>
<button class="circle2" href="#modal-WareHouse"uk-toggle></button>
<button class="circle3" href="#modal-Description"uk-toggle></button>
<!-- function name -->
<h1 class="fTitle1">Order</h1>
<h1 class="fTitle2">WareHouse</h1>
<h1 class="fTitle3">Restaurant</h1>
<!-- function image -->
<img class="btImage1" src="UI/material/content_paste_white_108x108.png"/ >
<img class="btImage2" type="image" src="UI/material/home_white_108x108.png" />
<img class="btImage3" type="image" src="UI/material/store_white_108x108.png" />
<!-- Order function when user click the order button -->
<div id="modal-container" class="uk-modal-container" uk-modal>
<div class="uk-modal-dialog uk-modal-body">
<button class="uk-modal-close-default" type="button" uk-close></button>
<h2 class="uk-modal-title">Order</h2>
<a id="js-modal-prompt" class="uk-button uk-button-default" href="#modal-createOrder" uk-toggle>Create Order</a>
<!-- Show the order table -->
<table class="uk-table uk-table-hover uk-table-divider">
<thead>
<tr>
<th>OrderId</th>
<th>Supplier Name</th>
<th>Stock Name</th>
<th>Order Amount</th>
<th>Purchase Date</th>
<th>Delivery Date</th>
<th>Received Date</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td><button class="uk-button uk-button-danger" type="button">Delete</button></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Create Order Table -->
<div id="modal-createOrder" class="uk-modal-full" uk-modal>
<!-- use dialog way -->
<div class="uk-modal-dialog">
<!-- Close button to close the modal -->
<button class="uk-modal-close-default" type="button" uk-close></button>
<!-- set grid and width about the modal uk-child-width-1-2 is mean it moke to class in half -->
<!-- The header text of modal -->
<div class="uk-modal-header">
<h2 class="uk-modal-title">Create Order</h2>
</div>
<!-- Set the padding with all under element uk-padding is defualt padding in UIkit -->
<div class="uk-padding">
<form class="uk-grid-small" uk-grid>
<div class="uk-grid-collapse uk-child-width-1-2@s uk-flex-middle" uk-grid>
<div class="uk-width-1-2">
Order ID:
<input class="uk-input uk-form-width-medium" type="text" placeholder="100">
</div>
<div class="uk-width-1-2">
Order ID:
<input class="uk-input uk-form-width-medium" type="text" placeholder="100">
</div>
</div>
<div class="uk-width-1-1">
Order ID:
<input class="uk-input uk-form-width-medium" type="text" placeholder="100">
</div>
<table class="uk-table uk-table-hover uk-table-divider">
<thead>
<tr>
<th>OrderId</th>
<th>Supplier Name</th>
<th>Stock Name</th>
<th>Order Amount</th>
<th>Purchase Date</th>
<th>Delivery Date</th>
<th>Received Date</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
<td><button class="uk-button uk-button-danger" type="button">Delete</button></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
<!-- Function of wareHouse -->
<div id="modal-WareHouse" class="uk-modal-container" uk-modal>
<div class="uk-modal-dialog uk-modal-body">
<button class="uk-modal-close-default" type="button" uk-close></button>
<h2 class="uk-modal-title">WareHouse</h2>
<!-- Show the Item table -->
<table class="uk-table uk-table-hover uk-table-divider">
<thead>
<tr>
<th>Stock ID</th>
<th>Stock Name</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>Table Data</td>
<td>Table Data</td>
<td>Table Data</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="modal-Description" uk-modal>
<div class="uk-modal-dialog uk-modal-body">
<button class="uk-modal-close-default" type="button" uk-close></button>
<h2 class="uk-modal-title">Restaurant Description</h2>
<form>
<fieldset class="uk-fieldset">
<div class="uk-margin">
Restaurant Name:
<input class="uk-input" type="text" placeholder="Input">
</div>
<div class="uk-margin">
Description:
<textarea class="uk-textarea" rows="5" placeholder="Textarea"></textarea>
</div>
<input class="uk-input uk-button uk-button-primary uk-width-1-2" type="submit" placeholder="Input">
</fieldset>
</form>
</div>
</div>
</body>
</html>