Corrections

This commit is contained in:
stiti 2024-05-25 23:15:20 +02:00
parent 9455538c75
commit 73850f9ae3
2 changed files with 18 additions and 2 deletions

View File

@ -24,13 +24,29 @@
<div class="form-group">
<label for="password">Mot de passe :</label>
<input type="password" name="password" id="password" required>
<div class="password-wrapper">
<input type="password" name="password" id="password" required>
<button type="button" onclick="togglePasswordVisibility('password')">Afficher</button>
</div>
<?php echo form_error('password'); ?>
</div>
<button type="submit" class="btn-submit">Connexion</button>
<?php echo form_close(); ?>
</div>
<script>
function togglePasswordVisibility(id) {
var passwordField = document.getElementById(id);
var passwordFieldType = passwordField.getAttribute('type');
if (passwordFieldType === 'password') {
passwordField.setAttribute('type', 'text');
} else {
passwordField.setAttribute('type', 'password');
}
}
</script>
</body>
</html>

View File

@ -2,7 +2,7 @@
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Liste des Playlists</title>
<title>Liste des Playlists - Onzeur</title>
<link rel="stylesheet" href="<?php echo base_url('assets/css/playlists_list'); ?>">
</head>
<body>