Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lib_py_b2b / lib_b2b / notification_templates / address_message.jinja2
Size: Mime:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>B2B Notification</title>
    <style type="text/css">
        body { margin: 0; padding: 0; min-width: 100%!important; color:#242424 }
        .content { width: 100%; max-width: 600px; }
        @media only screen and (min-device-width: 601px) {
            .content {
                width: 600px !important;
             }
         }
        .content { padding: 0px 30px 20px 30px; color:#242424 }
        .header { padding-top: 0.5em; color:#242424 }
        .subhead1 { font-size: 18px; color: #555555; font-family: sans-serif; font-weight: 300; }
        .subhead2 { font-size: 15px; color: #C26769; line-height: 1.3; font-family: sans-serif; font-weight: 300; letter-spacing: 1px; }
        .h1 { font-size: 33px; line-height: 38px; font-weight: bold; }
        .h1, .h2, .h4 .bodycopy { color: #153643; font-family: sans-serif; }
        li { font-size: 14px; color: #888888; font-family: sans-serif; font-weight: 300; padding-left:0.5em; }
        address { padding: 0.5em; padding-bottom: 1em; line-height: 1.3; font-size: 15px; color: #555555; font-family: sans-serif; font-weight: 300; }
    </style>
</head>
<body>
    <div class="content">
        <h1 class="header">E-commerce Notification</h1>
        <h2>Orders: {{ order_id }}</h2>
        <h3 class="subhead2">{{ message }}</h3>
        <div>
            <strong>Original Address</strong>
            {% with address = original_address %}
                {% include 'address.jinja2' %}
            {% endwith %}
        </div>
        {% if recommended_address is defined and recommended_address %}
            <div>
                <strong>Recommended Address</strong>
                {% with address = recommended_address %}
                    {% include 'address.jinja2' %}
                {% endwith %}
            </div>
        {% endif %}
    </div>
    </body>
</html>