updated oauth2 docs and added create api rule tooltip

This commit is contained in:
Gani Georgiev
2023-04-17 16:29:56 +03:00
parent 00b04db5cf
commit c179b4c473
3 changed files with 32 additions and 14 deletions

View File

@@ -61,14 +61,19 @@
>
<div class="input-wrapper">
<label for={uniqueId}>
<slot name="beforeLabel" {isAdminOnly} />
<span class="txt" class:txt-hint={isAdminOnly}>
{label}
{isAdminOnly ? "- Admins only" : ""}
</span>
<slot name="afterLabel" {isAdminOnly} />
{#if !isAdminOnly}
<button
type="button"
class="btn btn-sm btn-transparent btn-hint lock-toggle"
class="btn btn-sm btn-transparent btn-hint lock-toggle"
on:click={lock}
>
<i class="ri-lock-line" />