Browse Source

Add demo support for openstack's live zuul feed

Change-Id: I8591231f39ee13f1e1b771bd3e7d71a1a927bba3
changes/14/82014/5
Joshua Hesketh 8 years ago
parent
commit
668700bb1a
  1. 2
      etc/status/public_html/app.js

2
etc/status/public_html/app.js

@ -21,9 +21,11 @@
$queueResultsNum, $pipelines, $jq;
var xhr, zuul,
demo = location.search.match(/[?&]demo=([^?&]*)/),
source_url = location.search.match(/[?&]source_url=([^?&]*)/),
source = demo ?
'./status-' + (demo[1] || 'basic') + '.json-sample' :
'status.json';
source = source_url ? source_url[1] : source;
zuul = {
enabled: true,

Loading…
Cancel
Save