This commit is contained in:
Andras Bacsai 2022-07-25 20:52:30 +00:00
parent 44052b57c5
commit baf40eb6d4
6 changed files with 10 additions and 10 deletions

View File

@ -140,7 +140,7 @@
{#if application.fqdn} {#if application.fqdn}
<div class="truncate text-center">{getDomain(application.fqdn) || ''}</div> <div class="truncate text-center">{getDomain(application.fqdn) || ''}</div>
{/if} {/if}
{#if application.destinationDocker.name} {#if application.destinationDocker?.name}
<div class="truncate text-center">{application.destinationDocker.name}</div> <div class="truncate text-center">{application.destinationDocker.name}</div>
{/if} {/if}
{#if !application.gitSourceId || !application.repository || !application.branch} {#if !application.gitSourceId || !application.repository || !application.branch}
@ -164,7 +164,7 @@
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Applications</div> <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Applications</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 otherApplications as application} {#each otherApplications as application}
<a href="/applications/{application.id}" class="w-96 p-2 no-underline"> <a href="/applications/{application.id}" class="p-2 no-underline">
<div class="box-selection group relative hover:bg-green-600"> <div class="box-selection group relative hover:bg-green-600">
{#if application.buildPack} {#if application.buildPack}
{#if application.buildPack.toLowerCase() === 'rust'} {#if application.buildPack.toLowerCase() === 'rust'}

View File

@ -100,7 +100,7 @@
{#if $appSession.teamId === '0' && otherDatabases.length > 0} {#if $appSession.teamId === '0' && otherDatabases.length > 0}
<div class="truncate text-center">{database.teams[0].name}</div> <div class="truncate text-center">{database.teams[0].name}</div>
{/if} {/if}
{#if database.destinationDocker.name} {#if database.destinationDocker?.name}
<div class="truncate text-center">{database.destinationDocker.name}</div> <div class="truncate text-center">{database.destinationDocker.name}</div>
{/if} {/if}
{#if !database.type} {#if !database.type}
@ -116,7 +116,7 @@
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Databases</div> <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Databases</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 otherDatabases as database} {#each otherDatabases as database}
<a href="/databases/{database.id}" class="w-96 p-2 no-underline"> <a href="/databases/{database.id}" class="p-2 no-underline">
<div class="box-selection group relative hover:bg-purple-600"> <div class="box-selection group relative hover:bg-purple-600">
{#if database.type === 'clickhouse'} {#if database.type === 'clickhouse'}
<Clickhouse isAbsolute /> <Clickhouse isAbsolute />

View File

@ -126,7 +126,7 @@
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Destinations</div> <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Destinations</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 otherDestinations as destination} {#each otherDestinations as destination}
<a href="/destinations/{destination.id}" class="w-96 p-2 no-underline relative"> <a href="/destinations/{destination.id}" class="p-2 no-underline relative">
<div class="box-selection hover:bg-sky-600"> <div class="box-selection hover:bg-sky-600">
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"

View File

@ -193,7 +193,7 @@
<div class="flex flex-col"> <div class="flex flex-col">
<div class="flex flex-row flex-wrap justify-center px-2 pb-10 md:flex-row"> <div class="flex flex-row flex-wrap justify-center px-2 pb-10 md:flex-row">
{#each ownTeams as team} {#each ownTeams as team}
<a href="/iam/team/{team.id}" class="w-96 p-2 no-underline"> <a href="/iam/team/{team.id}" class="p-2 no-underline">
<div class="box-selection relative"> <div class="box-selection relative">
<div> <div>
<div class="truncate text-center text-xl font-bold"> <div class="truncate text-center text-xl font-bold">
@ -221,7 +221,7 @@
<div class="pb-5 pt-10 text-xl font-bold">Other Teams</div> <div class="pb-5 pt-10 text-xl font-bold">Other Teams</div>
<div class="flex flex-row flex-wrap justify-center px-2 md:flex-row"> <div class="flex flex-row flex-wrap justify-center px-2 md:flex-row">
{#each allTeams as team} {#each allTeams as team}
<a href="/iam/team/{team.id}" class="w-96 p-2 no-underline"> <a href="/iam/team/{team.id}" class="p-2 no-underline">
<div <div
class="box-selection relative" class="box-selection relative"
class:hover:bg-fuchsia-600={team.id !== '0'} class:hover:bg-fuchsia-600={team.id !== '0'}

View File

@ -85,7 +85,7 @@
{#if service.fqdn} {#if service.fqdn}
<div class="truncate text-center">{getDomain(service.fqdn) || ''}</div> <div class="truncate text-center">{getDomain(service.fqdn) || ''}</div>
{/if} {/if}
{#if service.destinationDocker.name} {#if service.destinationDocker?.name}
<div class="truncate text-center">{service.destinationDocker.name}</div> <div class="truncate text-center">{service.destinationDocker.name}</div>
{/if} {/if}
{#if !service.type || !service.fqdn} {#if !service.type || !service.fqdn}
@ -101,7 +101,7 @@
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Services</div> <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Services</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 otherServices as service} {#each otherServices as service}
<a href="/services/{service.id}" class="w-96 p-2 no-underline"> <a href="/services/{service.id}" class="p-2 no-underline">
<div class="box-selection group relative hover:bg-pink-600"> <div class="box-selection group relative hover:bg-pink-600">
<Services type={service.type} /> <Services type={service.type} />
<div class="truncate text-center text-xl font-bold"> <div class="truncate text-center text-xl font-bold">

View File

@ -131,7 +131,7 @@
<div class="px-6 pb-5 pt-10 text-xl font-bold">Other Sources</div> <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Sources</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 otherSources as source} {#each otherSources as source}
<a href="/sources/{source.id}" class="w-96 p-2 no-underline"> <a href="/sources/{source.id}" class="p-2 no-underline">
<div <div
class="box-selection group hover:bg-orange-600" class="box-selection group hover:bg-orange-600"
class:border-red-500={source.gitlabApp && !source.gitlabAppId} class:border-red-500={source.gitlabApp && !source.gitlabAppId}