email_layout.html.twig 2.09 KB
Newer Older
Julien Jorry committed
1
<!DOCTYPE html>
2
<html lang="fr">
Julien Jorry committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
<head>
  <title>{{title}}</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">

  <style type="text/css">
    {% block css %}
    {% endblock css %}
  </style>
</head>

<body style="margin: 0; padding: 0;" bgcolor="#ffffff" align="center">
  <table style="padding: 20px;width: 100%;" bgcolor="#f6f6f6">
    <tr>
      <td></td>
      <td style="border: 1px solid #f0f0f0;clear: both !important;display: block !important;Margin: 0 auto !important;max-width: 600px !important;padding: 20px;" bgcolor="#FFFFFF">

        <!-- content -->
        <div style="display: block; margin: 0 auto; max-width: 600px;">
        <table style="width: 100%;">
          
          <tr>
            <td>
            {% block main %}
              {% block logo %}
                <a class="navbar-brand" href="{{ absolute_url(path('index')) }}">
                  <img src="{{ absolute_url(path('index')) }}/images/logo.png" height="45" class="d-inline-block align-top" alt="{{ KOH_MLC_NAME|default('') }}">
                </a>
              {% endblock logo %}
              {% block title%}
              <h2 style="font-size: 18px; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold; line-height: 1.2em; margin: 40px 0 10px;">
                {{title}}
              </h2>
              {% endblock title%}
              <br/>
              {% block content %}
              
              {% endblock content %}
    
              {% block footer%}
              {# <p>{{ KOH_MLC_NAME }}</p> #}
              {% endblock footer%}
            {% endblock main %}
            </td>
          </tr>
          
        </table>
        </div>
        <!-- /content -->
        
      </td>
      <td></td>
    </tr>
</table>
57
<a href='http://www.kohinos.com' target='_blank' rel='noopener noreferrer'>Kohinos</a> <a href='https://www.gnu.org/licenses/agpl-3.0.fr.html' target='_blank' rel='noopener noreferrer' style='color:grey;'>(Licence AGPL v3)</a> <span class='appversion'> - v{{ shivas_app_version }}</span>
Julien Jorry committed
58 59
</body>
</html>