diff --git a/web/share/elastic-recheck.js b/web/share/elastic-recheck.js index 95e36fc5..52bf4c6b 100644 --- a/web/share/elastic-recheck.js +++ b/web/share/elastic-recheck.js @@ -31,7 +31,7 @@ function graphite_hit_count(job, color) { function update() { - $.getJSON('http://status.openstack.org/elastic-recheck/data/graph.json', function(data) { + $.getJSON(data_url, function(data) { var seen = []; $.each(data, function(i, bug) { var id = 'bug-'+bug['number']; diff --git a/web/share/gate.html b/web/share/gate.html new file mode 100644 index 00000000..578e7d3a --- /dev/null +++ b/web/share/gate.html @@ -0,0 +1,65 @@ + + + Elastic Recheck + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + diff --git a/web/share/index.html b/web/share/index.html index 581d90a7..3648cefd 100644 --- a/web/share/index.html +++ b/web/share/index.html @@ -17,7 +17,10 @@ + src="elastic-recheck.js"> + @@ -39,29 +42,8 @@ - + + @@ -70,7 +52,10 @@ h3 { - +
diff --git a/web/share/styles/elastic-recheck.css b/web/share/styles/elastic-recheck.css new file mode 100644 index 00000000..90aa62d7 --- /dev/null +++ b/web/share/styles/elastic-recheck.css @@ -0,0 +1,57 @@ + +.graph { + width: 600px; + height: 200px; + margin-bottom: 6px; +} +.extlink { + margin-left: 2em; + margin-right: 2em; +} +.bug-container { + margin-bottom: 2em; +} +table { + width: auto; +} +h2 { + padding-top: 1em; +} +h3 { + font-size: 1.1em; +} + +ul.nav.nav-tabs { + list-style: none; + padding: 0px; + margin: 0px; + height: 24px; + border-bottom: 1px solid #EEEEEE; +} + +ul.nav.nav-tabs li { + float: left; + position: relative; + display: block; + margin-bottom: -1px; +} + +ul.nav.nav-tabs li a { + background-color: #F8F8F8; + margin-bottom: -1px; + border: 1px solid #EEEEEE; + padding: 8px 10px 8px 10px; + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +ul.nav.nav-tabs li.active a { + background-color: #FFFFFF; + border-bottom: 1px solid #FFFFFF; +} + +.recheck-graph-container { + padding: 10px; + border: 1px solid #EEEEEE; + border-top: none; +} \ No newline at end of file