templates/layout/two_columns.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <div style="margin-top: 10px; overflow: hidden;">&nbsp;</div>
  4.     <div class="tipscontainer">
  5.         {% block rightcol %}
  6.             {% if not app.user %}
  7.                 <div class="tipstitle">Connexion</div>
  8.                 <div class="tipscontent">
  9.                     <div class="formbox sidebarLoginForm">
  10.                         <form name="toploginform" id="toploginform" action="{{ path('security_login') }}" method="post"
  11.                               style="margin: 0;">
  12.                             <div class="form-group row">
  13.                                 <label class="col-sm-4 col-form-label ">
  14.                                     {{ 'user.username'|trans }}
  15.                                 </label>
  16.                                 <div class="col-sm-8">
  17.                                     <input type="text" name="_username" id="username"
  18.                                            class="form-control form-control-sm"
  19.                                            value="{% if last_username is defined %}{{ last_username }}{% endif %}"
  20.                                            maxlength="30">
  21.                                 </div>
  22.                             </div>
  23.                             <div class="form-group row">
  24.                                 <label class="col-sm-4 col-form-label">
  25.                                     {{ 'user.password'|trans }}
  26.                                 </label>
  27.                                 <div class="col-sm-8">
  28.                                     <input type="password" name="_password" id="password" value="" maxlength="30"
  29.                                            class="form-control form-control-sm">
  30.                                 </div>
  31.                             </div>
  32.                             <div class="form-group form-check">
  33.                                 <input type="checkbox" class="form-check-input" id="remember_me" name="_remember_me"/>
  34.                                 <label class="form-check-label text-center" for="remember_me">
  35.                                     {{ 'user.label.keep_me_loggedin'|trans({}, 'forms') }}
  36.                                 </label>
  37.                             </div>
  38.                             <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}"/>
  39.                             <div class="row">
  40.                                 <div class="col-sm-12 text-center">
  41.                                     <button type="submit" class="btn btn-sm btn-primary">
  42.                                         {{ 'security.btn.login'|trans }}
  43.                                     </button>
  44.                                 </div>
  45.                             </div>
  46.                         </form>
  47.                     </div>
  48.                     <div style="margin-top: 20px; text-align: center;">
  49.                         <span style="width: 150px; background: #bbed56; border-radius: 5px 5px 5px 5px; padding: 10px;">
  50.                             <img src="{{ asset('/images/main/icons/add.png') }}" alt="">
  51.                             <a href="{{ path('security_register') }}">
  52.                               {{ 'security.btn.create_account_sidebar'|trans }}
  53.                             </a>
  54.                         </span>
  55.                     </div>
  56.                 </div>
  57.             {% endif %}
  58.             {% include 'layout/partials/right_col_ad.html.twig' %}
  59.             <div class="tipscontent2">
  60.                 Traduire cette page<br/>
  61.                 <div id="google_translate_element"></div>
  62.                 <script type="text/javascript">
  63.                     function googleTranslateElementInit() {
  64.                         new google.translate.TranslateElement({
  65.                             pageLanguage: 'fr',
  66.                             autoDisplay: false,
  67.                             multilanguagePage: true,
  68.                             gaTrack: true,
  69.                             gaId: 'UA-1980396-1'
  70.                         }, 'google_translate_element');
  71.                     }
  72.                 </script>
  73.                 <script type="text/javascript"
  74.                         src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
  75.             </div>
  76.             <div class="tipstitle">Retrouvez-nous</div>
  77.             <div class="tipscontent">
  78.                 Abonnez-vous sur Twitter ou ajoutez un like sur notre page Facebook !
  79.                 <div style="text-align: center; margin-top: 10px;">
  80.                     <a href="https://twitter.com/abkingdom" target="_blank">
  81.                         <img src="{{ asset('/images/main/twitter.png') }}" alt="ABKingdom on Twitter"/>
  82.                     </a>
  83.                     &nbsp;&nbsp;&nbsp;&nbsp;
  84.                     <a href="http://facebook.com/Tolerare" target="_blank">
  85.                         <img src="{{ asset('/images/main/facebook.png') }}" alt="ABKingdom on Facebook"/>
  86.                     </a>
  87.                 </div>
  88.             </div>
  89.             {# [TSM] @todo on garde ? #}
  90. {#            <div class="tipstitle">Le Grand Questionnaire</div>#}
  91. {#            <div class="tipscontent">#}
  92. {#                Ce questionnaire a pour but de mieux comprendre et cerner la communauté des adeptes des couches. Plus il#}
  93. {#                y#}
  94. {#                aura de réponses, plus les résultats seront représentatifs, alors n'hésitez pas !#}
  95. {#                <div style="margin-top: 10px;">#}
  96. {#                    <a href="/poll/?id=1">Participer au Grand Questionnaire</a>#}
  97. {#                </div>#}
  98. {#            </div>#}
  99. {#            <div class="tipstitle">Le saviez-vous ?</div>#}
  100. {#            <div class="tipscontent">#}
  101. {#                <div style="text-align: right; margin-bottom: 15px;">#}
  102. {#                    <a href="{{ path('faq_category_view', {id: 20}) }}">Voir toutes les questions/Réponses</a>#}
  103. {#                </div>#}
  104. {#                <b>#}
  105. {#                    <a href="/faq/article/?categ=1#article_538">#}
  106. {#                        Où peut-on acheter des culottes en plastique ou en caoutchouc ?#}
  107. {#                    </a>#}
  108. {#                </b>#}
  109. {#                <br/>#}
  110. {#                <div class="title4">#}
  111. {#                    Vous avez plusieurs possibilit&eacute;s :- Les pharmacies : elles n'en proposent pas toutes syst&eacute;matiquement.#}
  112. {#                    Sachez &eacute;galement que vous ne trouverez[...]#}
  113. {#                </div>#}
  114. {#            </div>#}
  115. {#            <div class="tipstitle">Derniers produits</div>#}
  116. {#            <div class="tipscontent">#}
  117. {#                <div style="text-align: right; margin-bottom: 15px;">#}
  118. {#                    <a href="/product">Voir tous les produits</a>#}
  119. {#                </div>#}
  120. {#                <div>#}
  121. {#                    <a href="/product/item/?id=352">ABCplaisir La culotte pour Adult Baby</a><br/>#}
  122. {#                    <div class="title4">Culottes</div>#}
  123. {#                </div>#}
  124. {#            </div>#}
  125. {#            <div style="clear: both;"></div>#}
  126. {#            <div class="tipstitle">Prochains évènements</div>#}
  127. {#            <div class="tipscontent">#}
  128. {#                <div style="text-align: right;">#}
  129. {#                    <a href="{{ path('event_index') }}">Voir tous les évènements</a>#}
  130. {#                </div>#}
  131. {#                <div>#}
  132. {#                    <a href="event/info/?id=682">Rencontre bretonne sur plage nudiste</a><br/>#}
  133. {#                    <div class="title4">#}
  134. {#                        Bronzette en couche sur plage nudiste#}
  135. {#                    </div>#}
  136. {#                </div>#}
  137. {#                <div class="sep1"></div>#}
  138. {#            </div>#}
  139.         {% endblock rightcol %}
  140.     </div>
  141.     <div class="maincontent">
  142.         {{ block('leftcol') }}
  143.     </div>
  144. {% endblock body %}