-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformulaire_adherent.html
215 lines (173 loc) · 9.75 KB
/
formulaire_adherent.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="images/faviconbiblio.avif">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/formulaire_adherent.css">
<link rel="stylesheet" type="application/x-javascript" href="https://unpkg.com/@popperjs/core@2">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.7/css/jquery.dataTables.css" />
<script src="https://code.jquery.com/jquery-3.7.1.js"integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.13.7/filtering/type-based/accent-neutralise.js"></script>
<script src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.js"></script>
<title>Bibliosysteme administration</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light" >
<div class="container-fluid" id="navbar">
<a href="" class="navbar-brand"><img src="images/CENTRE CULTUREL (1).avif" alt="Bootstrap" width="157" height="64"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="./pagedaccueil.html">Accueil</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Gestion Adhérents</a>
</li>
</ul>
<button type="button" class="btn btn-outline-dark" data-bs-toggle="modal" data-bs-target="#exampleModal">
Deconnexion
</button>
</div>
</div>
</nav>
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Deconnexion</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Veuillez confirmer la deconnexion
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning">Confirmer</button>
</div>
</div>
</div>
</div>
<div id="fondOpaque">
...
</div>
<div id="divFormAjouterAdherent" >
<button id="reloadDiv" type="button" class="btn-close" ></button>
<h1>Ajouter un adherent </h1>
<div id="divErr"></div>
<div id="divSucces"></div>
<form action="" method="get" id="formAdherent">
<label for="nom">Nom :</label>
<input type="text" name="nom" id="nom" required="required"><br>
<label for="prenom">Prénom :</label>
<input type="text" name="prenom" id="prenom" required="required"><br>
<label for="mail">Email :</label>
<input type="email" name="mail" id="mail" required="required"><br>
<label for="adresse">Adresse :</label>
<input type="text" name="adresse" id="adresse"><br><br>
<input type="checkbox" class="btn-check" id="btn-check-outlined" autocomplete="off">
<label class="btn btn-outline-success col-4" for="btn-check-outlined">Activer si cotisation payé</label>
<div id="txtCotisation"></div><br>
<button id="btnGenereNewAdherent" type="button">Générer nouveau code adherent</button>
<div id="divCodeAdherent"></div>
<button id="ajouter" type="button">Ajouter l'adhérent</button><br>
</form>
</div>
<div id="divFormModifierAdherent">
<button id="fermeDiv" type="button" class="btn-close" ></button>
<h1>Modifier l'adherent </h1>
<div id="divErrmod"></div>
<div id="divSuccesmod"></div>
<form action="" method="get" id="formAdherent">
<label for="nom1">Nom :</label>
<input type="text" name="nom" id="nom1" required="required"><br>
<label for="prenom1">Prénom :</label>
<input type="text" name="prenom" id="prenom1" required="required"><br>
<label for="mail1">Email :</label>
<input type="email" name="mail" id="mail1" required="required"><br>
<label for="adresse1">Adresse :</label>
<input type="text" name="adresse" id="adresse1"><br>
<label for="inputId1">Id :</label>
<input type="text" name="inputId1" id="inputId1" disabled><br>
<label for="inputCot1">Cotisation :</label>
<input type="text" name="inputCot1" id="inputCot1" disabled><br>
<label for="inputBd1">Bd loué :</label>
<input type="text" name="inputBd1" id="inputBd1" disabled><br>
<label for="inputAmende1">Bd loué :</label>
<input type="text" name="inputAmende1" id="inputAmende1" disabled><br>
<button id="btnModifier" type="button">Modifier l'adhérent</button><br>
</form>
</div>
<div id="divMetAJourAdherent">
<button id="reloadDivModif" type="button" class="btn-close" ></button>
<h1>Mise a jour cotisation</h1>
<div id="divErrModif"></div>
<div id="divSuccesModif"></div>
<form action="" method="get" id="formAdherentModif">
<div id="infoAdherentModif"></div>
<div id="txtCotisationModif"></div><br>
<button id="mettreAjour" type="button">Confirmer mise a jour</button><br>
</form>
</div>
<div id="divSuppAdherent">
<button id="reloadDivSupp" type="button" class="btn-close" ></button>
<h1>Archiver l'adherent</h1>
<div id="divErrSupp"></div>
<div id="divSuccesSupp"></div>
<form action="" method="get" id="formAdherentSupp">
<div id="infoAdherentSupp"></div>
<button id="supprimer" type="button">Confirmer archivage</button><br>
</form>
</div>
<button type="button" id="btnAjouterSupprimerAdherent" class="btn btn-outline-success">Ajouter un adherent</button>
<table id="myTable" class="table">
<thead>
<tr>
<th scope="col" class="col-lg-2"><div name="txttexte">Nom Adhérent</div>
<span class="material-symbols-outlined">
person
</span>
</th>
<th scope="col" class="col-lg-2"><div name="txttexte">Date limite de cotisation</div>
<span class="material-symbols-outlined">
calendar_month
</span>
</th>
<th scope="col" class="col-lg-2"><div name="txttexte">Nombre de Bd en cours</div>
<span class="material-symbols-outlined">
menu_book
</span>
</th>
<th scope="col" class="col-lg-2"><div name="txttexte">Prêt/Restitution Livre</div>
<span class="material-symbols-outlined">
multiple_stop
</span>
</th>
<th scope="col" class="col-lg-2"><div name="txttexte">Statut (amende en cours)</div>
<span class="material-symbols-outlined">
error
</span>
</th>
<th scope="col" class="col-lg-2"><div name="txttexte">Action</div>
<span class="material-symbols-outlined">
settings
</span>
</th>
</tr>
</thead>
<tbody id="body" class="table-group-divider table-secondary" >
</tbody>
</table>
<button type="button" id="viderls" class="btn btn-primary btn-sm">Vider LS</button>
<script src="./data/Adherent_Class.js"></script>
<script src="./data/adherent_map.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="./js/formulaire_adherent.js"></script>
</body>
</html>