From b995a74ae61e12a68ee53223fcddcf3a43468c23 Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Wed, 21 Oct 2015 15:48:42 -0700 Subject: [PATCH] Remove unused elastic-recheck files These files stopped being used as of If53523754494a746c152c5d1384db5426b096fc1 Let's remove them. Change-Id: I71d6855a293da94a7e6ee626d3339bebc649f2b4 --- .../elastic-recheck/elastic-recheck.html | 90 ------------------- .../files/elastic-recheck/elastic-recheck.js | 64 ------------- 2 files changed, 154 deletions(-) delete mode 100644 modules/openstack_project/files/elastic-recheck/elastic-recheck.html delete mode 100644 modules/openstack_project/files/elastic-recheck/elastic-recheck.js diff --git a/modules/openstack_project/files/elastic-recheck/elastic-recheck.html b/modules/openstack_project/files/elastic-recheck/elastic-recheck.html deleted file mode 100644 index 3c9b9a8a2a..0000000000 --- a/modules/openstack_project/files/elastic-recheck/elastic-recheck.html +++ /dev/null @@ -1,90 +0,0 @@ - - - Elastic Recheck - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - - diff --git a/modules/openstack_project/files/elastic-recheck/elastic-recheck.js b/modules/openstack_project/files/elastic-recheck/elastic-recheck.js deleted file mode 100644 index 225c182504..0000000000 --- a/modules/openstack_project/files/elastic-recheck/elastic-recheck.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2013 OpenStack Foundation -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. You may obtain -// a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations -// under the License. - -function update() { - $.getJSON('http://status.openstack.org/elastic-recheck/graph.json', function(data) { - var seen = []; - $.each(data, function(i, bug) { - var id = 'bug-'+bug['number']; - seen.push(id); - var div = $('#'+id); - - if (!div.length) { - div = $('
', {'id': id, 'class': 'bug-container'}); - div.appendTo($('#main-container')); - $('

', {text: 'Bug ' + bug['number']}).appendTo(div); - $('
', {'class': 'graph'}).appendTo(div); - $('', { - href: 'http://logstash.openstack.org/#'+bug['logstash_query'], - text: 'Logstash' - }).appendTo($('', { - 'class': 'extlink' - }).appendTo(div)); - $('', { - href: 'https://bugs.launchpad.net/bugs/'+bug['number'], - text: 'Launchpad' - }).appendTo($('', { - 'class': 'extlink' - }).appendTo(div)); - } - div = div.find(".graph"); - - if (bug['data'].length > 0) { - $.plot(div, bug['data'], - {xaxis: { - mode: "time" - }} - ); - } else { - div.html("No matches"); - } - - }); - $.each($('.bug-container'), function(i, container) { - if (seen.indexOf(container.id) == -1) { - container.remove(); - } - }); - }); -} - -$(function() { - update(); -});