migrations
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Has started running
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Has started running
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Has been cancelled
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Has started running
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Has started running

This commit is contained in:
2026-01-02 16:12:49 -05:00
parent fcd0f78fd1
commit 7712525cce
13 changed files with 91 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ http:
middleware: [ "static" ] middleware: [ "static" ]
static: static:
dir: "public/" dir: "public/"
allow: [ ".css", ".js", ".ico" ] allow: [ ".css", ".js", ".ico", ".webmanifest", ".png" ]
pool: pool:
allocate_timeout: 5s allocate_timeout: 5s

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
front-end/assets/favicon.ico Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

@@ -0,0 +1,11 @@
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64x64.png">
<link rel="icon" type="image/png" sizes="180x180" href="favicon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="favicon-512x512.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicon-180x180.png">
<link rel="apple-touch-icon" sizes="192x192" href="favicon-192x192.png">
<link rel="apple-touch-icon" sizes="512x512" href="favicon-512x512.png">
<link rel="manifest" href="site.webmanifest">

View File

@@ -0,0 +1,44 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "favicon-48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "favicon-64x64.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "favicon-180x180.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "favicon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "favicon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

View File

@@ -2,7 +2,18 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<link rel="icon" href="./assets/favicon.ico"/>
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="/assets/favicon-48x48.png">
<link rel="icon" type="image/png" sizes="64x64" href="/assets/favicon-64x64.png">
<link rel="icon" type="image/png" sizes="180x180" href="/assets/favicon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/assets/favicon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/favicon-512x512.png">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon-180x180.png">
<link rel="apple-touch-icon" sizes="192x192" href="/assets/favicon-192x192.png">
<link rel="apple-touch-icon" sizes="512x512" href="/assets/favicon-512x512.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Auth Service - Login</title> <title>Auth Service - Login</title>
<script src="https://kit.fontawesome.com/a0fd516b66.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/a0fd516b66.js" crossorigin="anonymous"></script>

View File

@@ -1,11 +1,13 @@
<template> <template>
<div class="flex flex-row justify-center md:p-10"> <div class="flex flex-row justify-center md:p-10">
<Card class="p-10 w-full md:w-2/3 lg:w-1/2 xl:w-5/12"> <Card class="p-10 w-full md:w-2/3 lg:w-1/2 xl:w-5/12"
:style="{ backgroundColor: capabilities.branding.backgroundColor, color: capabilities.branding.foregroundColor }">
<template #header> <template #header>
<div class="flex flex-col items-center justify-center"> <div class="flex flex-col items-center justify-center">
<div> <div>
<Image <Image
:src="getImgUrl" :src="getImgUrl()"
/>
</div> </div>
<div class="text-2xl mt-5"> <div class="text-2xl mt-5">
<span v-if="capabilities.client_name !== ''">{{ capabilities.client_name }}</span> <span v-if="capabilities.client_name !== ''">{{ capabilities.client_name }}</span>
@@ -101,7 +103,7 @@
</template> </template>
<template #footer> <template #footer>
<p class="text-xs text-center text-gray-500 mt-10"> <p class="text-xs text-center text-gray-500 mt-10">
Career Uprising, Inc :: Authentication Portal :: {{ capabilities.client_name }} :: Authentication Portal ::
<i class="text-xs fa-sharp fa-thin fa-copyright"></i> {{ date() }} :: {{ version() }} <i class="text-xs fa-sharp fa-thin fa-copyright"></i> {{ date() }} :: {{ version() }}
</p> </p>
<p class="text-center text-gray-500 mt-10"> <p class="text-center text-gray-500 mt-10">
@@ -130,7 +132,7 @@ interface Data {
loading: boolean loading: boolean
capabilities: { capabilities: {
branding: { branding: {
imageUrl: string, logoUrl: string,
foregroundColor: string, foregroundColor: string,
backgroundColor: string, backgroundColor: string,
}, },
@@ -168,7 +170,7 @@ export default defineComponent({
loading: false, loading: false,
capabilities: { capabilities: {
branding: { branding: {
imageUrl: '', logoUrl: '',
foregroundColor: '', foregroundColor: '',
backgroundColor: '', backgroundColor: '',
}, },
@@ -224,11 +226,11 @@ export default defineComponent({
}, },
methods: { methods: {
getImgUrl() { getImgUrl() {
if (this.capabilities.branding.imageUrl !== '') { if (this.capabilities.branding.logoUrl && this.capabilities.branding.logoUrl !== '') {
return this.capabilities.branding.imageUrl return this.capabilities.branding.logoUrl
} }
return '/assets/logo.png' return 'https://i.siteworxpro.com/NxsEu-0-v33knF-Ncdj2MPYJhKfincDN0lqfczAnYiU/w:600/sm:1/enc/U8uE6IaB8-3qrm6YHoicagNyCd3y9TxIvgXdX8KToub50MwB3SJ_zZCqhnHfy2JR'
}, },
date() { date() {
return new Date().getFullYear() return new Date().getFullYear()