mirror of https://github.com/Budibase/budibase.git
2 changed files with 10 additions and 49 deletions
@ -1,39 +0,0 @@ |
|||
<script> |
|||
import { ActionButton } from "@budibase/bbui" |
|||
import OidcLogo from "assets/oidc-logo.png" |
|||
import { admin } from "stores/portal" |
|||
|
|||
let show = false |
|||
|
|||
$: show = $admin.checklist?.oidc |
|||
</script> |
|||
|
|||
{#if show} |
|||
<ActionButton |
|||
on:click={() => window.open("/api/admin/auth/oidc", "_blank")} |
|||
> |
|||
<div class="inner"> |
|||
<img src={OidcLogo} alt="oidc icon" /> |
|||
<p>Sign in with OIDC</p> |
|||
</div> |
|||
</ActionButton> |
|||
{/if} |
|||
|
|||
<style> |
|||
.inner { |
|||
display: flex; |
|||
flex-direction: row; |
|||
align-items: center; |
|||
justify-content: center; |
|||
padding-top: var(--spacing-xs); |
|||
padding-bottom: var(--spacing-xs); |
|||
} |
|||
.inner img { |
|||
width: 18px; |
|||
margin: 3px 10px 3px 3px; |
|||
} |
|||
.inner p { |
|||
margin: 0; |
|||
} |
|||
</style> |
|||
|
|||
Loading…
Reference in new issue