-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
109 lines (82 loc) · 3.15 KB
/
layout.html
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
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>layout-後台管理-六角西餐廳</title>
<link rel="stylesheet" href="./scss/all.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
</head>
<body class="vsc-initialized ">
<div class="d-flex">
<!--側欄選單-->
<aside class="sidebar vh-100 border-end pt-3 d-flex flex-column bg-white ">
<!-- 1. 後台名稱 -->
<div class="px-4">
<strong>六角西餐廳</strong>
- 後台管理
</div>
<!-- 2. 選單 -->
<div class="overflow-auto mt-3">
<!-- 首頁-不包含子選單 -->
<div>
<a class="sidebar-link active" href="index.html" role="button">
<div class="px-4 ">
<i class="bi bi-house me-2 "></i> 首頁
</div>
</a>
</div>
<!-- 訂單管理-包含子選項 "collapse"-->
<div>
<a class="sidebar-link" data-bs-toggle="collapse" href="#menu-order" role="button" >
<div class="d-flex justify-content-between px-4">
<p class="mb-0">
<i class="bi bi-card-checklist me-2"></i>訂單管理
</p>
<i class="bi bi-caret-down"></i>
</div>
</a>
<div class="collapse" id="menu-order" >
<a href="orders.html" class="d-block ps-5 text-dark text-decoration-none sidebar-link " role="button">
訂單列表
</a>
<a href="order.html" class="d-block ps-5 text-dark text-decoration-none sidebar-link" role="button">
單一訂單細節
</a>
</div>
</div>
<!-- 參考連結-不包含子選單 -->
<div>
<a class="sidebar-link" href="index.html" role="button">
<div class="px-4">
<i class="bi bi-list-stars me-2"></i> 參考連結
</div>
</a>
</div>
</div>
<!-- 3. 登出按鈕 -->
<a href="#" class="mt-auto sidebar-link ">
<div class="px-4">
<i class="bi bi-box-arrow-in-right me-2"></i>登出
</div>
</a>
</aside>
<!--主要區塊-->
<main class="main">
<!-- 側欄收合按鈕 -->
<div class="bg-white border-bottom sticky-top w-100">
<a href="#"
class="d-inline-block py-3 px-4 border-end" id="toggle-btn">
<i class="bi bi-arrows-angle-expand"></i>
</a>
</div>
<!-- 主要內容 -->
<!-- 在線人數、訂單數、營業額-->
<div class="p-4">
</div>
</main>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="./javascripts/all.js"></script>
</body>
</html>