Merge "Remove getJSON function and doc-characters file"

This commit is contained in:
Jenkins 2017-02-17 07:38:22 +00:00 committed by Gerrit Code Review
commit f6f83549d7
2 changed files with 0 additions and 28 deletions

View File

@ -1,20 +0,0 @@
{
"images":[
{
"image":"superuser1.png",
"caption":"Jesse Proudman"
},
{
"image":"superuser2.png",
"caption":"Narayan Desai"
},
{
"image":"superuser3.png",
"caption":"Elissa Murphy"
},
{
"image":"superuser4.png",
"caption":"Tim Bell"
}
]
}

View File

@ -85,14 +85,6 @@ $('a').click(function(){
return false;
});
// Change character image on refresh
// Add file names and captions to doc-characters.json
$.getJSON('common/js/doc-characters.json', function(data) {
var item = data.images[Math.floor(Math.random()*data.images.length)];
$('<img src="common/images/docs/' + item.image + '">').appendTo('#superuser-img');
$('<p>' + item.caption + '<strong>OpenStack Operator</strong></p>').appendTo('#superuser-img');
});
/* BB 150310
openstackdocstheme provides three types of admonitions, important, note
and warning. We decorate their title paragraphs with Font Awesome icons