ui: fixes

fix: secret saving process
This commit is contained in:
Andras Bacsai
2022-09-23 14:09:26 +02:00
parent 3d6adeffc4
commit 01fd5901fe
17 changed files with 683 additions and 472 deletions

View File

@@ -104,8 +104,7 @@
});
</script>
<div class="relative">
<div class="flex justify-start top-0 pb-2 space-x-2">
<div class="flex justify-start top-0 pb-2 space-x-2">
<button
on:click={followBuild}
class="btn btn-sm bg-coollabs"
@@ -188,4 +187,3 @@
No logs found yet.
</div>
{/if}
</div>

View File

@@ -114,12 +114,14 @@
</div>
</div>
</div>
<div class="block flex-col justify-start space-x-2 flex flex-col-reverse lg:flex-row">
<div class="block flex-col justify-start space-x-5 flex flex-col-reverse lg:flex-row">
<div class="flex-1 md:w-96">
{#if $selectedBuildId}
{#key $selectedBuildId}
<svelte:component this={BuildLog} />
{/key}
{:else}
Select a build to see the logs.
{/if}
</div>
<div class="mb-4 min-w-[16rem] space-y-2 md:mb-0 ">
@@ -141,10 +143,10 @@
on:click={() => loadBuild(build.id)}
class:rounded-tr={index === 0}
class:rounded-br={index === builds.length - 1}
class="flex cursor-pointer items-center justify-center py-4 no-underline transition-all duration-100 hover:bg-coolgray-300 hover:shadow-xl"
class="flex cursor-pointer items-center justify-center py-4 no-underline transition-all duration-150 hover:bg-coolgray-300 hover:shadow-xl"
class:bg-coolgray-200={$selectedBuildId === build.id}
>
<div class="flex-col px-2 text-center min-w-[10rem]">
<div class="flex-col px-2 text-center min-w-[6rem]">
<div class="text-sm font-bold">
{build.branch || application.branch}
</div>
@@ -160,7 +162,7 @@
</div>
</div>
<div class="w-48 text-center text-xs">
<div class="w-32 text-center text-xs">
{#if build.status === 'running'}
<div>
<span class="font-bold text-xl">{build.elapsed}s</span>