mirror of https://gitee.com/bigwinds/arangodb
dashboard spans optimized
This commit is contained in:
parent
3ccfa35efe
commit
409f861171
|
@ -83,8 +83,8 @@
|
||||||
.statClient {
|
.statClient {
|
||||||
float: left;
|
float: left;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
width: 237px;
|
width: 230px;
|
||||||
margin-left: 5px !important;
|
margin-left: 13px !important;
|
||||||
margin-bottom: 5px !important;
|
margin-bottom: 5px !important;
|
||||||
background-color: #FFFFFF !important;
|
background-color: #FFFFFF !important;
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,7 @@ li:hover h6, li.hover h6 {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-right: 5px !important;
|
margin-right: 5px !important;
|
||||||
margin-left: 5px !important;
|
margin-left: 12px !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
height: 24px !important;
|
height: 24px !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
|
@ -488,5 +488,8 @@ li:hover h6, li.hover h6 {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dbThumbnailsIn {
|
||||||
|
margin-left: -7px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,5 +135,6 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="dbThumbnailsIn"/>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -213,7 +213,7 @@ var dashboardView = Backbone.View.extend({
|
||||||
|
|
||||||
var counter = 1;
|
var counter = 1;
|
||||||
$.each(this.options.description.models[0].attributes.groups, function () {
|
$.each(this.options.description.models[0].attributes.groups, function () {
|
||||||
$('.thumbnails').append(
|
$('#dbThumbnailsIn').append(
|
||||||
'<ul class="statGroups" id="' + this.group + '">' +
|
'<ul class="statGroups" id="' + this.group + '">' +
|
||||||
'<i class="group-close icon-minus icon-white"></i>' +
|
'<i class="group-close icon-minus icon-white"></i>' +
|
||||||
'<div id="statsHeaderDiv"><h4 class="statsHeader">' + this.name + '</h4></div>' +
|
'<div id="statsHeaderDiv"><h4 class="statsHeader">' + this.name + '</h4></div>' +
|
||||||
|
|
Loading…
Reference in New Issue