aboutsummaryrefslogtreecommitdiff
path: root/src/view/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/templates')
-rw-r--r--src/view/templates/footer.php27
-rw-r--r--src/view/templates/header.php27
2 files changed, 44 insertions, 10 deletions
diff --git a/src/view/templates/footer.php b/src/view/templates/footer.php
index 1b63edf..dbace6a 100644
--- a/src/view/templates/footer.php
+++ b/src/view/templates/footer.php
@@ -1,11 +1,28 @@
1<?php declare(strict_types=1); ?> 1<?php declare(strict_types=1); ?>
2 <footer> 2 <footer>
3<?= $breadcrumb ?> 3<?= $breadcrumb ?>
4 <div> 4 <div class="data">
5 <p class="contact"><?= $contact_nom ?><br> 5 <div class="contact">
6 <?= $adresse ?><br> 6 <div id="footer_name">
7 <a href="mailto:<?= $e_mail ?>"><?= $e_mail ?></a></p> 7 <script>let footer_name = new InputText('footer_name');</script>
8 <p class="footer_logo"><img src="<?= $footer_logo ?>" alt="logo"><p> 8 <span id="footer_name_span"><?= htmlspecialchars($name ?? '') ?></span>
9 <input type="text" id="footer_name_input" class="hidden" value="<?= htmlspecialchars($name ?? '') ?>" size="30">
10 <?= $buttons_footer_name ?>
11 </div>
12 <div id="footer_address">
13 <script>let footer_address = new InputText('footer_address');</script>
14 <span id="footer_address_span"><?= htmlspecialchars($adresse ?? '') ?></span>
15 <input type="text" id="footer_address_input" class="hidden" value="<?= htmlspecialchars($adresse ?? '') ?>" size="30">
16 <?= $buttons_footer_address ?>
17 </div>
18 <div id="footer_email">
19 <script>let footer_email = new InputText('footer_email');</script>
20 <a href="mailto:<?= $e_mail ?>"><span id="footer_email_span"><?= htmlspecialchars($email ?? '') ?></span></a>
21 <input type="text" id="footer_email_input" class="hidden" value="<?= htmlspecialchars($email ?? '') ?>" size="30">
22 <?= $buttons_footer_email ?>
23 </div>
24 </div>
25 <p class="footer_logo"><img src="<?= $footer_logo ?>" alt="logo"></p>
9 </div> 26 </div>
10 <div class="<?= $empty_admin_zone ?>"></div> 27 <div class="<?= $empty_admin_zone ?>"></div>
11 <div class="<?= $div_admin ?>"> 28 <div class="<?= $div_admin ?>">
diff --git a/src/view/templates/header.php b/src/view/templates/header.php
index d419a12..7977ef3 100644
--- a/src/view/templates/header.php
+++ b/src/view/templates/header.php
@@ -7,19 +7,36 @@
7 </div> 7 </div>
8 8
9 <div class="header-content"> 9 <div class="header-content">
10 <div class="head_logo"> 10 <div class="header_left_col">
11 <a href="<?= new URL ?>"><img src="<?= $header_logo ?>" alt="logo_alt"></a> 11 <div id="edit_favicon_zone" class="<?= $edit_favicon_hidden ?>">
12 <?= $button_favicon ?>
13 </div>
14 <div>
15 <a href="<?= new URL ?>"><img id="header_logo" src="<?= $header_logo ?>" alt="logo_alt"></a>
16 <?= $button_header_logo ?>
17 </div>
12 </div> 18 </div>
13 <div class="nav_button"> 19 <div class="nav_button">
14 <button>MENU</button> 20 <button>MENU</button>
15 </div> 21 </div>
16 <div class="site_title"> 22 <div class="site_title">
17 <a href="<?= new URL ?>"><h1><?= $title ?></h1></a> 23 <h1 id="header_title">
18 <h2><?= $description ?></h2> 24 <script>let header_title = new InputText('header_title');</script>
25 <a href="<?= new URL ?>"><span id="header_title_span"><?= htmlspecialchars($title ?? '') ?></span></a>
26 <input type="text" id="header_title_input" class="hidden" value="<?= htmlspecialchars($title ?? '') ?>" size="30">
27 <?= $buttons_header_title ?>
28 </h1>
29 <h2 id="header_description">
30 <script>let header_description = new InputText('header_description');</script>
31 <span id="header_description_span"><?= htmlspecialchars($description ?? '') ?></span>
32 <input type="text" id="header_description_input" class="hidden" value="<?= htmlspecialchars($description ?? '') ?>" size="30">
33 <?= $buttons_header_description ?>
34 </h2>
19 </div> 35 </div>
20 <div> 36 <div class="header_right_col">
21 <div class="social"> 37 <div class="social">
22 <?= $social_networks ?> 38 <?= $social_networks ?>
39 <?= $buttons_social_networks ?>
23 </div> 40 </div>
24 <?= $breadcrumb ?? '' ?> 41 <?= $breadcrumb ?? '' ?>
25 </div> 42 </div>