fix: app logs view
This commit is contained in:
parent
3c68d317d7
commit
94ecbc5921
@ -133,14 +133,8 @@
|
|||||||
<div class="text-xl font-bold tracking-tighter">Container not found / exited.</div>
|
<div class="text-xl font-bold tracking-tighter">Container not found / exited.</div>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div class="relative w-full" />
|
<div class="relative w-full">
|
||||||
<div class="flex justify-start sticky space-x-2 pb-2">
|
<div class="flex justify-start sticky space-x-2 pb-2">
|
||||||
{#if loadLogsInterval}
|
|
||||||
<button id="streaming" class="btn btn-sm bg-transparent border-none loading"
|
|
||||||
>Streaming logs</button
|
|
||||||
>
|
|
||||||
{/if}
|
|
||||||
<div class="flex-1" />
|
|
||||||
<button on:click={followBuild} class="btn btn-sm " class:bg-coollabs={followingLogs}>
|
<button on:click={followBuild} class="btn btn-sm " class:bg-coollabs={followingLogs}>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
@ -160,6 +154,11 @@
|
|||||||
</svg>
|
</svg>
|
||||||
{followingLogs ? 'Following Logs...' : 'Follow Logs'}
|
{followingLogs ? 'Following Logs...' : 'Follow Logs'}
|
||||||
</button>
|
</button>
|
||||||
|
{#if loadLogsInterval}
|
||||||
|
<button id="streaming" class="btn btn-sm bg-transparent border-none loading"
|
||||||
|
>Streaming logs</button
|
||||||
|
>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
bind:this={logsEl}
|
bind:this={logsEl}
|
||||||
@ -170,6 +169,7 @@
|
|||||||
<p>{log + '\n'}</p>
|
<p>{log + '\n'}</p>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user