mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-11-09 21:11:40 +01:00
Corrections
This commit is contained in:
parent
9455538c75
commit
73850f9ae3
@ -24,13 +24,29 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="password">Mot de passe :</label>
|
<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'); ?>
|
<?php echo form_error('password'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<button type="submit" class="btn-submit">Connexion</button>
|
<button type="submit" class="btn-submit">Connexion</button>
|
||||||
|
|
||||||
<?php echo form_close(); ?>
|
<?php echo form_close(); ?>
|
||||||
</div>
|
</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<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'); ?>">
|
<link rel="stylesheet" href="<?php echo base_url('assets/css/playlists_list'); ?>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user