Better access denied warning message.
This commit is contained in:
@@ -599,8 +599,8 @@ $effect(() => {
|
||||
data-sveltekit-preload-data="false"
|
||||
class="flex flex-col items-center justify-center h-full max-w-lg mx-auto space-y-4"
|
||||
>
|
||||
<h1 class="text-4xl font-bold text-red-500">Access Denied</h1>
|
||||
<p class="text-lg text-center text-gray-500">You do not have access to this site. You may need a <strong>passcode</strong>, <strong>sign in link</strong>, and or <strong>URL site key</strong>.</p>
|
||||
<h1 class="text-4xl font-bold text-red-600 dark:text-red-400">Access Denied</h1>
|
||||
<p class="text-lg text-center text-gray-800 dark:text-gray-200">You do not have access to this site. You may need a <strong>passcode</strong>, <strong>sign in link</strong>, and or <strong>URL site key</strong>.</p>
|
||||
<!-- xx {JSON.stringify(data.route)} xx -->
|
||||
<button
|
||||
type="button"
|
||||
@@ -637,6 +637,15 @@ $effect(() => {
|
||||
<span class="fas fa-sync mx-1"></span>
|
||||
Reload and Clear Cache
|
||||
</button>
|
||||
|
||||
<!-- This is mainly for IDAA using iframes in the Novi site. -->
|
||||
<div
|
||||
class="text-center text-sm text-gray-500"
|
||||
class:hidden={!$ae_loc.iframe}
|
||||
>
|
||||
<p>If you have tried the "Reload and Clear Cache" button, you may need to manually reload the page using your browser's reload button or by pressing <kbd>Ctrl</kbd> + <kbd>R</kbd> or <kbd>Cmd</kbd> + <kbd>R</kbd>.</p>
|
||||
<p>This sometimes happens with new versions of the app or when in an iframe.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user