1
0
Fork 0
This commit is contained in:
Heiko Kernbach 2013-07-24 19:53:59 +02:00
parent 83fd35af3e
commit 4913481272
2 changed files with 11 additions and 2 deletions

View File

@ -317,6 +317,7 @@ input[type="radio"]:checked + label span {
min-height: 150px;
float: left;
margin-left: 10px;
margin-bottom: 8px;
}
.alignLeft {
@ -329,7 +330,7 @@ input[type="radio"]:checked + label span {
}
#detailReplication {
height: 190px;
height: auto !important;
}
.trueClass {

View File

@ -99,6 +99,7 @@ var dashboardView = Backbone.View.extend({
putReplicationStatus: function () {
var time;
var clientString = '';
if (this.replApplyState.state.running === true) {
$('#detailReplication').height(290);
@ -107,15 +108,22 @@ var dashboardView = Backbone.View.extend({
else {
$('.checkApplyRunningStatus').hide();
}
time = this.replLogState.state.time;
if (this.replLogState.state.clients) {
$.each(this.replLogState.state.clients, function(k,v) {
clientString = clientString + "Server: "+v.serverId+" | Time: "+v.time+"\n";
});
}
//log table
$('#logRunningVal').text(this.replLogState.state.running);
$('#logTimeVal').text(time);
$('#logLastTickVal').text(this.replLogState.state.lastLogTick);
$('#logClientsVal').text(JSON.stringify(this.replLogState.clients));
//apply table
var lastAppliedTick;
var phase = "-";