mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-12-27 01:12:18 +01:00
Corrections
This commit is contained in:
parent
9455538c75
commit
73850f9ae3
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user