zuul/etc/status
Joshua Hesketh 4db99cb63b Move status dom into js app for easy reuse
Provide helper zuul_build_dom and zuul_start functions to ease resuse
of the application. All somebody needs to do is call these two
functions to get a full status page built for them.

This still keeps the jquery.zuul plugin separate for individual
consumption.

Change-Id: I1c6e12629db3e121b3513b0b1054ed1274ceb51f
2014-05-27 11:15:03 +10:00
..
public_html Move status dom into js app for easy reuse 2014-05-27 11:15:03 +10:00
.gitignore Add in sparklines to status page pipelines 2014-05-23 10:10:37 +10:00
README.rst Zuul status page: Redesign and fix bugs 2013-04-29 16:51:35 +00:00
fetch-dependencies.sh Add in sparklines to status page pipelines 2014-05-23 10:10:37 +10: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 9 lines using this on the bottom of app.js

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.