src/StartPlatz/Bundle/StyleBundle/Resources/views/Bootstrap4/base.homepage.event-lp.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. {% if embed is not defined %}
  4.     {% set embed = false %}
  5. {% endif %}
  6. <head>
  7.     <!-- homepage.with-sections -->
  8.     <!-- Required meta tags -->
  9.     <meta charset="utf-8">
  10.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  11.     {% block metaData %}
  12.         <meta name="description" content="STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen">
  13.         <meta name="author" content="">
  14.         {% if app.environment == 'prod' %}
  15.             <meta name="robots" content="index,follow">
  16.             {% if canonicalUrl is defined %}
  17.                 <link rel="canonical" href="{{ canonicalUrl }}" />
  18.             {% endif %}
  19.         {% else %}
  20.             <meta name="robots" content="noindex,nofollow">
  21.         {% endif %}
  22.     {% endblock %}
  23.     <link rel="profile" href="http://gmpg.org/xfn/11">
  24.     <link rel="pingback" href="https://www.startplatz.de/xmlrpc.php">
  25.     
  26.     {% include "@StartPlatzStyleBundle/_icon.html.twig" %}
  27.     <title>{% block title %}STARTPLATZ{% endblock %}</title>
  28.     <!-- Bootstrap CSS -->
  29.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
  30.     <script src="https://kit.fontawesome.com/30335e3531.js" crossorigin="anonymous"></script>
  31.     <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap" rel="stylesheet">
  32.     {% if not embed|default(false) %}
  33.         {% include "@StartPlatzStyleBundle/_tracking.html.twig" %}
  34.     {% endif %}
  35.     {% block additionalHead %}
  36.     {% endblock %}
  37. </head>
  38. <body>
  39. <!-- Google Tag Manager (noscript) -->
  40. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT"
  41.                   height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  42. <!-- End Google Tag Manager (noscript) -->
  43. {% set master = false %}
  44. {% if app.user is defined and app.user is not empty %}
  45.     {% if app.user.getMaster %}{% set master = true %}{% endif %}
  46. {% endif %}
  47. {% set admin = false %}
  48. {% if app.user is defined and app.user is not empty %}
  49.     {% if app.user.getAdmin %}{% set admin = true %}{% endif %}
  50. {% endif %}
  51. <!-- start content -->
  52. {% block content %}{% endblock %}
  53. <!-- end content -->
  54. <!-- start footer -->
  55. {% block footer %}{% endblock %}
  56. <!-- end footer -->
  57. <div class="modal fade" id="mySmallModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  58.     <div class="modal-dialog modal-sm">
  59.     </div>
  60. </div>
  61. <div class="modal fade" id="myLargeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  62.     <div class="modal-dialog modal-lg">
  63.     </div>
  64. </div>
  65. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  66.     <div class="modal-dialog">
  67.     </div>
  68. </div>
  69. {% block infiniteLoop %}
  70.     {% if maxPages is defined and maxPages > 1 %}
  71.         <div id="pagination">
  72.             <a href="{{ path(currentPath, {page: thisPage} ) }}">{{ thisPage }}</a>
  73.             {% if  thisPage != maxPages %}
  74.                 <a href="{{ path( currentPath, {page: thisPage+1 <= maxPages ? thisPage+1 : thisPage} + templateVars) }}" class="next">»</a>
  75.             {% endif %}
  76.         </div>
  77.     {% else %}
  78.         {% set maxPages = 100 %}
  79.     {% endif %}
  80. {% endblock %}
  81. {% if maxPages is not defined %}
  82.     {% set maxPages = 100 %}
  83. {% endif %}
  84. {% if not embed|default(false) %}
  85.     {% include "@StartPlatzStyleBundle/_cookie.consent.html.twig" %}
  86. {% endif %}
  87. <!-- Bootstrap core JavaScript
  88. ================================================== -->
  89. <!-- Placed at the end of the document so the pages load faster -->
  90. <!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
  91. <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  92. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
  93. <!-- javascript for infinite scroll -->
  94. <script src="{{ asset('bundles/startplatzstyle/js/jquery-ias.min.js') }}"></script>
  95. <script type="text/javascript">
  96.     // Fill modal with content from link href
  97.     $("#mySmallModal").on("show.bs.modal", function(e) {
  98.         var link = $(e.relatedTarget);
  99.         $(this).find(".modal-dialog").load(link.attr("href"));
  100.     });
  101.     // Fill modal with content from link href
  102.     $("#myLargeModal").on("show.bs.modal", function(e) {
  103.         var link = $(e.relatedTarget);
  104.         $(this).find(".modal-dialog").load(link.attr("href"));
  105.     });
  106.     // Fill modal with content from link href
  107.     $("#myModal").on("show.bs.modal", function(e) {
  108.         var link = $(e.relatedTarget);
  109.         $(this).find(".modal-dialog").load(link.attr("href"));
  110.     });
  111.     $(function () {
  112.         $('[data-toggle="tooltip"]').tooltip()
  113.     });
  114. </script>
  115. {% if version is not defined %}
  116.     {% set version = 'default' %}
  117. {% endif %}
  118. {% block javascriptInfiniteLoop %}
  119. <script type="text/javascript">
  120.     var ias = $.ias({
  121.         container:  "#posts",
  122.         item:       ".item",
  123.         pagination: "#pagination",
  124.         negativeMargin: "500",
  125.         next:       ".next"
  126.     });
  127.     ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
  128.     ias.extension(new IASTriggerExtension({offset: {{ maxPages }} })); // shows a trigger after page 3
  129.     ias.extension(new IASNoneLeftExtension({
  130.         text: 'There are no more pages left to load.'      // override text when no pages left
  131.     }));
  132.     ias.on('load', function(event) {
  133.         event.url = event.url + "&ajax=1&version={{ version }}";
  134.         console.log('Loaded ' + event.url  + ' url from server');
  135.         console.log('url  tracking: ' + event.url );
  136.     });
  137. </script>
  138. {% endblock %}
  139. {% block ajax_helpers %}
  140.     <!-- Include Ajax Helpers By Default - Override if not needed -->
  141.     {% include '@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig' %}
  142. {% endblock %}
  143. {% block javascripts %}
  144. {% endblock %}
  145. </body>
  146. </html>