mirror of https://gitee.com/bigwinds/arangodb
testing
This commit is contained in:
parent
83fd35af3e
commit
4913481272
|
@ -317,6 +317,7 @@ input[type="radio"]:checked + label span {
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignLeft {
|
.alignLeft {
|
||||||
|
@ -329,7 +330,7 @@ input[type="radio"]:checked + label span {
|
||||||
}
|
}
|
||||||
|
|
||||||
#detailReplication {
|
#detailReplication {
|
||||||
height: 190px;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trueClass {
|
.trueClass {
|
||||||
|
|
|
@ -99,6 +99,7 @@ var dashboardView = Backbone.View.extend({
|
||||||
|
|
||||||
putReplicationStatus: function () {
|
putReplicationStatus: function () {
|
||||||
var time;
|
var time;
|
||||||
|
var clientString = '';
|
||||||
|
|
||||||
if (this.replApplyState.state.running === true) {
|
if (this.replApplyState.state.running === true) {
|
||||||
$('#detailReplication').height(290);
|
$('#detailReplication').height(290);
|
||||||
|
@ -107,15 +108,22 @@ var dashboardView = Backbone.View.extend({
|
||||||
else {
|
else {
|
||||||
$('.checkApplyRunningStatus').hide();
|
$('.checkApplyRunningStatus').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
time = this.replLogState.state.time;
|
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
|
//log table
|
||||||
$('#logRunningVal').text(this.replLogState.state.running);
|
$('#logRunningVal').text(this.replLogState.state.running);
|
||||||
$('#logTimeVal').text(time);
|
$('#logTimeVal').text(time);
|
||||||
$('#logLastTickVal').text(this.replLogState.state.lastLogTick);
|
$('#logLastTickVal').text(this.replLogState.state.lastLogTick);
|
||||||
$('#logClientsVal').text(JSON.stringify(this.replLogState.clients));
|
$('#logClientsVal').text(JSON.stringify(this.replLogState.clients));
|
||||||
|
|
||||||
|
|
||||||
//apply table
|
//apply table
|
||||||
var lastAppliedTick;
|
var lastAppliedTick;
|
||||||
var phase = "-";
|
var phase = "-";
|
||||||
|
|
Loading…
Reference in New Issue