-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetting.html
More file actions
196 lines (158 loc) · 10.8 KB
/
Setting.html
File metadata and controls
196 lines (158 loc) · 10.8 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="assets/icons8-microsoft-admin-30.png" type="image/x-icon">
<title>Admin Settings</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div class="top-container">
<div class="nav buttom-line">
<div class="logo">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAABUklEQVR4nO2VzyuEQRzGh2zrIrk68BdwdCJJSi0X5U9wc7O1bvLjTlL+BXLl5qbk5OTox4GslfaIiI8mj9r0tr7v7Ggu+9RcZp7v85n37TszzrWVWsAgUAIqwC5wBFwAN0AdeNOoa86vHcpbUe1AHuAscE88+aySBXyXI7QA9OnvDGvTi8AWcAzU5Lu1gM0yZHVbvS4yuJgKXEgF7koF7kwF7sgDfv2Hrn62gGsRwf2yVi3g04jgSVlPLOAdmdcNXqu2LeAZmS8jgqedsSEeVTAaAex7pvgnWIFrKjrzR6JF8IoJqsDehu5eaAFcBXrMYIXOqfgFGAkEz+eCZnT4AzCUsd5Mmy5UfN+1Bwp6AsaM4D1fGwxueFN/4O/Asn91tJalfXMXGy/7DeBT4efA1C/gB7Da7BQEC5gArjO+8goYD082SBdMWTA/lvycpbYtl0JfmNEFAAxYCEgAAAAASUVORK5CYII=" alt="microsoft-admin--v1">
<!-- <i class=''></i> --> <!--use svg if you want it set up-->
<a href="index.html"><span>ABC</span>Cinema</a>
</div>
<div class="nav-links">
<a href="index.html">Dashboard</a>
<a href="Movies.html">Movies</a>
<a href="Resevation.html">Resevetion</a>
<!-- <a href="#">Accounts</a> -->
<a href="Setting.html">Settings</a>
</div>
<div class="right-section">
<i class='bx bx-bell'></i> <!--TODO: Send The Notifiction For Every CURD Operation And Save it TO the data Base-->
<i class='bx bx-search'></i> <!--TODO: Click the Serch and show the serch Bar, Get the Input From Search Bar and Send it to the data base and get the Output -->
<div class="profile">
<div class="info">
<img src="assets/profile.png">
<div>
<a href="#">Admin</a>
<p>Full Name</p>
</div><!--TODO: Admin & Name Base on the Registation Get the Input From Data Base-->
</div>
<i class='bx bx-chevron-down' id="AdminSection"></i> <!--TODO: Admin Drop down menu and link it to the relevent page-->
<div class="dropdown-menu" id="dropdown-menu2">
<ul>
<li>
<a href="#" style="display: inline-flex ;">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="fill: rgba(255, 255, 255, 1);">
<path d="M21 2H6a2 2 0 0 0-2 2v3H2v2h2v2H2v2h2v2H2v2h2v3a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zm-8 2.999c1.648 0 3 1.351 3 3A3.012 3.012 0 0 1 13 11c-1.647 0-3-1.353-3-3.001 0-1.649 1.353-3 3-3zM19 18H7v-.75c0-2.219 2.705-4.5 6-4.5s6 2.281 6 4.5V18z"></path>
</svg>My Profile
</a>
</li>
<li>
<a href="#" style="display: inline-flex ;">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="fill: rgba(255, 255, 255, 1);">\
<path d="M12 2a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm0 8a3 3 0 1 1 3-3 3 3 0 0 1-3 3zm9 11v-1a7 7 0 0 0-7-7h-4a7 7 0 0 0-7 7v1h2v-1a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v1z"></path>
</svg>My Contacts
</a>
</li>
<li>
<a href="#" style="display: inline-flex ;">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="fill: rgba(255, 255, 255, 1);">
<path d="m2.344 15.271 2 3.46a1 1 0 0 0 1.366.365l1.396-.806c.58.457 1.221.832 1.895 1.112V21a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-1.598a8.094 8.094 0 0 0 1.895-1.112l1.396.806c.477.275 1.091.11 1.366-.365l2-3.46a1.004 1.004 0 0 0-.365-1.366l-1.372-.793a7.683 7.683 0 0 0-.002-2.224l1.372-.793c.476-.275.641-.89.365-1.366l-2-3.46a1 1 0 0 0-1.366-.365l-1.396.806A8.034 8.034 0 0 0 15 4.598V3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v1.598A8.094 8.094 0 0 0 7.105 5.71L5.71 4.904a.999.999 0 0 0-1.366.365l-2 3.46a1.004 1.004 0 0 0 .365 1.366l1.372.793a7.683 7.683 0 0 0 0 2.224l-1.372.793c-.476.275-.641.89-.365 1.366zM12 8c2.206 0 4 1.794 4 4s-1.794 4-4 4-4-1.794-4-4 1.794-4 4-4z"></path>
</svg>Account Settings
</a>
</li>
<li>
<a href="#" style="display: inline-flex ;">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="fill: rgba(255, 255, 255, 1);">
<path d="M16 13v-2H7V8l-5 4 5 4v-3z"></path><path d="M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z"></path>
</svg>Log Out
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="bottom-container">
<div class="prog-status Prog-Movie-list">
<div class="flex min-h-screen">
<div class="w-1/4 bg-white">
<div class="p-6 text-xl font-bold border-b">Settings</div>
<nav class="mt-6">
<ul class="space-y-4">
<li><a href="#" class="block px-6 py-2 hover:bg-gray-100 rounded-r-full">General</a></li>
<li><a href="#" class="block px-6 py-2 text-blue-600 font-medium bg-gray-100 rounded-r-full">Members</a></li>
<li><a href="#" class="block px-6 py-2 hover:bg-gray-100 rounded-r-full">Billing plans</a></li>
<li><a href="#" class="block px-6 py-2 hover:bg-gray-100 rounded-r-full">Location & Log</a></li>
<li><a href="#" class="block px-6 py-2 hover:bg-gray-100 rounded-r-full">Login & security</a></li>
<!-- <li><a href="#" class="block px-6 py-2 hover:bg-gray-100 rounded-r-full">User roles</a></li> -->
</ul>
</nav>
</div>
<div class="flex-1 bg-white p-10">
<div class="flex items-center mb-6">
<img class="w-24 h-24 rounded-full object-cover" src="assets/profile.png" alt="Profile Image">
</div>
<div class="space-y-6">
<div class="flex justify-between items-center border-b pb-4">
<div>
<div class="text-sm text-gray-500 mb-2">Name</div>
<div >Himantha Thathsara</div>
</div>
<button href="#" class="text-indigo-600 hover:text-gray-600 hover:underline Button-Edit ">Edit <i class='bx bx-edit'></i> </button>
</div>
<div class="flex justify-between items-center border-b pb-4">
<div>
<div class="text-sm text-gray-500 mb-2">Contacts</div>
<div >Phone: +123123217923</div>
<div >Email: examplemail@gmail.com</div>
</div>
<button href="#" class="text-indigo-600 hover:text-gray-600 hover:underline Button-Edit ">Edit <i class='bx bx-edit'></i> </button>
</div>
<div class="flex justify-between items-center border-b pb-4">
<div>
<div class="text-sm text-gray-500 mb-2">Social media</div>
<div >linkedin.com/company/finalui</div>
<div >dribbble.com/final-ui</div>
</div>
<button href="#" class="text-indigo-600 hover:text-gray-600 hover:underline Button-Edit ">Edit <i class='bx bx-edit'></i> </button>
</div>
<div class="flex justify-between items-center border-b pb-4">
<div>
<div class="text-sm text-gray-500 mb-2">Language & Location</div>
<div >English, Sri Lanka</div>
</div>
<button href="#" class="text-indigo-600 hover:text-gray-600 hover:underline Button-Edit ">Edit <i class='bx bx-edit'></i> </button>
</div>
<div class="flex justify-between items-center">
<div>
<div class="text-sm text-gray-500 mb-2">Status</div>
<div >examplemail@gmail.com</div>
</div>
<div class="text-green-600 bg-green-100 px-4 py-2 rounded">Active</div>
</div>
</div>
</div>
</div>
<div class="flex justify-end space-x-4 p-4">
<button href="#" class="bg-red-300 px-4 py-2 rounded text-red-600 hover:text-red-600 hover:underline ">Delete <i class='bx bx-trash'></i> </button>
</div>
</div>
</div>
<script>
let OpenOrNot = false;
dropdownMenu2 =document.getElementById('dropdown-menu2');
AdminSection = document.getElementById('AdminSection');
AdminSection.addEventListener('click', () => {
if(!OpenOrNot){
dropdownMenu2.style.visibility = 'visible';
OpenOrNot = true;
}
else{
dropdownMenu2.style.visibility = 'hidden';
OpenOrNot = false;
}
});
</script>
</body>
</html>