Skip to content

Commit

Permalink
Finish user templates refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
mRoca committed Nov 13, 2020
1 parent d913589 commit 781791d
Show file tree
Hide file tree
Showing 54 changed files with 1,249 additions and 192 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ APP_SECRET=782bb8b0aeb47de4ea870794e79d82cd
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# For a PostgreSQL database, use: "postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8"
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
DATABASE_URL=postgresql://resop:postgrespwd@postgres/resop?serverVersion=11&charset=utf8
DATABASE_URL=postgresql://resop:postgrespwd@postgres/resop-test?serverVersion=11&charset=utf8
###< doctrine/doctrine-bundle ###

###> symfony/mailer ###
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ build-prod:
docker build -t resop:latest -f docker/php-flex/Dockerfile .

start-db:
$(DOCKER_COMPOSE_UP) traefik postgres adminer
$(DOCKER_COMPOSE_UP) traefik postgres adminer mailcatcher
docker-compose run --rm wait -c postgres:5432

start-php:
$(DOCKER_COMPOSE_UP_RECREATE) traefik nginx fpm
docker-compose run --rm wait -c fpm:9000,nginx:80
@echo -n "\nStack started with success:\nhttp://resop.vcap.me:7500/login => [email protected] : 01/01/1990"
@echo -n "\nhttp://resop.vcap.me:7500/organizations/login => DT75 : covid19\n"
@echo -n "\nStack started with success: http://resop.vcap.me:7500/\[email protected] : covid19\[email protected] : covid19\[email protected] : covid19\n"

start: init-db start-php

Expand Down
10 changes: 0 additions & 10 deletions assets/css/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

$xs: 380px;

@media (min-width: 360px) and (max-width: map-get($grid-breakpoints, "sm")) {
.form-inline {
.form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
}
}

body.login {
.navbar-and-body {
background-image: url(../img/login-background.jpg);
Expand Down
2 changes: 1 addition & 1 deletion behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ default:
suites:
default:
contexts:
- Alex\MailCatcher\Behat\MailCatcherContext
- App\Tests\Behat\CoverageContext
- App\Tests\Behat\DatabaseContext
- App\Tests\Behat\FixturesContext
Expand All @@ -11,6 +10,7 @@ default:
- App\Tests\Behat\SecurityContext
- App\Tests\Behat\TraversingContext
- App\Tests\Behat\UserPlanningContext
- App\Tests\Behat\MailsContext
- Behat\MinkExtension\Context\MinkContext
- PantherExtension\Context\PantherContext
- PantherExtension\Context\WaitContext
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"symfony/form": "5.*",
"symfony/framework-bundle": "5.*",
"symfony/intl": "5.*",
"symfony/mailer": "5.0.*",
"symfony/mailer": "5.*",
"symfony/monolog-bundle": "^3.5",
"symfony/security-bundle": "5.*",
"symfony/serializer-pack": "^1.0",
Expand All @@ -41,7 +41,7 @@
"twig/intl-extra": "^3.0"
},
"require-dev": {
"alexandresalome/mailcatcher": "dev-master",
"alexandresalome/mailcatcher": "^1.3",
"behat/behat": "^3.6",
"dama/doctrine-test-bundle": "^6.3",
"escapestudios/symfony2-coding-standard": "^3.11",
Expand Down
Loading

0 comments on commit 781791d

Please sign in to comment.