Merge pull request #82 from ThomasRubini/moving_main_in_article
moved from files home/view, recipe/search, recipe/view
This commit is contained in:
commit
01ae39a025
@ -1,8 +1,9 @@
|
|||||||
<img src="static/img/bandeau.jpg" alt="Cook">
|
<img src="static/img/bandeau.jpg" alt="Cook">
|
||||||
|
|
||||||
<?php View::show("common/category_list") ?>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<?php View::show("common/category_list") ?>
|
||||||
|
<article>
|
||||||
<section>
|
<section>
|
||||||
<h1> Nos idées recettes: </h1>
|
<h1> Nos idées recettes: </h1>
|
||||||
<?php
|
<?php
|
||||||
@ -11,4 +12,5 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
@ -3,9 +3,10 @@
|
|||||||
$has_query = $A_view["QUERY"] !== null;
|
$has_query = $A_view["QUERY"] !== null;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php View::show("common/category_list") ?>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<?php View::show("common/category_list") ?>
|
||||||
|
<article>
|
||||||
<!-- Inclure les catégories -->
|
<!-- Inclure les catégories -->
|
||||||
<form method="GET" action="/recipe/search">
|
<form method="GET" action="/recipe/search">
|
||||||
<label for="query">Saisissez les termes à rechercher</label>
|
<label for="query">Saisissez les termes à rechercher</label>
|
||||||
@ -27,4 +28,5 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php View::show("common/category_list") ?>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<?php View::show("common/category_list") ?>
|
||||||
|
<article>
|
||||||
<img src="<?= $A_view["IMG_LINK"] ?>" alt="Image d'illustration de la recette">
|
<img src="<?= $A_view["IMG_LINK"] ?>" alt="Image d'illustration de la recette">
|
||||||
|
|
||||||
<section class="infosRecette">
|
<section class="infosRecette">
|
||||||
@ -37,5 +37,6 @@
|
|||||||
<?php
|
<?php
|
||||||
View::show("appreciations/view_all", $A_view)
|
View::show("appreciations/view_all", $A_view)
|
||||||
?>
|
?>
|
||||||
|
</article>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user