Skip to content

Commit

Permalink
Adding Nigel Thorne to Beest
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel-Thorne committed Dec 18, 2023
1 parent f7ac39d commit d7fa7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moodleModsArts.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ window.addEventListener('load',function(){
//Query the logged in user block and find the user's name
var userName = document.querySelector('.myprofileitem.fullname')? document.querySelector('.myprofileitem.fullname').innerText: null;
//If you are part of the educational designer team, add the BEEST link
if(userName == "Sajjad Hossain" || userName == "Andrew Junor" || userName == "Carmen Sapsed" || userName == "Lily Nguyen" || userName == "Ross Mc Queen" || userName == "Josephine Hook" || userName="Nigel Thorne"){
if(userName == "Sajjad Hossain" || userName == "Andrew Junor" || userName == "Carmen Sapsed" || userName == "Lily Nguyen" || userName == "Ross Mc Queen" || userName == "Josephine Hook" || userName=="Nigel Thorne"){
$(".header-right").prepend('<div class="custom-menus my-auto"><a role="button" target="_blank" class="border border-dark rounded-circle p-2 text-dark" role="button" title="BEEST" style="width:38px; height: 38px;" data-toggle="modal" data-target=".beest-home-modal" id="beestDropdown"><img src="https://mon-arts-ed-des.github.io/BEEST/img/dragon-solid-black.png" width="20px" height="20px" style="margin-bottom: 4px;" /></a>');
$("#region-main").append('<style>.modal-beest{max-width: 80% !important;}</style><div class="modal fade beest-home-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"><div class="modal-dialog modal-lg modal-beest"><div class="modal-content"><div class="modal-header mb-0 p-2 bg-danger text-white px-5"><h5 class="modal-title text-white my-auto" id="exampleModalLabel">To close this window click the button on the right or anywhere outside this box.</h5><button type="button" class="btn btn-outline-light btn-lg rounded" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">Close <i class="fa fa-times"></i></span></button></div><iframe src="https://mon-arts-ed-des.github.io/BEEST/index.html" width="100%" height="900px"></iframe></div></div></div>');
};
Expand Down

0 comments on commit d7fa7e4

Please sign in to comment.