From d6ee58fcebc501c2ea7b0927de38b21aaad17be5 Mon Sep 17 00:00:00 2001 From: 91771 Date: Wed, 17 Sep 2025 15:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E5=82=B3=E6=AA=94=E6=A1=88=E5=88=B0?= =?UTF-8?q?=E3=80=8Ctemplates=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 289 +++++++++++++++++++ templates/maintenance.html | Bin 0 -> 1024 bytes templates/menu_form.html | 550 +++++++++++++++++++++++++++++++++++++ 3 files changed, 839 insertions(+) create mode 100644 templates/index.html create mode 100644 templates/maintenance.html create mode 100644 templates/menu_form.html 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 0000000000000000000000000000000000000000..06d7405020018ddf3cacee90fd4af10487da3d20 GIT binary patch literal 1024 ScmZQz7zLvtFd70QH3R?z00031 literal 0 HcmV?d00001 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