mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 09:16:44 +00:00
refac: auth styling
This commit is contained in:
parent
ffbc480bb4
commit
40ea18d54d
@ -107,7 +107,7 @@
|
|||||||
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
|
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
|
||||||
<div class=" my-auto pb-10 w-full">
|
<div class=" my-auto pb-10 w-full">
|
||||||
<div
|
<div
|
||||||
class="flex items-center justify-center gap-3 text-xl sm:text-2xl text-center font-bold dark:text-gray-200"
|
class="flex items-center justify-center gap-3 text-xl sm:text-2xl text-center font-medium dark:text-gray-200"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
{$i18n.t('Signing in')}
|
{$i18n.t('Signing in')}
|
||||||
@ -129,7 +129,7 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="mb-1">
|
<div class="mb-1">
|
||||||
<div class=" text-2xl font-bold">
|
<div class=" text-2xl font-medium">
|
||||||
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')}
|
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')}
|
||||||
{$i18n.t('to')}
|
{$i18n.t('to')}
|
||||||
{$WEBUI_NAME}
|
{$WEBUI_NAME}
|
||||||
@ -148,7 +148,7 @@
|
|||||||
<div class="flex flex-col mt-4">
|
<div class="flex flex-col mt-4">
|
||||||
{#if mode === 'signup'}
|
{#if mode === 'signup'}
|
||||||
<div>
|
<div>
|
||||||
<div class=" text-sm font-semibold text-left mb-1">{$i18n.t('Name')}</div>
|
<div class=" text-sm font-medium text-left mb-1">{$i18n.t('Name')}</div>
|
||||||
<input
|
<input
|
||||||
bind:value={name}
|
bind:value={name}
|
||||||
type="text"
|
type="text"
|
||||||
@ -163,7 +163,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<div class=" text-sm font-semibold text-left mb-1">{$i18n.t('Email')}</div>
|
<div class=" text-sm font-medium text-left mb-1">{$i18n.t('Email')}</div>
|
||||||
<input
|
<input
|
||||||
bind:value={email}
|
bind:value={email}
|
||||||
type="email"
|
type="email"
|
||||||
@ -175,7 +175,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class=" text-sm font-semibold text-left mb-1">{$i18n.t('Password')}</div>
|
<div class=" text-sm font-medium text-left mb-1">{$i18n.t('Password')}</div>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
bind:value={password}
|
bind:value={password}
|
||||||
@ -190,7 +190,7 @@
|
|||||||
|
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
<button
|
<button
|
||||||
class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-semibold text-sm py-3 transition"
|
class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-medium text-sm py-3 transition"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}
|
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}
|
||||||
|
Loading…
Reference in New Issue
Block a user