openstack-manuals/www/templates/script_footer.tmpl
Brian Moss 764e653c29 Update jQuery
Update jQuery to 3.1.1 to match the version in
openstackdocstheme.

Migrate plugin found no issues.

Change-Id: I5876b7c5c825fd6218cf5c2c3f614f217982a8cd
2017-02-17 11:36:15 +10:00

26 lines
1.1 KiB
Cheetah

<!-- jQuery Version 3.1.1 -->
<script type="text/javascript" src="{{ scriptdir }}jquery-3.1.1.js"></script>
<!-- Bootstrap Core JavaScript -->
<script type="text/javascript" src="{{ scriptdir }}bootstrap.js"></script>
<!-- The rest of the JS -->
<script type="text/javascript" src="{{ scriptdir }}navigation.js"></script>
<!-- Docs JS -->
<script type="text/javascript" src="{{ scriptdir }}docs.js"></script>
<!-- Popovers -->
<script type="text/javascript" src="{{ scriptdir }}webui-popover.js"></script>
<!-- Javascript for page -->
<script type="text/javascript">
// Change character image on refresh
// Add file names and captions to doc-characters.json
$.getJSON("{{ scriptdir }}/doc-characters.json", function(data) {
var item = data.images[Math.floor(Math.random()*data.images.length)];
$('<img src="{{ scriptdir }}../images/docs/' + item.image + '">').appendTo('#superuser-img');
$('<p>' + item.caption + '<strong>OpenStack Operator</strong></p>').appendTo('#superuser-img');
});
</script>