-
Notifications
You must be signed in to change notification settings - Fork 20
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
159 changed files
with
6,483 additions
and
17,565 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
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,21 +1,29 @@ | ||
# This file is a "template" of which env vars need to be defined for your application | ||
# Copy this file to .env file for development, create environment variables when deploying to production | ||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). | ||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration | ||
|
||
###> symfony/framework-bundle ### | ||
APP_ENV=prod | ||
APP_SECRET=52a9ee6241c958598f23df444ffdb03c | ||
###< symfony/framework-bundle ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
DATABASE_URL=mysql://root:[email protected]:3306/pdadmin | ||
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" | ||
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7" | ||
DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13&charset=utf8" | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> symfony/mailer ### | ||
#MAILER_DSN=smtp://[email protected]:[email protected]:465?encryption=ssl&auth_mode=login | ||
MAILER_DSN=smtp://localhost | ||
###< symfony/mailer ### | ||
|
||
###> symfony/messenger ### | ||
# Choose one of the transports below | ||
# MESSENGER_TRANSPORT_DSN=doctrine://default | ||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages | ||
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages | ||
###< symfony/messenger ### | ||
|
||
###> Project Configuration ### | ||
UPLOAD_DIR="public/uploads/" | ||
MAILER_FROM_EMAIL=[email protected] | ||
|
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 |
---|---|---|
|
@@ -28,4 +28,6 @@ src/*/Entity/*/*~ | |
node_modules | ||
.idea | ||
/build/ | ||
.DS_Store | ||
.DS_Store | ||
npm-debug.log | ||
yarn-error.log |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
8 |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/*====================================================== | ||
Override Bootstrap Variables | ||
=======================================================*/ | ||
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; | ||
$body-color: #4a5073; | ||
$headings-color: #262b40; | ||
$link-decoration: none; | ||
$link-color: #262b40; | ||
$border-radius: .3rem; | ||
$input-btn-focus-width: .2rem; | ||
$form-check-input-width: 1.2em; | ||
$form-check-input-border-radius: .2rem; | ||
$headings-font-weight: 500; | ||
$form-label-font-weight: 500; | ||
$line-height-base: 1.7; | ||
$alert-padding-y: .5rem; | ||
$alert-padding-x: 1rem; | ||
$font-size-base: .9rem; | ||
$transition-base: all .15s ease-in-out; | ||
$grid-gutter-width: 1rem; | ||
$small-font-size: .85em; | ||
$font-weight-bold: 500; | ||
$btn-close-focus-shadow: none; | ||
$primary: #5d52fd; | ||
$green: #8fd48f; | ||
$cyan: #07adcb; | ||
$btn-close-width: .75em; | ||
$dropdown-item-padding-x: 1rem; | ||
$dropdown-item-padding-y: 1.2rem / 4; | ||
$dropdown-divider-margin-y: 1rem / 3; | ||
$dropdown-border-color: #dee2e6; | ||
$dropdown-link-hover-bg: #e9ecef; | ||
$dropdown-border-width: 0; | ||
$dropdown-padding-x: 0; | ||
$dropdown-padding-y: 0; | ||
$modal-header-padding-y: .85rem; | ||
$modal-header-padding-x: $modal-header-padding-y * 1.5; | ||
$modal-header-border-width: 0; | ||
$modal-footer-border-width: 0; | ||
$modal-content-border-width: 0; | ||
$table-cell-padding-x: .75rem; | ||
|
||
$popover-border-width: 0; | ||
$popover-header-bg: $primary; | ||
$popover-header-color: #FFF; | ||
$popover-font-size: $font-size-base; | ||
$popover-body-padding-y: 1rem / 2; | ||
|
||
@import "~bootstrap/scss/functions"; | ||
@import "~bootstrap/scss/variables"; | ||
@import "~bootstrap/scss/mixins"; | ||
|
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import * as Vue from 'vue/dist/vue.esm-bundler' | ||
import {onMounted, getCurrentInstance, ref} from 'vue' | ||
|
||
/** | ||
* ============ | ||
* Init Vue & Core | ||
* ============ | ||
*/ | ||
let appConfig = { | ||
...{delimiters: ['${', '}']}, | ||
...(window.vueApp || {}), | ||
...{ | ||
setup(props, context) { | ||
let forms = ref({}); | ||
const app = getCurrentInstance().ctx; | ||
|
||
// Flash Message | ||
onMounted(() => { | ||
app.msg.showBag(window.flashBag); | ||
}) | ||
|
||
return { | ||
forms | ||
} | ||
}, | ||
} | ||
} | ||
|
||
/** | ||
* ============ | ||
* Create APP | ||
* ============ | ||
*/ | ||
window.Root = Vue.createApp(appConfig) | ||
.use(require('./core/index').default) | ||
.use(require('./src/index').default) | ||
.mount('#app'); |
Oops, something went wrong.