diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..5839aa9 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,289 @@ + + + + + + 公司內部訂餐系統 + + + + + + + +
+
+

+ + 今日菜單 +

+

選擇您喜愛的餐點,享受美味時光

+
+ + {% if menu_items %} + {% set categories = menu_items|map(attribute='category')|unique|list %} + + {% for category in categories %} +
+

+ + {{ category }} +

+
+ +
+ {% for item in menu_items if item.category == category %} +
+
+ {{ item.name }} +
+
{{ item.name }}
+

{{ item.description }}

+
+ ${{ "%0.2f"|format(item.price) }} + +
+
+
+
+ {% endfor %} +
+ {% endfor %} + {% else %} +
+ +

暫無菜單資料

+

請聯繫管理員更新菜單

+ + + 初始化菜單 + +
+ {% endif %} +
+ + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/templates/maintenance.html b/templates/maintenance.html new file mode 100644 index 0000000..06d7405 Binary files /dev/null and b/templates/maintenance.html differ diff --git a/templates/menu_form.html b/templates/menu_form.html new file mode 100644 index 0000000..1f7f0c6 --- /dev/null +++ b/templates/menu_form.html @@ -0,0 +1,550 @@ + + + + + + Menu Items 表單維護系統 + + + + + + + + +
+ +
+
+
+
+

+ + 菜單資料表單 +

+ + +
+
+
+
+ + +
+
+
+
+
+

+ + 現有菜單資料 +

+ +
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + + + + + + + + + +
ID主菜單副菜單甜點/湯品訂餐日期狀態操作
+
+ +
+
+ 載入中... +
+

資料載入中...

+
+
+
+
+
+
+ + + + + + + + \ No newline at end of file