openstack-manuals/www/templates/script_footer.tmpl
Thomas Goirand 592916d33e Replace minified jquery by source version
The file www/static/common/js/jquery-1.11.0.js is a source-less
non-free blob, which wouldn't fit in downstream distributions.
This patch replaces it by jquery-1.11.3.js in a non-minified
way.

Partial-Bug: 1501641
Change-Id: Ia7088601423f1fad0681bef4521ba4c114101d3a
2016-08-03 04:01:52 +00:00

26 lines
1.1 KiB
Cheetah

<!-- jQuery Version 1.11.0 -->
<script type="text/javascript" src="{{ scriptdir }}jquery-1.11.3.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>