Merge "Display last reconfigured time from zuul/status"
This commit is contained in:
commit
a2f8832175
@ -355,6 +355,10 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
|
|||||||
Zuul version:
|
Zuul version:
|
||||||
<span id="zuul-version"></span>
|
<span id="zuul-version"></span>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Last reconfigured:
|
||||||
|
<span id="last-reconfigured-span"></span>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">footer();</script>
|
<script type="text/javascript">footer();</script>
|
||||||
|
@ -419,6 +419,10 @@ function update_zuul_info(data) {
|
|||||||
if ('zuul_version' in data) {
|
if ('zuul_version' in data) {
|
||||||
$('#zuul-version').text(data['zuul_version']);
|
$('#zuul-version').text(data['zuul_version']);
|
||||||
}
|
}
|
||||||
|
if ('last_reconfigured' in data) {
|
||||||
|
var last_reconfigured = new Date(data['last_reconfigured']);
|
||||||
|
$('#last-reconfigured-span').text(last_reconfigured.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user