zuul/etc/status
James E. Blair 6dc954b1e7 Status: only display time on live changes
Time has no meaning for non-live changes.  Really only the time
for the live change at the end of the list has any relevance.
The enqueue time is just repeated, and the ETA of 0 is just weird.
Don't display them for non-live changes.

Change-Id: I93f0fc5bedb6c8bca7128c6a1d06a447248cb9d8
2015-02-13 09:01:48 -08:00
..
public_html Status: only display time on live changes 2015-02-13 09:01:48 -08:00
.gitignore Fix up status page dependencies 2015-01-27 13:30:22 +11:00
README.rst Fix up fetching jquery.visibility 2014-06-02 07:17:47 +00:00
fetch-dependencies.sh Fix up status page dependencies 2015-01-27 13:30:22 +11: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.