Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
073aecd4
Commit
073aecd4
authored
Apr 07, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
3e1c679f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
80 deletions
+84
-80
src/lib/components/chat/Settings/Account.svelte
src/lib/components/chat/Settings/Account.svelte
+84
-80
No files found.
src/lib/components/chat/Settings/Account.svelte
View file @
073aecd4
...
@@ -134,6 +134,9 @@
...
@@ -134,6 +134,9 @@
}}
}}
/>
/>
<div class="space-y-1">
<!-- <div class=" text-sm font-medium">{$i18n.t('Account')}</div> -->
<div class="flex space-x-5">
<div class="flex space-x-5">
<div class="flex flex-col">
<div class="flex flex-col">
<div class="self-center mt-2">
<div class="self-center mt-2">
...
@@ -170,12 +173,12 @@
...
@@ -170,12 +173,12 @@
</div>
</div>
</div>
</div>
<div class="flex-1 flex flex-col self-center">
<div class="flex-1 flex flex-col self-center
gap-0.5
">
<div class=" font-medium
mb-1.5
">{$i18n.t('Profile Image')}</div>
<div class="
mb-0.5 text-sm
font-medium">{$i18n.t('Profile Image')}</div>
<div>
<div>
<button
<button
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-l
g
px-4 py-
1
bg-gray-100 dark:bg-gray-850"
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-
ful
l px-4 py-
0.5
bg-gray-100 dark:bg-gray-850"
on:click={async () => {
on:click={async () => {
if (canvasPixelTest()) {
if (canvasPixelTest()) {
profileImageUrl = generateInitialsImage(name);
profileImageUrl = generateInitialsImage(name);
...
@@ -193,7 +196,7 @@
...
@@ -193,7 +196,7 @@
>
>
<button
<button
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-l
g
px-4 py-
1
bg-gray-100 dark:bg-gray-850"
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-
ful
l px-4 py-
0.5
bg-gray-100 dark:bg-gray-850"
on:click={async () => {
on:click={async () => {
const url = await getGravatarUrl($user.email);
const url = await getGravatarUrl($user.email);
...
@@ -202,7 +205,7 @@
...
@@ -202,7 +205,7 @@
>
>
<button
<button
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-lg px-
4
py-1
bg-gray-100 dark:bg-gray-850
"
class=" text-xs text-center text-gray-800 dark:text-gray-400 rounded-lg px-
2
py-1"
on:click={async () => {
on:click={async () => {
profileImageUrl = '/user.png';
profileImageUrl = '/user.png';
}}>{$i18n.t('Remove')}</button
}}>{$i18n.t('Remove')}</button
...
@@ -211,9 +214,9 @@
...
@@ -211,9 +214,9 @@
</div>
</div>
</div>
</div>
<div class="
flex-1
">
<div class="
pt-0.5
">
<div class="flex flex-col w-full">
<div class="flex flex-col w-full">
<div class=" mb-1 text-xs
text-gray-500
">{$i18n.t('Name')}</div>
<div class=" mb-1 text-xs
font-medium
">{$i18n.t('Name')}</div>
<div class="flex-1">
<div class="flex-1">
<input
<input
...
@@ -225,6 +228,7 @@
...
@@ -225,6 +228,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="py-0.5">
<div class="py-0.5">
<UpdatePassword />
<UpdatePassword />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment