Files
psp_panel/src/app/pages/auth/access.ts
T

33 lines
2.1 KiB
TypeScript
Raw Normal View History

2024-12-30 12:42:25 +03:00
import { Component } from '@angular/core';
2025-01-07 17:29:51 +03:00
import { RouterModule } from '@angular/router';
2025-01-08 10:47:47 +03:00
import { ButtonModule } from 'primeng/button';
2025-01-07 17:29:51 +03:00
import { RippleModule } from 'primeng/ripple';
2025-01-10 10:18:36 +03:00
import { AppFloatingConfigurator } from '../../layout/component/app.floatingconfigurator';
2024-12-30 12:42:25 +03:00
@Component({
2025-01-07 13:04:10 +03:00
selector: 'app-access',
2025-01-07 17:29:51 +03:00
standalone: true,
imports: [ButtonModule, RouterModule, RippleModule, AppFloatingConfigurator, ButtonModule],
template: ` <app-floating-configurator />
2025-07-09 13:18:18 +03:00
<div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-screen overflow-hidden">
2025-01-07 17:29:51 +03:00
<div class="flex flex-col items-center justify-center">
<div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(247, 149, 48, 0.4) 10%, rgba(247, 149, 48, 0) 30%)">
<div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
<div class="gap-4 flex flex-col items-center">
<div class="flex justify-center items-center border-2 border-orange-500 rounded-full" style="width: 3.2rem; height: 3.2rem">
2025-07-09 13:18:18 +03:00
<i class="text-orange-500 pi pi-fw pi-lock text-2xl!"></i>
2025-01-07 17:29:51 +03:00
</div>
<h1 class="text-surface-900 dark:text-surface-0 font-bold text-4xl lg:text-5xl mb-2">Access Denied</h1>
<span class="text-muted-color mb-8">You do not have the necessary permisions. Please contact admins.</span>
2025-01-08 10:47:47 +03:00
<img src="https://primefaces.org/cdn/templates/sakai/auth/asset-access.svg" alt="Access denied" class="mb-8" width="80%" />
2025-01-07 17:29:51 +03:00
<div class="col-span-12 mt-8 text-center">
<p-button label="Go to Dashboard" routerLink="/" severity="warn" />
</div>
</div>
</div>
</div>
</div>
</div>`
2024-12-30 12:42:25 +03:00
})
2025-01-07 17:29:51 +03:00
export class Access {}