Merge pull request #570 from ArticaDev/main
UI Improvements and minor responsiveness fixes 👍
This commit is contained in:
commit
3d7cd78d0e
@ -85,17 +85,19 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<div class="flex items-center">
|
<div class="items-center grid grid-flow-row md:grid-flow-col md:w-96 gap-4">
|
||||||
<h1 class="title lg:text-3xl">Hardware Details</h1>
|
<h1 class="title lg:text-3xl">Hardware Details</h1>
|
||||||
<div class="flex space-x-4">
|
<div class="grid lg:grid-flow-col gap-4">
|
||||||
{#if $appSession.teamId === '0'}
|
{#if $appSession.teamId === '0'}
|
||||||
<button on:click={manuallyCleanupStorage} class:loading={loading.cleanup} class="btn btn-sm"
|
<button
|
||||||
>Cleanup Storage</button
|
on:click={manuallyCleanupStorage}
|
||||||
|
class:loading={loading.cleanup}
|
||||||
|
class="btn btn-sm w-36 h-14">Cleanup Storage</button
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
on:click={restartCoolify}
|
on:click={restartCoolify}
|
||||||
class:loading={loading.restart}
|
class:loading={loading.restart}
|
||||||
class="btn btn-sm bg-red-600 hover:bg-red-500">Restart Coolify</button
|
class="btn btn-sm w-36 h-14 bg-red-600 hover:bg-red-500">Restart Coolify</button
|
||||||
>
|
>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
@ -126,7 +128,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="stats stats-vertical min-w-[20rem] mb-5 bg-transparent rounded">
|
<div class="stats stats-vertical min-w-[20rem] mb-5 bg-transparent rounded">
|
||||||
|
|
||||||
<div class="stat">
|
<div class="stat">
|
||||||
<div class="stat-title">Total CPU</div>
|
<div class="stat-title">Total CPU</div>
|
||||||
<div class="stat-value text-2xl">
|
<div class="stat-value text-2xl">
|
||||||
|
@ -394,5 +394,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
<main>
|
<main>
|
||||||
|
<div class="px-20">
|
||||||
<slot />
|
<slot />
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -69,6 +69,7 @@
|
|||||||
required
|
required
|
||||||
bind:this={emailEl}
|
bind:this={emailEl}
|
||||||
bind:value={email}
|
bind:value={email}
|
||||||
|
class="w-56 md:w-96"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@ -76,6 +77,7 @@
|
|||||||
placeholder={$t('forms.password')}
|
placeholder={$t('forms.password')}
|
||||||
bind:value={password}
|
bind:value={password}
|
||||||
required
|
required
|
||||||
|
class="w-56 md:w-96"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="flex space-x-2 h-8 items-center justify-center pt-8">
|
<div class="flex space-x-2 h-8 items-center justify-center pt-8">
|
||||||
@ -83,14 +85,13 @@
|
|||||||
type="submit"
|
type="submit"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
class="btn btn-sm"
|
class="btn btn-sm"
|
||||||
class:loading={loading}
|
class:loading
|
||||||
class:bg-coollabs={!loading}
|
class:bg-coollabs={!loading}
|
||||||
>{loading ? $t('login.authenticating') : $t('login.login')}</button
|
>{loading ? $t('login.authenticating') : $t('login.login')}</button
|
||||||
>
|
>
|
||||||
|
|
||||||
<button
|
<button on:click|preventDefault={gotoRegister} class="btn btn-sm"
|
||||||
on:click|preventDefault={gotoRegister}
|
>{$t('register.register')}</button
|
||||||
class="btn btn-sm">{$t('register.register')}</button
|
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -101,6 +101,7 @@
|
|||||||
required
|
required
|
||||||
bind:this={emailEl}
|
bind:this={emailEl}
|
||||||
bind:value={email}
|
bind:value={email}
|
||||||
|
class="w-56 md:w-96"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@ -109,6 +110,7 @@
|
|||||||
bind:this={passwordEl}
|
bind:this={passwordEl}
|
||||||
bind:value={password}
|
bind:value={password}
|
||||||
required
|
required
|
||||||
|
class="w-56 md:w-96"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@ -116,6 +118,7 @@
|
|||||||
placeholder={$t('forms.password_again')}
|
placeholder={$t('forms.password_again')}
|
||||||
bind:value={passwordCheck}
|
bind:value={passwordCheck}
|
||||||
required
|
required
|
||||||
|
class="w-56 md:w-96"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="flex space-x-2 h-8 items-center justify-center pt-8">
|
<div class="flex space-x-2 h-8 items-center justify-center pt-8">
|
||||||
@ -125,8 +128,7 @@
|
|||||||
disabled={loading}
|
disabled={loading}
|
||||||
class:bg-transparent={loading}
|
class:bg-transparent={loading}
|
||||||
class:bg-coollabs={!loading}
|
class:bg-coollabs={!loading}
|
||||||
class:loading={loading}
|
class:loading>{loading ? $t('register.registering') : $t('register.register')}</button
|
||||||
>{loading ? $t('register.registering') : $t('register.register')}</button
|
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -24,12 +24,6 @@ body {
|
|||||||
@apply min-h-screen overflow-x-hidden bg-coolblack text-sm text-white scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200;
|
@apply min-h-screen overflow-x-hidden bg-coolblack text-sm text-white scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
main,
|
|
||||||
.main {
|
|
||||||
width: calc(100% - 4rem);
|
|
||||||
margin-left: 4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@apply h-12 w-96 rounded border border-transparent bg-transparent bg-coolgray-200 p-2 text-xs tracking-tight text-white placeholder-stone-600 outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 disabled:border disabled:border-dashed disabled:border-coolgray-300 disabled:bg-transparent md:text-sm;
|
@apply h-12 w-96 rounded border border-transparent bg-transparent bg-coolgray-200 p-2 text-xs tracking-tight text-white placeholder-stone-600 outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 disabled:border disabled:border-dashed disabled:border-coolgray-300 disabled:bg-transparent md:text-sm;
|
||||||
}
|
}
|
||||||
@ -106,7 +100,7 @@ .title {
|
|||||||
@apply mr-4 text-base tracking-tight md:text-2xl font-bold;
|
@apply mr-4 text-base tracking-tight md:text-2xl font-bold;
|
||||||
}
|
}
|
||||||
.nav-main {
|
.nav-main {
|
||||||
@apply fixed top-0 left-0 min-h-screen w-16 min-w-[4rem] overflow-auto border-r border-stone-800 bg-coolgray-200 scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200 xl:overflow-visible;
|
@apply fixed top-0 left-0 min-h-screen w-16 min-w-[4rem] overflow-hidden border-r border-stone-800 bg-coolgray-200 scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200 xl:overflow-visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-side {
|
.nav-side {
|
||||||
|
Loading…
Reference in New Issue
Block a user