ui: fix
This commit is contained in:
parent
4e819f6eba
commit
61716738ed
@ -56,7 +56,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{#if otherApplications.length > 0 && $session.teamId === '0'}
|
{#if otherApplications.length > 0 && $session.teamId === '0'}
|
||||||
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
|
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each otherApplications as application}
|
{#each otherApplications as application}
|
||||||
<Application {application} />
|
<Application {application} />
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
{database.name}
|
{database.name}
|
||||||
</div>
|
</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {database.teams[0].name}</div>
|
<div class="text-center truncate">{database.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if !database.type}
|
{#if !database.type}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
@ -90,7 +90,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{#if otherDatabases.length > 0 && $session.teamId === '0'}
|
{#if otherDatabases.length > 0 && $session.teamId === '0'}
|
||||||
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
|
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each otherDatabases as database}
|
{#each otherDatabases as database}
|
||||||
<a href="/databases/{database.id}" class="no-underline p-2 w-96">
|
<a href="/databases/{database.id}" class="no-underline p-2 w-96">
|
||||||
@ -112,7 +112,7 @@
|
|||||||
{database.name}
|
{database.name}
|
||||||
</div>
|
</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {database.teams[0].name}</div>
|
<div class="text-center truncate">{database.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if !database.type}
|
{#if !database.type}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
<div class="box-selection hover:bg-sky-600">
|
<div class="box-selection hover:bg-sky-600">
|
||||||
<div class="font-bold text-xl text-center truncate">{destination.name}</div>
|
<div class="font-bold text-xl text-center truncate">{destination.name}</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {destination.teams[0].name}</div>
|
<div class="text-center truncate">{destination.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="text-center truncate">{destination.network}</div>
|
<div class="text-center truncate">{destination.network}</div>
|
||||||
</div>
|
</div>
|
||||||
@ -81,14 +81,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if otherDestinations.length > 0 && $session.teamId === '0'}
|
{#if otherDestinations.length > 0 && $session.teamId === '0'}
|
||||||
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
|
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each otherDestinations as destination}
|
{#each otherDestinations as destination}
|
||||||
<a href="/destinations/{destination.id}" class="no-underline p-2 w-96">
|
<a href="/destinations/{destination.id}" class="no-underline p-2 w-96">
|
||||||
<div class="box-selection hover:bg-sky-600">
|
<div class="box-selection hover:bg-sky-600">
|
||||||
<div class="font-bold text-xl text-center truncate">{destination.name}</div>
|
<div class="font-bold text-xl text-center truncate">{destination.name}</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {destination.teams[0].name}</div>
|
<div class="text-center truncate">{destination.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="text-center truncate">{destination.network}</div>
|
<div class="text-center truncate">{destination.network}</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
{#if $session.teamId === '0' && ownServices.length > 0 && otherServices.length > 0}
|
{#if $session.teamId === '0' && ownServices.length > 0 && otherServices.length > 0}
|
||||||
<div class="text-xl font-bold pb-5 px-1">Current Team</div>
|
<div class="text-xl font-bold pb-5 px-6">Current Team</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each ownServices as service}
|
{#each ownServices as service}
|
||||||
@ -91,7 +91,7 @@
|
|||||||
{service.name}
|
{service.name}
|
||||||
</div>
|
</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {service.teams[0].name}</div>
|
<div class="text-center truncate">{service.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if !service.type || !service.fqdn}
|
{#if !service.type || !service.fqdn}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
@ -105,7 +105,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{#if otherServices.length > 0 && $session.teamId === '0'}
|
{#if otherServices.length > 0 && $session.teamId === '0'}
|
||||||
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
|
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each otherServices as service}
|
{#each otherServices as service}
|
||||||
<a href="/services/{service.id}" class="no-underline p-2 w-96">
|
<a href="/services/{service.id}" class="no-underline p-2 w-96">
|
||||||
@ -137,7 +137,7 @@
|
|||||||
{service.name}
|
{service.name}
|
||||||
</div>
|
</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {service.teams[0].name}</div>
|
<div class="text-center truncate">{service.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if !service.type || !service.fqdn}
|
{#if !service.type || !service.fqdn}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
{#if $session.teamId === '0' && ownSources.length > 0 && otherSources.length > 0}
|
{#if $session.teamId === '0' && ownSources.length > 0 && otherSources.length > 0}
|
||||||
<div class="text-xl font-bold pb-5 px-1">Current Team</div>
|
<div class="text-xl font-bold pb-5 px-6">Current Team</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each ownSources as source}
|
{#each ownSources as source}
|
||||||
@ -75,7 +75,7 @@
|
|||||||
>
|
>
|
||||||
<div class="font-bold text-xl text-center truncate">{source.name}</div>
|
<div class="font-bold text-xl text-center truncate">{source.name}</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {source.teams[0].name}</div>
|
<div class="text-center truncate">{source.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)}
|
{#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if otherSources.length > 0 && $session.teamId === '0'}
|
{#if otherSources.length > 0 && $session.teamId === '0'}
|
||||||
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
|
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
|
||||||
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
|
||||||
{#each otherSources as source}
|
{#each otherSources as source}
|
||||||
<a href="/sources/{source.id}" class="no-underline p-2 w-96">
|
<a href="/sources/{source.id}" class="no-underline p-2 w-96">
|
||||||
@ -102,7 +102,7 @@
|
|||||||
>
|
>
|
||||||
<div class="font-bold text-xl text-center truncate">{source.name}</div>
|
<div class="font-bold text-xl text-center truncate">{source.name}</div>
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="text-center truncate">Team {source.teams[0].name}</div>
|
<div class="text-center truncate">{source.teams[0].name}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)}
|
{#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)}
|
||||||
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
<div class="font-bold text-center truncate text-red-500 group-hover:text-white">
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Team's</div>
|
<div class="px-6 pb-5 pt-10 text-xl font-bold">Others</div>
|
||||||
<div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">
|
<div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">
|
||||||
{#each otherTeams as team}
|
{#each otherTeams as team}
|
||||||
<a href="/teams/{team.teamId}" class="w-96 p-2 no-underline">
|
<a href="/teams/{team.teamId}" class="w-96 p-2 no-underline">
|
||||||
|
Loading…
Reference in New Issue
Block a user