templates/frontend/_partials/_paywall.html.twig line 1

Open in your IDE?
  1. {# Modal #}
  2. <div class="paywall">
  3. <div class="modal fade" id="paywallModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static">
  4. <div class="modal-dialog" role="document">
  5. <div class="modal-content" style="position: relative;overflow: hidden">
  6. <div class="modal-header">
  7. <div class="abotyptitel">{{ titelShort }}</div>
  8. </div>
  9. <div class="modal-body pb-3">
  10. <div class="jqLoginForm mb-4" style="display: none;max-width: 250px;margin:auto">
  11. <span class="d-block mb-1">Login UW+</span>
  12. {{ form_start(abonnentLoginForm, {'action': path('fe.abo_login'), 'attr':{'novalidate':'novalidate'}}) }}
  13. {{ form_widget(abonnentLoginForm.username, {'attr':{'placeholder':'E-Mail', 'class':'mb-1 jqUsernameField'}}) }}
  14. {{ form_widget(abonnentLoginForm.password, {'attr':{'placeholder':'Passwort'}}) }}
  15. <button type="button" class="btn btn-primary btn-sm jqLoginAbbrechenBtn" style="border: 0">Abbrechen</button>
  16. <button type="submit" class="btn btn-primary btn-sm">Anmelden</button>
  17. <a href="{{ path('app_forgot_password_request') }}" class="btn btn-primary btn-sm" style="border: 0">Passwort ändern?</a>
  18. {{ form_end(abonnentLoginForm) }}
  19. </div>
  20. <div class="jqPaywallInfo">
  21. <strong class="d-block mb-2" style="margin-top:-1rem;padding:0 50px"><br>{{ titel }}</strong>
  22. <button type="button" class="btn btn-default mb-2 jqLoginBtn" style="background-color:#fff;color:#e56500">Anmelden</button><br>
  23. {# <a href="{{ path('fe.abo_order_epaperzusatz') }}" class="btn btn-primary btn-sm mb-1">Vom Print-Abo zum Standard-Abo wechseln</a><br>#}
  24. <a href="{{ path('fe.abo_order_kombi') }}" class="btn btn-primary btn-sm">Standard-Abo bestellen</a><br>
  25. <a href="{{ path('fe.abo_order_epaper') }}" class="btn btn-primary btn-sm mb-1">E-Paper-Abo bestellen</a>
  26. </div>
  27. </div>
  28. <div class="modal-footer">
  29. {% set abbrechenUrl = path('fe.home') %}
  30. {% if app.request.server.get('HTTP_REFERER') and app.request.server.get('SERVER_NAME') in app.request.server.get('HTTP_REFERER') %}
  31. {% set abbrechenUrl = app.request.server.get('HTTP_REFERER') %}
  32. {% endif %}
  33. <a href="{{ abbrechenUrl|raw }}" class="btn btn-primary btn-sm mt-2 mb-2 jqPaywallInfo">Zurück</a>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. {# End Modal #}