-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAccessDenied.cshtml
More file actions
66 lines (62 loc) · 3.43 KB
/
Copy pathAccessDenied.cshtml
File metadata and controls
66 lines (62 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@page
@model AccessDeniedModel
@{
ViewData["Title"] = "Access denied";
}
<div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
<div class="sm:mx-auto sm:w-full sm:max-w-md">
<img src="https://tailwindcss.com/plus-assets/img/logos/mark.svg?color=indigo&shade=600"
alt="Stickerlandia Logo"
class="mx-auto h-10 w-auto"/>
<h2 class="mt-10 text-center text-2xl/9 font-bold tracking-tight text-gray-900">Access denied</h2>
</div>
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-md">
<div class="text-center space-y-6">
<div class="rounded-md bg-red-50 p-4">
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-red-400" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd" />
</svg>
</div>
<div class="ml-3">
<h3 class="text-sm font-medium text-red-800">
Access Denied
</h3>
<div class="mt-2 text-sm text-red-700">
<p>You do not have permission to access this resource. This could be because:</p>
<ul class="list-disc list-inside mt-2 space-y-1">
<li>You are not signed in</li>
<li>Your account doesn't have the required permissions</li>
<li>The resource you're trying to access has been restricted</li>
</ul>
</div>
</div>
</div>
</div>
<div class="space-y-4">
<div>
<a asp-page="./Login"
class="flex w-full justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm/6 font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
Sign in
</a>
</div>
<div>
<a href="/"
class="flex w-full justify-center rounded-md bg-white px-3 py-1.5 text-sm/6 font-semibold text-gray-900 outline-1 -outline-offset-1 outline-gray-300 hover:bg-gray-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
Go to home page
</a>
</div>
<div>
<button onclick="history.back()"
class="flex w-full justify-center rounded-md bg-white px-3 py-1.5 text-sm/6 font-semibold text-gray-900 outline-1 -outline-offset-1 outline-gray-300 hover:bg-gray-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
Go back
</button>
</div>
</div>
<div class="text-sm text-gray-500">
<p>If you believe this is an error, please contact support.</p>
</div>
</div>
</div>
</div>