-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e4276e
commit 554031d
Showing
4 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div class="notification py-2" id="notification-bar" style="background-color: rgba(255, 166, 0, 0.748);"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-0 col-md-2"></div> | ||
<div class="col-10 col-md-8 text-center"> | ||
<p class="m-0">🛑 Attention : Temporairement, nous n'acceptons plus de nouvelles demandes pour développer des sites web pour d'autres clubs. Nous assurons uniquement l'hébergement. Pour toute question, rejoignez-nous sur Discord.</p> | ||
</div> | ||
<div class="col-2 col-md-2 d-flex justify-content-end align-items-center"> | ||
<p class="btn m-0" onclick="buttonCloseNotif()">x</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
let notification = document.getElementById("notification-bar"); | ||
|
||
function buttonCloseNotif() { | ||
if( notification !== null) { | ||
notification.style.display = "none"; | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,2 @@ | ||
// //Javascript to enable link to tab | ||
// var hash = location.hash.replace(/^#/, ''); // ^ means starting, meaning only match the first hash | ||
// if (hash) { | ||
// $('a[href="#' + hash + '"]').tab('show'); | ||
// } | ||
|
||
// // Change hash for page-reload | ||
// $('.nav-link').on('shown.bs.tab', function (e) { | ||
// window.location.hash = e.target.hash; | ||
// }) | ||
|
||
// function test() { | ||
// var url = document.location.toString(); | ||
// if (url.match('#')) { | ||
// $('a[href="#' + url.split('#')[1] + '"]').tab('show'); | ||
// console.log(url); | ||
// } | ||
|
||
// // Change hash for page-reload | ||
// $('a').on('shown.bs.tab', function (e) { | ||
// window.location.hash = e.target.hash; | ||
// }) | ||
// } | ||
|