Access.vue 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <script setup>
  2. import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
  3. </script>
  4. <template>
  5. <div
  6. class="
  7. surface-0
  8. flex
  9. align-items-center
  10. justify-content-center
  11. min-h-screen min-w-screen
  12. overflow-hidden
  13. "
  14. >
  15. <div class="grid justify-content-center p-2 lg:p-0" style="min-width: 80%">
  16. <!-- <div class="col-12 mt-5 xl:mt-0 text-center"> -->
  17. <!-- <img -->
  18. <!-- src="layout/images/logo-orange.svg" -->
  19. <!-- alt="Sakai logo" -->
  20. <!-- class="mb-5" -->
  21. <!-- style="width: 81px; height: 60px" -->
  22. <!-- /> -->
  23. <!-- </div> -->
  24. <div
  25. class="col-12 xl:col-6"
  26. style="
  27. border-radius: 56px;
  28. padding: 0.3rem;
  29. background: linear-gradient(
  30. 180deg,
  31. rgba(247, 149, 48, 0.4) 10%,
  32. rgba(247, 149, 48, 0) 30%
  33. );
  34. "
  35. >
  36. <div
  37. class="h-full w-full m-0 py-7 px-4"
  38. style="
  39. border-radius: 53px;
  40. background: linear-gradient(
  41. 180deg,
  42. var(--surface-50) 38.9%,
  43. var(--surface-0)
  44. );
  45. "
  46. >
  47. <div class="grid flex flex-column align-items-center">
  48. <div
  49. class="
  50. flex
  51. justify-content-center
  52. align-items-center
  53. bg-orange-500
  54. border-circle
  55. "
  56. style="width: 3.2rem; height: 3.2rem"
  57. >
  58. <i class="pi pi-fw pi-lock text-2xl text-50"></i>
  59. </div>
  60. <h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">
  61. Access Denied
  62. </h1>
  63. <span class="text-600 text-center"
  64. >You do not have the necesary permisions. Please contact
  65. admins.</span
  66. >
  67. <!-- <img -->
  68. <!-- src="layout/images/asset-access.svg" -->
  69. <!-- alt="Access denied" -->
  70. <!-- class="mt-5" -->
  71. <!-- width="80%" -->
  72. <!-- /> -->
  73. <div class="col-12 mt-5 text-center">
  74. <i
  75. class="pi pi-fw pi-arrow-left text-blue-500 mr-2"
  76. style="vertical-align: center"
  77. ></i>
  78. <Link href="/" class="text-blue-500">Go to Dashboard</Link>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </template>