-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
79 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# Public | ||
PUBLIC_SERVICE_URL=https://botsharp.azurewebsites.net | ||
PUBLIC_SERVICE_URL=https://botsharp.azurewebsites.net | ||
PUBLIC_LOGO_URL=/images/logo.png | ||
PUBLIC_LOGIN_IMAGE=/images/profile-img.png | ||
PUBLIC_FAVICON_URL=/icons/favicon.ico | ||
PUBLIC_BRAND_NAME=BotSharp | ||
PUBLIC_ADMIN_USERNAME=[email protected] | ||
PUBLIC_ADMIN_PASSWORD=123456 | ||
PUBLIC_COMPANY_NAME=SciSharp STACK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<script> | ||
import {PUBLIC_FAVICON_URL, PUBLIC_BRAND_NAME} from '$env/static/public' | ||
export let title = 'Home'; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>{title} | BotSharp - Admin & Dashboard</title> | ||
<link rel="icon" type="image/x-icon" href={PUBLIC_FAVICON_URL}> | ||
<title>{title} | {PUBLIC_BRAND_NAME} - Admin & Dashboard</title> | ||
</svelte:head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.drawflow .drawflow-node { | ||
background: rgb(128, 0, 128); | ||
background: var(--bs-primary); | ||
color: white; | ||
} | ||
|
||
.drawflow .drawflow-node.selected { | ||
background: rgb(0, 200, 50); | ||
background: var(--bs-success); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,17 @@ | |
import Headtitle from '$lib/common/HeadTitle.svelte'; | ||
import { getToken } from '$lib/services/auth-service.js' | ||
import { goto } from '$app/navigation'; | ||
import { | ||
PUBLIC_LOGO_URL, | ||
PUBLIC_LOGIN_IMAGE, | ||
PUBLIC_BRAND_NAME, | ||
PUBLIC_ADMIN_USERNAME, | ||
PUBLIC_ADMIN_PASSWORD, | ||
PUBLIC_COMPANY_NAME | ||
} from '$env/static/public'; | ||
let username = '[email protected]'; | ||
let password = '123456'; | ||
let username = PUBLIC_ADMIN_USERNAME; | ||
let password = PUBLIC_ADMIN_PASSWORD; | ||
let isOpen = false; | ||
let msg = ''; | ||
let status = ''; | ||
|
@@ -44,11 +52,11 @@ | |
<Col class="col-7"> | ||
<div class="text-primary p-4"> | ||
<h5 class="text-primary">Welcome Back !</h5> | ||
<p>Sign in to continue to BotSharp.</p> | ||
<p>Sign in to continue to {PUBLIC_BRAND_NAME}.</p> | ||
</div> | ||
</Col> | ||
<Col class="col-5 align-self-end"> | ||
<img src='/images/profile-img.png' alt="" class="img-fluid" /> | ||
<img src={PUBLIC_LOGIN_IMAGE} alt="" class="img-fluid" /> | ||
</Col> | ||
</Row> | ||
</div> | ||
|
@@ -57,14 +65,14 @@ | |
<Link href="/dashboard" class="auth-logo-light"> | ||
<div class="avatar-md profile-user-wid mb-4"> | ||
<span class="avatar-title rounded-circle bg-light"> | ||
<img src='/images/logo.png' alt="" class="rounded-circle" height="55" /> | ||
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="55" /> | ||
</span> | ||
</div> | ||
</Link> | ||
<Link href="/dashboard" class="auth-logo-dark"> | ||
<div class="avatar-md profile-user-wid mb-4"> | ||
<span class="avatar-title rounded-circle bg-light"> | ||
<img src='/images/logo.png' alt="" class="rounded-circle" height="55" /> | ||
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="55" /> | ||
</span> | ||
</div> | ||
</Link> | ||
|
@@ -149,7 +157,7 @@ | |
<Link href="/register" class="fw-medium text-primary">Signup now</Link> | ||
</p> | ||
<p> | ||
© {new Date().getFullYear()} SciSharp STACK. Crafted with | ||
© {new Date().getFullYear()} {PUBLIC_COMPANY_NAME}. Crafted with | ||
<i class="mdi mdi-heart text-danger" /> by open source community | ||
</p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.