mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 18:16:46 +03:00
added svc-bundles to recipes-contrib (#1186)
* added tree svc bundle * - Co-authored-by: Fabien Potencier <fabien@potencier.org>
This commit is contained in:
co-authored by
Fabien Potencier
parent
4c70975762
commit
decdb814f6
@@ -0,0 +1,8 @@
|
||||
.svc-contactform {
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
padding: 15px;
|
||||
margin: auto;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 5px 5px rgba(0,0,0,.4);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
svc_contactform:
|
||||
# Email adress for contact mails
|
||||
contact_mail: dev@sv-systems.com
|
||||
|
||||
# Which route should by called after amil sent
|
||||
route_after_send: index
|
||||
@@ -0,0 +1,3 @@
|
||||
_svc_contactform:
|
||||
resource: '@SvcContactformBundle/src/Resources/config/routes.xml'
|
||||
prefix: /svc-contactform/{_locale}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Svc\\ContactformBundle\\SvcContactformBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"assets/": "assets/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
* Please adapt config/packages/svc-contactform.yaml
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
_svc_param:
|
||||
resource: '@SvcParamBundle/src/Resources/config/routes.xml'
|
||||
prefix: /svc-param/{_locale}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Svc\\ParamBundle\\SvcParamBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
* Please adapt config/routes/svc-param.yaml and define your route
|
||||
@@ -0,0 +1,7 @@
|
||||
# Default configuration for "SvcUtilBundle"
|
||||
svc_util:
|
||||
mailer:
|
||||
# Default sender mail address
|
||||
mail_address: dev@sv-systems.com
|
||||
# Default sender name
|
||||
mail_name: 'Test User'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
_svc_util:
|
||||
resource: '@SvcUtilBundle/src/Resources/config/routes.xml'
|
||||
prefix: /svc-util/{_locale}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Svc\\UtilBundle\\SvcUtilBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
* Please adapt config/packages/svc-util.yaml
|
||||
Reference in New Issue
Block a user