blob: 8e99661a58501f360df2b45a3b29de71d8affba2 (
plain) (
blame)
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
|
<script lang="ts">
import {Input, Button, Switch} from "$components";
</script>
<div class="relative mx-auto max-w-4xl md:px-8 xl:px-0">
<div class="pt-10 pb-16">
<div class="px-4 sm:px-6 md:px-0">
<h1 class="text-3xl font-bold tracking-tight text-gray-900">Settings</h1>
</div>
<div class="px-4 sm:px-6 md:px-0">
<div class="py-6">
<!-- Tabs -->
<div class="lg:hidden">
<label for="selected-tab" class="sr-only">Select a tab</label>
<select
id="selected-tab"
name="selected-tab"
class="mt-1 block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-purple-500 focus:outline-none focus:ring-purple-500 sm:text-sm"
>
<option selected>General</option>
<option>Password</option>
<option>Notifications</option>
>
<option>Billing</option>
<option>Team Members</option>
</select>
</div>
<div class="hidden lg:block">
<div class="border-b border-gray-200">
<nav class="-mb-px flex space-x-8">
<!-- Current: "border-purple-500 text-purple-600", Default: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700" -->
<a href="#"
class="border-purple-500 text-purple-600 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>General</a
>
<a
href="#"
class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>Password</a
>
<a
href="#"
class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>Notifications</a
>
<a
href="#"
class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>Plan</a
>
<a
href="#"
class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>Billing</a
>
<a
href="#"
class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
>Team Members</a
>
</nav>
</div>
</div>
<!-- Description list with inline editing -->
<div class="mt-10 divide-y divide-gray-200">
<div class="space-y-1">
<h3 class="text-lg font-medium leading-6 text-gray-900">Profile</h3>
<p class="max-w-2xl text-sm text-gray-500">
This information will be displayed publicly so be careful what you share.
</p>
</div>
<div class="mt-6">
<dl class="divide-y divide-gray-200">
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5">
<dt class="text-sm font-medium text-gray-500">Name</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">Chelsea Hagon</span>
<span class="ml-4 flex-shrink-0">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
</span>
</dd>
</div>
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:pt-5">
<dt class="text-sm font-medium text-gray-500">Photo</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">
<img
class="h-8 w-8 rounded-full"
src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
alt=""
/>
</span>
<span class="ml-4 flex flex-shrink-0 items-start space-x-4">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
<span class="text-gray-300" aria-hidden="true">|</span>
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Remove</button
>
</span>
</dd>
</div>
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:pt-5">
<dt class="text-sm font-medium text-gray-500">Email</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">chelsea.hagon@example.com</span>
<span class="ml-4 flex-shrink-0">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
</span>
</dd>
</div>
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:border-b sm:border-gray-200 sm:py-5">
<dt class="text-sm font-medium text-gray-500">Job title</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">Human Resources Manager</span>
<span class="ml-4 flex-shrink-0">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
</span>
</dd>
</div>
</dl>
</div>
</div>
<div class="mt-10 divide-y divide-gray-200">
<div class="space-y-1">
<h3 class="text-lg font-medium leading-6 text-gray-900">Account</h3>
<p class="max-w-2xl text-sm text-gray-500">Manage how information is displayed on your
account.</p>
</div>
<div class="mt-6">
<dl class="divide-y divide-gray-200">
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5">
<dt class="text-sm font-medium text-gray-500">Language</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">English</span>
<span class="ml-4 flex-shrink-0">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
</span>
</dd>
</div>
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:pt-5">
<dt class="text-sm font-medium text-gray-500">Date format</dt>
<dd class="mt-1 flex text-sm text-gray-900 sm:col-span-2 sm:mt-0">
<span class="flex-grow">DD-MM-YYYY</span>
<span class="ml-4 flex flex-shrink-0 items-start space-x-4">
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Update</button
>
<span class="text-gray-300" aria-hidden="true">|</span>
<button
type="button"
class="rounded-md bg-white font-medium text-purple-600 hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>Remove</button
>
</span>
</dd>
</div>
<div class="py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:pt-5">
<dt class="text-sm font-medium text-gray-500" id="timezone-option-label">Automatic
timezone
</dt>
<Switch/>
</div>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
|