templates/all.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}CookNChefs{% endblock %}
  3. {% block body %}
  4.     {% if (1==0) %}
  5.         <table class="table table-striped">
  6.             <thead>
  7.                 <tr>
  8.                     <th>Article Title</th>
  9.                     <th>Actions</th>
  10.                 </tr>
  11.             </thead>
  12.             <tbody>
  13.                 <tr>
  14.                     <td>Hello</td>
  15.                     <td>Hi</td>
  16.                 </tr>
  17.             </tbody>
  18.         </table>
  19.     {% else %}
  20.         
  21.     <head>
  22.         <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  23.         <!--<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>-->
  24.         <!--
  25.         <script src="http://code.jquery.com/ui/1.8.21/jquery-ui.min.js"></script>
  26.         <script src="https://raw.githubusercontent.com/furf/jquery-ui-touch-punch/master/jquery.ui.touch-punch.min.js"></script>
  27.         <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  28.         <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
  29.         <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  30.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
  31.         -->
  32.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  33.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
  34.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.2/jquery.ui.touch-punch.min.js"></script>
  35.         <script src="CookpotHelper.js?v=2.8"></script>
  36.         <link rel="stylesheet" type="text/css" href="css/Layout.css">
  37.         <link rel="stylesheet" href="style.css">
  38.         <link rel="stylesheet" type="text/css" href="Home.css?v=2.6">
  39.         <link rel="stylesheet" href="owl.carousel.min.css">
  40.         <link rel="stylesheet" href="icomoon/style.css">
  41.         <meta name="viewport" content="width=device-width, initial-scale=1">
  42.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  43.         <!--
  44.         <link rel="stylesheet" type="text/css" href="Bootstrap/css/bootstrap.css" >
  45.         <script src="Bootstrap/js/bootstrap.js" > </script>
  46.         -->
  47.         
  48.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  49.         
  50.         <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  51.         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  52.         
  53.         <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8041121478264077" crossorigin="anonymous"></script>
  54.         
  55.         <!--
  56.         <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
  57.         <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  58.         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  59.         -->
  60.         <style>
  61.             .main-body {
  62.                 margin:0px;
  63.                 height:2000px;
  64.                 background-color:#fcf2e6;
  65.             }
  66.             .container {
  67.                 padding-top: 250px;
  68.             }
  69.         </style>
  70.     </head>
  71.     <body class="main-body">
  72.         <!--Header-->
  73.         <?php
  74.             include_once("Header.php");
  75.         ?>
  76.         <!--
  77.         <nav class="navbar navbar-expand-lg navbar-light bg-light">
  78.             <div class="collapse navbar-collapse" id="navbarText">
  79.                 <ul class="navbar-nav mr-auto">
  80.                 <li class="nav-item active">
  81.                     <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
  82.                 </li>
  83.                 <li class="nav-item">
  84.                     <a class="nav-link" href="#">Features</a>
  85.                 </li>
  86.                 <li class="nav-item">
  87.                     <a class="nav-link" href="#">Pricing</a>
  88.                 </li>
  89.                 </ul>
  90.                 <span class="navbar-text">
  91.                 Navbar text with an inline element
  92.                 </span>
  93.             </div>
  94.         </nav>
  95.         -->
  96.         
  97.         {% include('header.html.twig') %}
  98.         <!--
  99.         <div>
  100.             <recipes-panel></recipes-panel>
  101.         </div>
  102.         -->
  103.         
  104.         <div class="">
  105.             <div class="row">
  106.                 <div class="col-sm"> 
  107.                     <h1>
  108.                         This is ALL RECIPES pages
  109.                     </h1>
  110.                 </div>
  111.             </div>
  112.             <all-recipes-table></all-recipes-table>
  113.         </div>
  114.         
  115.         <!--Footer-->
  116.         <?php
  117.             include_once("Footer.php");
  118.         ?>
  119.         
  120.     </body>
  121.     {% endif %}
  122. {% endblock %}