-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutlook.php
109 lines (106 loc) · 5.72 KB
/
outlook.php
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
<?php
$page_title = 'Outlook';
require_once('includes/load.php');
if (!$session->isUserLoggedIn(true)) {
redirect('index', false);
}
$user = current_user();
?>
<?php include_once('layouts/header.php'); ?>
<?php echo display_msg($msg); ?>
<section class="py-5">
<div class="container px-5 my-5">
<div class="text-center mb-5">
<h1 class="fw-bolder">Outlook Calendrier</h1>
<p class="lead fw-normal text-muted mb-0">Comment ajouter le calendrier?</p>
</div>
<div class="row gx-5">
<div class="col-xl-8">
<!-- FAQ Accordion 1-->
<div class="accordion mb-5" id="accordionExample">
<div class="accordion-item">
<h3 class="accordion-header" id="headingOne"><button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Ordinateur</button></h3>
<div class="accordion-collapse collapse show" id="collapseOne" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<ol>
<li>Rendez vous sur ce lien : <a href="https://outlook.office.com/calendar/addcalendar" target="_blank">https://outlook.office.com/calendar/addcalendar</a></li>
<li>Cliquez sur <strong>S'abonner à partir du web</strong></li>
<li>Collez-y ce lien pour <strong>TOUT</strong> les prev.<div class="input-group mb-3">
<input class="form-control" id="floatingTextarea2" value="https://croix-rouge-ixelles.com/ics.php?id=<?php echo $user['id'] ?>" disabled />
<button class="btn btn-outline-secondary" onclick="clipboardd()"><span class="bi bi-clipboard"></span></button>
</div>
</li>
<li>Collez-y ce lien pour <strong>VOS</strong> prev. uniquement<div class="input-group mb-3">
<input class="form-control" id="floatingTextarea2" value="https://croix-rouge-ixelles.com/icsperso.php?id=<?php echo $user['id'] ?>" disabled />
<button class="btn btn-outline-secondary" onclick="clipboardd()"><span class="bi bi-clipboard"></span></button>
</div>
</li>
</ol>
<p class="text-muted">Attention le calendrier se mets à jour toutes les 6h</p>
</div>
</div>
</div>
<!-- <div class="accordion-item">
<h3 class="accordion-header" id="headingTwo"><button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">Téléphone</button></h3>
<div class="accordion-collapse collapse" id="collapseTwo" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
<div class="accordion-body">
Faites la manipulation sur <strong>votre ordinateur</strong>
<ol>
<li>Ouvrez le menu <i class="bi bi-list"></i></li>
<li>Cochez le calendrier ajouter</li>
</ol>
</div>
</div>
</div> -->
</div>
</div>
<div class="col-xl-4">
<div class="card border-0 bg-light mt-xl-5">
<div class="card-body p-4 py-lg-5">
<div class="d-flex align-items-center justify-content-center">
<div class="text-center">
<div class="h6 fw-bolder">Besoin d'aide ?</div>
<p class="text-muted mb-4">
Contact
<br />
<strong>Boen Guillaume</strong>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="bg-dark py-4 mt-auto">
<div class="container px-5">
<div class="row align-items-center justify-content-between flex-column flex-sm-row">
<div class="col-auto">
<div class="small m-0 text-white">Copyright © Helio 2021</div>
</div>
<div class="col-auto">
<span class="text-white mx-1">·</span>
<a class="link-light small" href="./credits">Crédits</a>
<span class="text-white mx-1">·</span>
</div>
</div>
</div>
</footer>
<script>
function clipboardd() {
var copyText = document.getElementById("floatingTextarea2");
copyText.select();
copyText.setSelectionRange(0, 99999);
navigator.clipboard.writeText(copyText.value);
Swal.fire(
'Succès !',
'Le texte est copié !',
'success'
)
}
</script>
<script src="./libs/js/sa.js"></script>
<script src="./libs/js/bootstrap.bundle.min.js"></script>
</body>
</html>