1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

Feature #4363: Fix dashboard styles

This commit is contained in:
Daniel Molina 2016-04-04 14:58:41 +02:00
parent f37e2eac98
commit 2362a39808
5 changed files with 27 additions and 21 deletions

View File

@ -31,21 +31,21 @@
<div class="row" id="dashboard_vdc_user_accounting">
<input style="display:none;" value="user" id="acct_group_by"/>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "CPU hours"}}</small>
</h5>
<span>
{{tr "CPU hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_cpu_graph">{{> ./empty-graph}}</div>
</div>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "Memory GB hours"}}</small>
</h5>
<span>
{{tr "Memory GB hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_mem_graph">{{> ./empty-graph}}</div>
</div>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "Disk MB hours"}}</small>
</h5>
<span>
{{tr "Disk MB hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_disk_graph">{{> ./empty-graph}}</div>
</div>
</div>

View File

@ -35,21 +35,21 @@
<div class="row" id="dashboard_vm_accounting">
<input style="display:none;" value="vm" id="acct_group_by"/>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "CPU hours"}}</small>
</h5>
<span>
{{tr "CPU hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_cpu_graph" style="height: 100px;">{{> ./empty-graph}}</div>
</div>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "Memory GB hours"}}</small>
</h5>
<span>
{{tr "Memory GB hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_mem_graph" style="height: 100px;">{{> ./empty-graph}}</div>
</div>
<div class="small-12 large-4 columns">
<h5>
<small>{{tr "Disk MB hours"}}</small>
</h5>
<span>
{{tr "Disk MB hours"}}
</span>
<div class="large-12 columns centered graph text-center" id="acct_disk_graph" style="height: 100px;">{{> ./empty-graph}}</div>
</div>
</div>

View File

@ -260,9 +260,7 @@ define(function(require) {
return '<div class="row">' +
'<div class="large-12 columns">' +
'<h5 class="subheader">'+
'<small>'+ legend +'</small>'+
'</h5>'+
'<span>' + legend + '</span>' +
'</div>' +
'</div>' +
'<div class="row">' +

View File

@ -1,3 +1,7 @@
.right-content {
margin-top: -2rem;
}
#menu {
margin-top: 3rem;

View File

@ -108,6 +108,10 @@ textarea {
max-width: 300px;
}
meter {
margin-bottom: 0;
}
.provision-logo {
img {
height: 3rem;