zuul/etc/status
Jamie Lennox a6b33baade Represent github change ID in status page by PR number
The change.id given to the status.json output for github PRs is a full
"PR#,SHA" combo. This gives it uniqueness when we can have multiple
commits and versions of commits per PR.

When we display this in the status page though i think all we care about
is the PR number, so trim it out and just display that.

Change-Id: I73385a6b0743a6764fdfdd51cd1d8ee02b71c53c
Signed-off-by: Jamie Lennox <jamielennox@gmail.com>
2017-05-23 21:47:49 -07:00
..
public_html Represent github change ID in status page by PR number 2017-05-23 21:47:49 -07:00
.gitignore Status: Move external dependencies into public_html/lib 2015-04-02 01:04:18 +01:00
.jshintignore Status: Fix JSHint violations and commit settings 2015-06-29 14:04:02 +01:00
.jshintrc Status: Fix JSHint violations and commit settings 2015-06-29 14:04:02 +01:00
README.rst Fix up fetching jquery.visibility 2014-06-02 07:17:47 +00:00
fetch-dependencies.sh Status: Move external dependencies into public_html/lib 2015-04-02 01:04:18 +01:00

README.rst

Zuul Status ====

Zuul Status is a web portal for a Zuul server.

Set up

The markup generated by the javascript is fairly generic so it should be easy to drop into an existing portal. All it needs is <div id="id="zuul-container"></div>.

Having said that, the markup is optimised for Twitter Bootstrap, though it in no way depends on Boostrap and any element using a bootstrap class has a zuul- prefixed class alongside it.

The script depends on jQuery (tested with version 1.8 and 1.9).

The script optimises updates by stopping when the page is not visible. This is done by listerning to show and hide events emitted by the Page Visibility plugin for jQuery. If you don't want to load this plugin you can undo undo this optimisation by removing the code at the bottom of index.html

To automatically fetch the latest versions of jQuery, the Page Visibility plugin and Twitter Boostrap, run the fetch-dependencies.sh script. The default index.html references these.