Difference between revisions of "MediaWiki:Common.js"

From UniWiki
Jump to: navigation, search
Line 4: Line 4:
  
 
$(function () {
 
$(function () {
   $('#main_buttons').html('<p>Take our Introductory Survey to begin!</p><br><a class="button" href="https://uniwiki.org/wiki/Introductory_Survey">Survey</a>');
+
   $('#main_buttons').html('<p>Take our Introductory Survey to begin!</p><br><a class="button" href="https://uniwiki.org/wiki/Introductory_Survey"><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></a>');
 
}());
 
}());

Revision as of 11:35, 17 August 2017

/* Any JavaScript here will be loaded for all users on every page load. */

<script src="https://use.fontawesome.com/0de249b6d4.js"></script>

$(function () {
  $('#main_buttons').html('<p>Take our Introductory Survey to begin!</p><br><a class="button" href="https://uniwiki.org/wiki/Introductory_Survey"><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></a>');
}());