2187b83bef
Font-awesome and bootstrap files were included minimized Removed font-awesome which was only used from the CDN Replaced bootstrap minimized files with regular ones Updated references to bootstrap files Change-Id: I6bb74549b762e7502a8e1966fc4b6b53fe54c163 Closes-bug: #1501641
26 lines
1.1 KiB
Cheetah
26 lines
1.1 KiB
Cheetah
<!-- jQuery Version 1.11.0 -->
|
|
<script type="text/javascript" src="{{ scriptdir }}jquery-1.11.0.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>
|