openstack-manuals/www/templates/script_footer.tmpl
Doug Hellmann c1bbe3f43e use all upper case variables for template vars from generator
Standardize on all upper case variable names so it is easy to tell
local variables in a template apart from global variables set by the
generator.

Change-Id: I69a73b580f1b32547287616c768887732553f9c5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-21 11:21:48 -04: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>