templates/login/_loginBox.html.twig line 1

Open in your IDE?
  1. <div class="auth-wrapper col-md-5">
  2.     <div class="auth-content card">
  3.         <div class="align-items-center">
  4.             <div class="card-body">
  5.                 <div class="text-center">
  6.                     {% if app.session.get("customerAccountDomain") %}
  7.                         {% set customerAccountDomain = app.session.get("customerAccountDomain") %}
  8.                         <img src="{{ asset('uploads/customerAccountLogo/logoWebsite/' ~ customerAccountDomain.getWebsiteLogo()) }}" alt="{{ customerAccountDomain.getName() }}" height="80px" class="mb-4">
  9.                     {% else %}
  10.                         <img src="{{ asset('img/logo/overseas-xpress-logo-horizontal.png') }}" alt="Overseas Xpress" class="logoLogin">
  11.                     {% endif %}
  12.                 </div>
  13.                 {#                {% if 'overseasxpress.com' in app.request.uri %}#}
  14.                 {##}
  15.                 {#                    <div class="alert alert-success">#}
  16.                 {#                        Welcome to the new <b>Overseas Express </b> <br/>#}
  17.                 {#                        If you have questions or need help please email backoffice@overseasnetwork.com<br/>#}
  18.                 {#                        Thank you#}
  19.                 {#                    </div>#}
  20.                 {#                {% endif %}#}
  21.                 {#                            {% for message in app.flashes('error') %}#}
  22.                 {#                                <div class="alert alert-danger">{{ message }}</div>#}
  23.                 {#                            {% endfor %}#}
  24.                 {#                            {% for message in app.flashes('success') %}#}
  25.                 {#                                <div class="alert alert-success">{{ message }}</div>#}
  26.                 {#                            {% endfor %}#}
  27.                 {% if error %}
  28.                     <div class="alert alert-danger" role="alert">
  29.                         {{ error.messageKey|trans(error.messageData, 'security')|raw }}
  30.                         <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  31.                             <span aria-hidden="true">&times;</span>
  32.                         </button>
  33.                     </div>
  34.                     {#                                <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }} </div>#}
  35.                 {% endif %}
  36.                 <ul class="nav nav-pills nav-fill" id="myTab" role="tablist">
  37.                     <li class="nav-item">
  38.                         <a class="nav-link {% if not requestAccessTab %} active {% endif %}" id="home-tab" data-toggle="tab" href="#home" role="tab"
  39.                            aria-controls="home" aria-selected="true">Login to Account</a>
  40.                     </li>
  41. {#                    {% if not app.session.get("customerAccountDomain") %}#}
  42.                         <li class="nav-item">
  43.                             <a class="nav-link {% if requestAccessTab %} active {% endif %}" id="signup-tab" data-toggle="tab" href="#signup" role="tab"
  44.                                aria-controls="signup" aria-selected="false">Create Account</a>
  45.                         </li>
  46. {#                    {% endif %}#}
  47.                 </ul>
  48.                 <div class="tab-content" id="myTabContent">
  49.                     <div class="tab-pane fade {% if not requestAccessTab %} show active {% endif %}" id="home" role="tabpanel"
  50.                          aria-labelledby="home-tab">
  51.                         {% include"login/_loginForm.html.twig" %}
  52.                     </div>
  53. {#                    {% if not app.session.get("customerAccountDomain") %}#}
  54.                         <div class="tab-pane fade {% if requestAccessTab %}in show active {% endif %}" id="signup" role="tabpanel" aria-labelledby="signup-tab">
  55.                             {% include"login/_requestAccessForm.html.twig" %}
  56.                         </div>
  57. {#                    {% endif %}#}
  58.                 </div>
  59.             </div>
  60.         </div>
  61.     </div>
  62. </div>