refac: styling

This commit is contained in:
Timothy J. Baek 2024-11-03 02:00:31 -08:00
parent 330ad0131c
commit dbf14afa32
2 changed files with 4 additions and 19 deletions

View File

@ -422,7 +422,6 @@ OAUTH_ADMIN_ROLES = PersistentConfig(
)
def load_oauth_providers():
OAUTH_PROVIDERS.clear()
if GOOGLE_CLIENT_ID.value and GOOGLE_CLIENT_SECRET.value:

View File

@ -119,20 +119,6 @@
</div>
<div class=" bg-white dark:bg-gray-950 min-h-screen w-full flex justify-center font-primary">
<!-- <div class="hidden lg:flex lg:flex-1 px-10 md:px-16 w-full bg-yellow-50 justify-center">
<div class=" my-auto pb-16 text-left">
<div>
<div class=" font-semibold text-yellow-600 text-4xl">
{$i18n.t('Get up and running with')} <br /> {$i18n.t('large language models, locally.')}
</div>
<div class="mt-2 text-yellow-600 text-xl">
{$i18n.t('Run Llama 2, Code Llama, and other models. Customize and create your own.')}
</div>
</div>
</div>
</div> -->
<div class="w-full sm:max-w-md px-10 min-h-screen flex flex-col text-center">
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
<div class=" my-auto pb-10 w-full">
@ -183,7 +169,7 @@
<input
bind:value={name}
type="text"
class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
class="w-full text-sm outline-none bg-transparent"
autocomplete="name"
placeholder={$i18n.t('Enter Your Full Name')}
required
@ -198,7 +184,7 @@
<input
bind:value={email}
type="email"
class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
class=" w-full text-sm outline-none bg-transparent"
autocomplete="email"
placeholder={$i18n.t('Enter Your Email')}
required
@ -211,7 +197,7 @@
<input
bind:value={password}
type="password"
class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
class="w-full text-sm outline-none bg-transparent"
placeholder={$i18n.t('Enter Your Password')}
autocomplete="current-password"
required
@ -223,7 +209,7 @@
{#if $config?.features.enable_login_form}
<div class="mt-5">
<button
class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-medium text-sm py-3 transition"
class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-medium text-sm py-2.5 transition"
type="submit"
>
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}