Page changes

This commit is contained in:
Bahadır Sofuoğlu
2022-11-08 12:14:21 +03:00
parent 17363dfa5d
commit 0d344cf2d7
6 changed files with 445 additions and 418 deletions

View File

@@ -1,18 +1,20 @@
<script setup>
import AppConfig from '@/layout/AppConfig.vue';
</script>
<template>
<div class="surface-0 flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="grid justify-content-center p-2 lg:p-0" style="min-width: 80%">
<div class="col-12 mt-5 xl:mt-0 text-center">
<img src="@/assets/layout/images/logo-orange.svg" alt="Sakai logo" class="mb-5" style="width: 81px; height: 60px" />
</div>
<div class="col-12 xl:col-6" 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="h-full w-full m-0 py-7 px-4" style="border-radius: 53px; background: linear-gradient(180deg, var(--surface-50) 38.9%, var(--surface-0))">
<div class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="flex flex-column align-items-center justify-content-center">
<img src="@/assets/demo/images/access/logo-orange.svg" alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" />
<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 surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center" style="border-radius: 53px">
<div class="grid flex flex-column align-items-center">
<div class="flex justify-content-center align-items-center bg-orange-500 border-circle" style="width: 3.2rem; height: 3.2rem">
<i class="pi pi-fw pi-lock text-2xl text-50"></i>
<i class="text-50 pi pi-fw pi-lock text-2xl"></i>
</div>
<h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">Access Denied</h1>
<span class="text-600 text-center">You do not have the necesary permisions. Please contact admins.</span>
<img src="@/assets/layout/images/asset-access.svg" alt="Access denied" class="mt-5" width="80%" />
<span class="text-600 mb-5">You do not have the necessary permisions. Please contact admins.</span>
<img src="@/assets/demo/images/access/asset-access.svg" alt="Access denied" class="mb-5" width="80%" />
<div class="col-12 mt-5 text-center">
<i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align: center"></i>
<router-link to="/" class="text-blue-500">Go to Dashboard</router-link>
@@ -22,4 +24,5 @@
</div>
</div>
</div>
<AppConfig />
</template>

View File

@@ -1,18 +1,20 @@
<script setup>
import AppConfig from '@/layout/AppConfig.vue';
</script>
<template>
<div class="surface-0 flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="grid justify-content-center p-2 lg:p-0" style="min-width: 80%">
<div class="col-12 mt-5 xl:mt-0 text-center">
<img src="@/assets/layout/images/logo-error.svg" alt="Sakai logo" class="mb-5" style="width: 81px; height: 60px" />
</div>
<div class="col-12 xl:col-6" style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%)">
<div class="h-full w-full m-0 py-7 px-4" style="border-radius: 53px; background: linear-gradient(180deg, var(--surface-50) 38.9%, var(--surface-0))">
<div class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="flex flex-column align-items-center justify-content-center">
<img src="@/assets/demo/images/error/logo-error.svg" alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" />
<div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%)">
<div class="w-full surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center" style="border-radius: 53px">
<div class="grid flex flex-column align-items-center">
<div class="flex justify-content-center align-items-center bg-pink-500 border-circle" style="height: 3.2rem; width: 3.2rem">
<i class="pi pi-fw pi-exclamation-circle text-2xl text-50"></i>
<i class="pi pi-fw pi-exclamation-circle text-2xl text-white"></i>
</div>
<h1 class="font-bold text-5xl text-900 mb-2">Error Occured</h1>
<span class="text-600">Requested resource is not available.</span>
<img src="@/assets/layout/images/asset-error.svg" alt="Error" class="mt-5" width="80%" />
<h1 class="text-900 font-bold text-5xl mb-2">Error Occured</h1>
<span class="text-600 mb-5">Requested resource is not available.</span>
<img src="@/assets/demo/images/error/asset-error.svg" alt="Error" class="mb-5" width="80%" />
<div class="col-12 mt-5 text-center">
<i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align: center"></i>
<router-link to="/" class="text-blue-500">Go to Dashboard</router-link>
@@ -22,4 +24,5 @@
</div>
</div>
</div>
<AppConfig />
</template>

View File

@@ -1,6 +1,7 @@
<script setup>
import { useLayoutService } from '@/layout/composables/layoutService';
import { ref } from 'vue';
import AppConfig from '@/layout/AppConfig.vue';
const { isDarkTheme } = useLayoutService();
@@ -14,29 +15,27 @@ const logoUrl = () => {
</script>
<template>
<div class="surface-0 flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="grid justify-content-center p-2 lg:p-0" style="min-width: 80%">
<div class="col-12 mt-5 xl:mt-0 text-center">
<img :src="logoUrl()" alt="Sakai logo" class="mb-5" style="width: 81px; height: 60px" />
</div>
<div class="col-12 xl:col-6" style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, var(--primary-color), rgba(33, 150, 243, 0) 30%)">
<div class="h-full w-full m-0 py-7 px-4" style="border-radius: 53px; background: linear-gradient(180deg, var(--surface-50) 38.9%, var(--surface-0))">
<div class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
<div class="flex flex-column align-items-center justify-content-center">
<img :src="logoUrl()" alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" />
<div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, var(--primary-color) 10%, rgba(33, 150, 243, 0) 30%)">
<div class="w-full surface-card py-8 px-5 sm:px-8" style="border-radius: 53px">
<div class="text-center mb-5">
<img src="@/assets/layout/images/avatar.png" alt="Image" height="50" class="mb-3" />
<img src="@/assets/demo/images/login/avatar.png" alt="Image" height="50" class="mb-3" />
<div class="text-900 text-3xl font-medium mb-3">Welcome, Isabel!</div>
<span class="text-600 font-medium">Sign in to continue</span>
</div>
<div class="w-full md:w-10 mx-auto">
<div>
<label for="email1" class="block text-900 text-xl font-medium mb-2">Email</label>
<InputText id="email1" v-model="email" type="text" class="w-full mb-3" placeholder="Email" style="padding: 1rem" />
<InputText id="email1" type="text" placeholder="Email address" class="w-full md:w-30rem mb-5" style="padding: 1rem" v-model="email" />
<label for="password1" class="block text-900 font-medium text-xl mb-2">Password</label>
<Password id="password1" v-model="password" placeholder="Password" :toggleMask="true" class="w-full mb-3" inputClass="w-full" inputStyle="padding:1rem"></Password>
<div class="flex align-items-center justify-content-between mb-5">
<div class="flex align-items-center justify-content-between mb-5 gap-5">
<div class="flex align-items-center">
<Checkbox id="rememberme1" v-model="checked" :binary="true" class="mr-2"></Checkbox>
<Checkbox v-model="checked" id="rememberme1" binary class="mr-2"></Checkbox>
<label for="rememberme1">Remember me</label>
</div>
<a class="font-medium no-underline ml-2 text-right cursor-pointer" style="color: var(--primary-color)">Forgot password?</a>
@@ -47,6 +46,7 @@ const logoUrl = () => {
</div>
</div>
</div>
<AppConfig />
</template>
<style scoped>