finition css

This commit is contained in:
2024-06-18 19:59:50 +02:00
parent 0b4dde90ac
commit 24fa946cf0
7 changed files with 133 additions and 112 deletions

View File

@@ -1,7 +1,6 @@
<form method="post">
<!-- Markup example 2: input is after label -->
<label for="email">Adresse mail</label>
<input type="email" id="email" name="email" placeholder="Email" value="<?=set_value('email')?>" required>
<div class="grid">
@@ -9,7 +8,6 @@
<input type="password" id="password" name="password" placeholder="Password" value="<?=set_value('password')?>" required>
</label>
</div>
<!-- Button -->
<button type="submit">Submit</button>
<?=anchor('user/create','Création de Compte');?>
</form>

View File

@@ -1,9 +1,6 @@
<form method="post">
<!-- Grid -->
<div class="grid">
<!-- Markup example 1: input is inside label -->
<label for="prenom">
Prénom
<input type="text" id="prenom" name="prenom" placeholder="Prénom" required>
@@ -14,7 +11,6 @@
<input type="text" id="nom" name="nom" placeholder="nom" required>
</label>
</div>
<!-- Markup example 2: input is after label -->
<label for="email">Adresse mail</label>
<input type="email" id="email" name="email" placeholder="Email" required>
<div class="grid">
@@ -24,9 +20,13 @@
<label for="cpassword">Confirmation password
<input type="password" id="cpassword" name="cpassword" placeholder="Password" required>
</label>
</div>
<!-- Button -->
<?php if ($this->session->flashdata('error')): ?>
<div class="alert-danger">
<?php echo $this->session->flashdata('error'); ?>
</div>
<?php endif; ?>
<br>
<br>
<button type="submit">Submit</button>
</form>

View File

@@ -17,11 +17,17 @@
<?php
$page = preg_split('/[\/]/', $_SERVER['REQUEST_URI']);
if ($page[count($page) - 1] != 'auth' && $page[count($page) - 1] != 'create') { ?>
<form method="GET">
<input type="text" name="recherche" placeholder="Recherche... ">
</form>
<?php if($this->session->userdata('logged_in')){ ?>
<form method="GET">
<input type="text" class="recherchelog" name="recherche" placeholder="Recherche... ">
</form>
<?php }else{ ?>
<form method="GET">
<input type="text" class="recherche" name="recherche" placeholder="Recherche... ">
</form>
<?php } ?>
<?php } ?>
<ul>
<ul class="onglet">
<li><?= anchor('albums', 'Albums'); ?></li>
<li><?= anchor('artistes', 'Artistes'); ?></li>
<li><?= anchor('chansons', 'Chansons'); ?></li>