initial commit
This commit is contained in:
1
vendor/symfony/twig-bridge/Resources/views/Email/default/notification/body.html.twig
vendored
Normal file
1
vendor/symfony/twig-bridge/Resources/views/Email/default/notification/body.html.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "@email/zurb_2/notification/body.html.twig" %}
|
||||
1
vendor/symfony/twig-bridge/Resources/views/Email/default/notification/body.txt.twig
vendored
Normal file
1
vendor/symfony/twig-bridge/Resources/views/Email/default/notification/body.txt.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "@email/zurb_2/notification/body.txt.twig" %}
|
||||
1786
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/main.css
vendored
Normal file
1786
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/main.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
67
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/body.html.twig
vendored
Normal file
67
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/body.html.twig
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
{% apply inky_to_html|inline_css %}
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
{% block style %}
|
||||
{{ source("@email/zurb_2/main.css") }}
|
||||
{{ source("@email/zurb_2/notification/local.css") }}
|
||||
{% endblock %}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<spacer size="32"></spacer>
|
||||
<wrapper class="body">
|
||||
<container class="body_{{ ("urgent" == importance ? "alert" : ("high" == importance ? "warning" : "default")) }}">
|
||||
<spacer size="16"></spacer>
|
||||
<row>
|
||||
<columns large="12" small="12">
|
||||
{% block lead %}
|
||||
{% if importance is not null %}<small><strong>{{ importance|upper }}</strong></small>{% endif %}
|
||||
<p class="lead">
|
||||
{{ email.subject }}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if markdown %}
|
||||
{{ include('@email/zurb_2/notification/content_markdown.html.twig') }}
|
||||
{% else %}
|
||||
{{ raw ? content|raw : content|nl2br }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block action %}
|
||||
{% if action_url %}
|
||||
<spacer size="16"></spacer>
|
||||
<button href="{{ action_url }}">{{ action_text }}</button>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block exception %}
|
||||
{% if exception %}
|
||||
<spacer size="16"></spacer>
|
||||
<p><em>Exception stack trace attached.</em></p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
<wrapper class="secondary">
|
||||
<spacer size="16"></spacer>
|
||||
{% block footer %}
|
||||
{% if footer_text is defined and footer_text is not null %}
|
||||
<row>
|
||||
<columns small="12" large="6">
|
||||
{% block footer_content %}
|
||||
<p><small>{{ footer_text }}</small></p>
|
||||
{% endblock %}
|
||||
</columns>
|
||||
</row>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</wrapper>
|
||||
</container>
|
||||
</wrapper>
|
||||
</body>
|
||||
</html>
|
||||
{% endapply %}
|
||||
20
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/body.txt.twig
vendored
Normal file
20
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/body.txt.twig
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{% block lead %}
|
||||
{{ email.subject }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{% endblock %}
|
||||
|
||||
{% block action %}
|
||||
{% if action_url %}
|
||||
{{ action_text }}: {{ action_url }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block exception %}
|
||||
{% if exception %}
|
||||
Exception stack trace attached.
|
||||
{{ exception }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1 @@
|
||||
{{ content|markdown_to_html }}
|
||||
19
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/local.css
vendored
Normal file
19
vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/local.css
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
body {
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
.wrapper.secondary {
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
.container.body_alert {
|
||||
border-top: 8px solid #ec5840;
|
||||
}
|
||||
|
||||
.container.body_warning {
|
||||
border-top: 8px solid #ffae00;
|
||||
}
|
||||
|
||||
.container.body_default {
|
||||
border-top: 8px solid #aaaaaa;
|
||||
}
|
||||
Reference in New Issue
Block a user