nodebb-plugin-calendar-onekite 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,88 @@
1
+ <div class="row">
2
+ <div class="col-md-12">
3
+ <button id="calendar-new-event" class="btn btn-primary mb-2">Nouvel événement</button>
4
+ <div id="calendar"></div>
5
+ </div>
6
+ </div>
7
+
8
+ <!-- Modal Événement -->
9
+ <div id="calendar-event-modal" class="calendar-modal">
10
+ <div class="calendar-modal-content">
11
+ <span class="calendar-close">✕</span>
12
+ <h3 id="event-modal-title"></h3>
13
+
14
+ <div class="form-group">
15
+ <label>Titre</label>
16
+ <input id="event-title" class="form-control">
17
+ </div>
18
+
19
+ <div class="form-group">
20
+ <label>Description</label>
21
+ <textarea id="event-description" class="form-control"></textarea>
22
+ </div>
23
+
24
+ <div class="form-group">
25
+ <label>Début</label>
26
+ <input id="event-start" type="datetime-local" class="form-control">
27
+ </div>
28
+
29
+ <div class="form-group">
30
+ <label>Fin</label>
31
+ <input id="event-end" type="datetime-local" class="form-control">
32
+ </div>
33
+
34
+ <div class="form-group">
35
+ <label><input type="checkbox" id="event-allDay"> Journée entière</label>
36
+ </div>
37
+
38
+ <div class="form-group">
39
+ <label>Lieu de l’événement</label>
40
+ <input id="event-location" class="form-control">
41
+ </div>
42
+
43
+ <hr>
44
+
45
+ <h4>Matériel réservable</h4>
46
+ <div class="form-group">
47
+ <label><input type="checkbox" id="event-bookingEnabled"> Activer les réservations</label>
48
+ </div>
49
+
50
+ <div id="booking-items"></div>
51
+ <button id="event-add-item" class="btn btn-secondary btn-sm">+ Ajouter un matériel</button>
52
+
53
+ <div style="margin-top: 20px;">
54
+ <button id="event-save" class="btn btn-primary">Enregistrer</button>
55
+ <button id="event-delete" class="btn btn-danger">Supprimer</button>
56
+ <button id="event-reserve" class="btn btn-success">Réserver</button>
57
+ </div>
58
+ </div>
59
+ </div>
60
+
61
+ <!-- Modal Réservation -->
62
+ <div id="calendar-reserve-modal" class="calendar-modal">
63
+ <div class="calendar-modal-content">
64
+ <span class="calendar-close">✕</span>
65
+ <h3 id="reserve-title"></h3>
66
+ <div id="reserve-items"></div>
67
+
68
+ <div class="form-group">
69
+ <label>Date de début</label>
70
+ <input type="date" id="reserve-start" class="form-control">
71
+ </div>
72
+
73
+ <div class="form-group">
74
+ <label>Date de fin</label>
75
+ <input type="date" id="reserve-end" class="form-control">
76
+ </div>
77
+
78
+ <div class="form-group">
79
+ <label>Quantité</label>
80
+ <input type="number" id="reserve-quantity" class="form-control" value="1" min="1">
81
+ </div>
82
+
83
+ <button id="reserve-confirm" class="btn btn-primary">Envoyer la demande</button>
84
+ </div>
85
+ </div>
86
+
87
+ <link rel="stylesheet" href="/plugins/nodebb-plugin-calendar-lite/static/style.css">
88
+ <script src="/plugins/nodebb-plugin-calendar-lite/static/js/calendar.js"></script>
@@ -0,0 +1,12 @@
1
+ <p>Bonjour,</p>
2
+
3
+ <p>Nous confirmons la réception de votre paiement pour l’événement <strong>{eventTitle}</strong>.</p>
4
+
5
+ <p>
6
+ Matériel : <strong>{itemName}</strong><br>
7
+ Quantité : <strong>{quantity}</strong><br>
8
+ Lieu de retrait : <strong>{pickupLocation}</strong><br>
9
+ Dates : <strong>{dateStart}</strong> → <strong>{dateEnd}</strong> ({days} jours)
10
+ </p>
11
+
12
+ <p>Merci et à bientôt.</p>
@@ -0,0 +1,13 @@
1
+ <p>Bonjour,</p>
2
+
3
+ <p>Votre demande de réservation pour l’événement <strong>{eventTitle}</strong> a été <strong>validée</strong>.</p>
4
+
5
+ <p>
6
+ Matériel : <strong>{itemName}</strong><br>
7
+ Quantité : <strong>{quantity}</strong><br>
8
+ Lieu de retrait : <strong>{pickupLocation}</strong><br>
9
+ Dates : <strong>{dateStart}</strong> → <strong>{dateEnd}</strong> ({days} jours)
10
+ </p>
11
+
12
+ <p>Vous pouvez procéder au paiement via HelloAsso :</p>
13
+ <p><a href="{checkoutUrl}">{checkoutUrl}</a></p>
@@ -0,0 +1,13 @@
1
+ <p>Bonjour,</p>
2
+
3
+ <p>Votre demande de réservation pour l’événement <strong>{eventTitle}</strong> a bien été enregistrée.</p>
4
+
5
+ <p>
6
+ Matériel : <strong>{item}</strong><br>
7
+ Quantité : <strong>{quantity}</strong><br>
8
+ Lieu de retrait : <strong>{pickupLocation}</strong><br>
9
+ Dates : <strong>{dateStart}</strong> → <strong>{dateEnd}</strong> ({days} jours)<br>
10
+ Demande effectuée le : {date}
11
+ </p>
12
+
13
+ <p>Elle doit maintenant être validée par un administrateur.</p>
File without changes