mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 10:23:58 +09:00
Update dashboard style
This commit is contained in:
1 parent
a369c7523a
commit
5abcbbbfc7
5 files changed
+67
-60
No files matched your search
@@ -1 +1 @@
|
||||
meta.foundation-version {font-family:"/5.1.0/";}meta.foundation-mq-small {font-family:"/only screen and (max-width: 40em)/";width:0em;}meta.foundation-mq-medium {font-family:"/only screen and (min-width:40.063em)/";width:40.063em;}meta.foundation-mq-large {font-family:"/only screen and (min-width:64.063em)/";width:64.063em;}meta.foundation-mq-xlarge {font-family:"/only screen and (min-width:90.063em)/";width:90.063em;}meta.foundation-mq-xxlarge {font-family:"/only screen and (min-width:120.063em)/";width:120.063em;}meta.foundation-data-attribute-namespace {font-family:false;}html ,body {height:100%;}* ,*:before ,*:after {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}html ,body {font-size:100%;}body {background:#ffffff;color:#555555;padding:0;margin:0;font-family:"Open Sans",sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default;}a:hover {cursor:pointer;}img ,object ,embed {max-width:100%;height:auto;}object ,embed {height:100%;}img {-ms-interpolation-mode:bicubic;}#map_canvas img ,#map_canvas embed ,#map_canvas object ,.map_canvas img ,.map_canvas embed ,.map_canvas object {max-width:none !important;}.left {float:left !important;}.right {float:right !important;}.clearfix {*zoom:1;}.clearfix:before ,.clearfix:after {content:" ";display:table;}.clearfix:after {clear:both;}.hide {display:none;}.antialiased {-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}img {display:inline-block;vertical-align:middle;}textarea {height:auto;min-height:50px;}select {width:100%;}.row {width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:75rem;*zoom:1;}.row:before ,.row:after {content:" ";display:table;}.row:after {clear:both;}.row.collapse>.column ,.row.collapse>.columns {padding-left:0;padding-right:0;float:left;}.row.collapse .row {margin-left:0;margin-right:0;}.row .row {width:auto;margin-left:-0.9375rem;margin-right:-0.9375rem;margin-top:0;margin-bottom:0;max-width:none;*zoom:1;}.row .row:before ,.row .row:after {content:" ";display:table;}.row .row:after {clear:both;}.row .row.collapse {width:auto;margin:0;max-width:none;*zoom:1;}.row .row.collapse:before ,.row .row.collapse:after {content:" ";display:table;}.row .row.collapse:after {clear:both;}.column ,.columns {padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;}@media only screen{.column.small-centered ,.columns.small-centered {margin-left:auto;margin-right:auto;float:none;}.column.small-uncentered ,.columns.small-uncentered {margin-left:0;margin-right:0;float:left;}.column.small-uncentered.opposite ,.columns.small-uncentered.opposite {float:right;}.small-push-0 {left:0%;right:auto;}.small-pull-0 {right:0%;left:auto;}.small-push-1 {left:8.33333%;right:auto;}.small-pull-1 {right:8.33333%;left:auto;}.small-push-2 {left:16.66667%;right:auto;}.small-pull-2 {right:16.66667%;left:auto;}.small-push-3 {left:25%;right:auto;}.small-pull-3 {right:25%;left:auto;}.small-push-4 {left:33.33333%;right:auto;}.small-pull-4 {right:33.33333%;left:auto;}.small-push-5 {left:41.66667%;right:auto;}.small-pull-5 {right:41.66667%;left:auto;}.small-push-6 {left:50%;right:auto;}.small-pull-6 {right:50%;left:auto;}.small-push-7 {left:58.33333%;right:auto;}.small-pull-7 {right:58.33333%;left:auto;}.small-push-8 {left:66.66667%;right:auto;}.small-pull-8 {right:66.66667%;left:auto;}.small-push-9 {left:75%;right:auto;}.small-pull-9 {right:75%;left:auto;}.small-push-10 {left:83.33333%;right:auto;}.small-pull-10 {right:83.33333%;left:auto;}.small-push-11 {left:91.66667%;right:auto;}.small-pull-11 {right:91.66667%;left:auto;}.column ,.columns {position:relative;padding-left:0.9375rem;padding-right:0.9375rem;float:left;}.small-1 {width:8.33333%;}.small-2 {width:16.66667%;}.small-3 {width:25%;}.small-4 {width:33.33333%;}.small-5 {width:41.66667%;}.small-6 {width:50%;}.small-7 {width:58.33333%;}.small-8 {width:66.66667%;}.small-9 {width:75%;}.small-10 {width:83.33333%;}.small-11 {width:91.66667%;}.small-12 {width:100%;}[class*="column"]+[class*="column"]:last-child {float:right;}[class*="column"]+[class*="column"].end {float:left;}.small-offset-0 {margin-left:0% !important;}.small-offset-1 {margin-left:8.33333% !important;}.small-offset-2 {margin-left:16.66667% !important;}.small-offset-3 {margin-left:25% !important;}.small-offset-4 {margin-left:33.33333% !important;}.small-offset-5 {margin-left:41.66667% !important;}.small-offset-6 {margin-left:50% !important;}.small-offset-7 {margin-left:58.33333% !important;}.small-offset-8 {margin-left:66.66667% !important;}.small-offset-9 {margin-left:75% !important;}.small-offset-10 {margin-left:83.33333% !important;}.small-offset-11 {margin-left:91.66667% !important;}.small-reset-order ,.small-reset-order {margin-left:0;margin-right:0;left:auto;right:auto;float:left;}}@media only screen and (min-width:40.063em){.column.medium-centered ,.columns.medium-centered {margin-left:auto;margin-right:auto;float:none;}.column.medium-uLine truncated
|
||||
meta.foundation-version {font-family:"/5.1.0/";}meta.foundation-mq-small {font-family:"/only screen and (max-width: 40em)/";width:0em;}meta.foundation-mq-medium {font-family:"/only screen and (min-width:40.063em)/";width:40.063em;}meta.foundation-mq-large {font-family:"/only screen and (min-width:64.063em)/";width:64.063em;}meta.foundation-mq-xlarge {font-family:"/only screen and (min-width:90.063em)/";width:90.063em;}meta.foundation-mq-xxlarge {font-family:"/only screen and (min-width:120.063em)/";width:120.063em;}meta.foundation-data-attribute-namespace {font-family:false;}html ,body {height:100%;}* ,*:before ,*:after {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}html ,body {font-size:100%;}body {background:#ffffff;color:#555555;padding:0;margin:0;font-family:"Open Sans",sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default;}a:hover {cursor:pointer;}img ,object ,embed {max-width:100%;height:auto;}object ,embed {height:100%;}img {-ms-interpolation-mode:bicubic;}#map_canvas img ,#map_canvas embed ,#map_canvas object ,.map_canvas img ,.map_canvas embed ,.map_canvas object {max-width:none !important;}.left {float:left !important;}.right {float:right !important;}.clearfix {*zoom:1;}.clearfix:before ,.clearfix:after {content:" ";display:table;}.clearfix:after {clear:both;}.hide {display:none;}.antialiased {-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}img {display:inline-block;vertical-align:middle;}textarea {height:auto;min-height:50px;}select {width:100%;}.row {width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:75rem;*zoom:1;}.row:before ,.row:after {content:" ";display:table;}.row:after {clear:both;}.row.collapse>.column ,.row.collapse>.columns {padding-left:0;padding-right:0;float:left;}.row.collapse .row {margin-left:0;margin-right:0;}.row .row {width:auto;margin-left:-0.9375rem;margin-right:-0.9375rem;margin-top:0;margin-bottom:0;max-width:none;*zoom:1;}.row .row:before ,.row .row:after {content:" ";display:table;}.row .row:after {clear:both;}.row .row.collapse {width:auto;margin:0;max-width:none;*zoom:1;}.row .row.collapse:before ,.row .row.collapse:after {content:" ";display:table;}.row .row.collapse:after {clear:both;}.column ,.columns {padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;}@media only screen{.column.small-centered ,.columns.small-centered {margin-left:auto;margin-right:auto;float:none;}.column.small-uncentered ,.columns.small-uncentered {margin-left:0;margin-right:0;float:left;}.column.small-uncentered.opposite ,.columns.small-uncentered.opposite {float:right;}.small-push-0 {left:0%;right:auto;}.small-pull-0 {right:0%;left:auto;}.small-push-1 {left:8.33333%;right:auto;}.small-pull-1 {right:8.33333%;left:auto;}.small-push-2 {left:16.66667%;right:auto;}.small-pull-2 {right:16.66667%;left:auto;}.small-push-3 {left:25%;right:auto;}.small-pull-3 {right:25%;left:auto;}.small-push-4 {left:33.33333%;right:auto;}.small-pull-4 {right:33.33333%;left:auto;}.small-push-5 {left:41.66667%;right:auto;}.small-pull-5 {right:41.66667%;left:auto;}.small-push-6 {left:50%;right:auto;}.small-pull-6 {right:50%;left:auto;}.small-push-7 {left:58.33333%;right:auto;}.small-pull-7 {right:58.33333%;left:auto;}.small-push-8 {left:66.66667%;right:auto;}.small-pull-8 {right:66.66667%;left:auto;}.small-push-9 {left:75%;right:auto;}.small-pull-9 {right:75%;left:auto;}.small-push-10 {left:83.33333%;right:auto;}.small-pull-10 {right:83.33333%;left:auto;}.small-push-11 {left:91.66667%;right:auto;}.small-pull-11 {right:91.66667%;left:auto;}.column ,.columns {position:relative;padding-left:0.9375rem;padding-right:0.9375rem;float:left;}.small-1 {width:8.33333%;}.small-2 {width:16.66667%;}.small-3 {width:25%;}.small-4 {width:33.33333%;}.small-5 {width:41.66667%;}.small-6 {width:50%;}.small-7 {width:58.33333%;}.small-8 {width:66.66667%;}.small-9 {width:75%;}.small-10 {width:83.33333%;}.small-11 {width:91.66667%;}.small-12 {width:100%;}[class*="column"]+[class*="column"]:last-child {float:right;}[class*="column"]+[class*="column"].end {float:left;}.small-offset-0 {margin-left:0% !important;}.small-offset-1 {margin-left:8.33333% !important;}.small-offset-2 {margin-left:16.66667% !important;}.small-offset-3 {margin-left:25% !important;}.small-offset-4 {margin-left:33.33333% !important;}.small-offset-5 {margin-left:41.66667% !important;}.small-offset-6 {margin-left:50% !important;}.small-offset-7 {margin-left:58.33333% !important;}.small-offset-8 {margin-left:66.66667% !important;}.small-offset-9 {margin-left:75% !important;}.small-offset-10 {margin-left:83.33333% !important;}.small-offset-11 {margin-left:91.66667% !important;}.small-reset-order ,.small-reset-order {margin-left:0;margin-right:0;left:auto;right:auto;float:left;}}@media only screen and (min-width:40.063em){.column.medium-centered ,.columns.medium-centered {margin-left:auto;margin-right:auto;float:none;}.column.medium-uLine truncated
|
||||
@@ -99,51 +99,57 @@ var widgets = {
|
||||
</h4>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="small-4 large-4 columns">\
|
||||
<div class="row graph_legend text-center">\
|
||||
<div class="small-9 large-9 columns">\
|
||||
<div class="row">\
|
||||
<div class="small-6 large-6 columns">\
|
||||
<h4 class="subheader"><small>'+tr("CPU")+'</small></h4>\
|
||||
<div class="row graph_legend text-center">\
|
||||
<div class="small-6 large-6 columns">\
|
||||
<h4 class="subheader"><small>'+tr("CPU")+'</small></h4>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns right">'+tr("Allocated")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_allocated_cpu" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns right">'+tr("Real")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_real_cpu" >\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("Allocated")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_allocated_cpu" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("Real")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_real_cpu" >\
|
||||
<div class="small-6 large-6 columns">\
|
||||
<div class="row graph_legend text-center">\
|
||||
<div class="small-6 large-6 columns">\
|
||||
<h4 class="subheader"><small>'+tr("MEMORY")+'</small></h4>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns right">'+tr("Allocated")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_allocated_mem" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns right">'+tr("Real")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_real_mem" >\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="small-4 large-4 columns">\
|
||||
<div class="row graph_legend text-center">\
|
||||
<div class="small-6 large-6 columns">\
|
||||
<h4 class="subheader"><small>'+tr("MEMORY")+'</small></h4>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("Allocated")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_allocated_mem" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("Real")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_host_real_mem" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="small-1 large-1 columns">\
|
||||
</div>\
|
||||
</div>\
|
||||
</fieldset>',
|
||||
@@ -176,18 +182,18 @@ var widgets = {
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("CPU")+
|
||||
<small class="subheader small-2 large-2 columns right">'+tr("CPU")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_vm_real_cpu" >\
|
||||
<div class="small-10 large-10 columns" id="dash_vm_real_cpu" >\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row">\
|
||||
<h4 class="subheader">\
|
||||
<small class="subheader small-4 large-4 columns">'+tr("Memory")+
|
||||
<small class="subheader small-2 large-2 columns right">'+tr("Memory")+
|
||||
'</small>\
|
||||
</h4>\
|
||||
<div class="small-8 large-8 columns" id="dash_vm_real_mem" >\
|
||||
<div class="small-10 large-10 columns" id="dash_vm_real_mem" >\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
@@ -393,7 +399,7 @@ $(document).ready(function(){
|
||||
var html = '<div class="small-6 large-6 columns">'+widgets[widget]+'</div>';
|
||||
$('#two_per_row', $dashboard).append(html);
|
||||
})
|
||||
|
||||
|
||||
$.each(Config.dashboardWidgets('widgets_one_per_row'), function(id, widget){
|
||||
var html = '<div class="row"><div class="large-12 columns">'+widgets[widget]+'</div></div><br>';
|
||||
$('#one_per_row', $dashboard).append(html);
|
||||
|
||||
@@ -901,12 +901,12 @@ function show_provision_user_info_callback(request, response) {
|
||||
|
||||
var quotas_html;
|
||||
if (vms_quota || cpu_quota || memory_quota || volatile_size_quota || image_quota || network_quota || datastore_quota) {
|
||||
quotas_html = '<div class="large-12 columns">' + vms_quota + '</div>';
|
||||
quotas_html += '<div class="large-12 columns">' + cpu_quota + '</div>';
|
||||
quotas_html += '<div class="large-12 columns">' + memory_quota + '</div>';
|
||||
quotas_html += '<div class="large-12 columns">' + volatile_size_quota+ '</div>';
|
||||
quotas_html += '<div class="large-12 columns">' + image_quota + '</div>';
|
||||
quotas_html += '<div class="large-12 columns">' + network_quota + '</div>';
|
||||
quotas_html = '<div class="large-12 columns">' + vms_quota + '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + cpu_quota + '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + memory_quota + '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + volatile_size_quota+ '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + image_quota + '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + network_quota + '<br><br></div>';
|
||||
quotas_html += '<div class="large-12 columns">' + datastore_quota + '</div>';
|
||||
} else {
|
||||
quotas_html = '<div class="row">'+
|
||||
|
||||
@@ -3523,7 +3523,7 @@ function usageBarHtml(usage, limit, info_str, color){
|
||||
}
|
||||
}
|
||||
|
||||
html = '<div class="progress-container"><div class="progress secondary radius">\
|
||||
html = '<div class="progress-container"><div class="progress secondary round">\
|
||||
<span class="'+classes+'" style="width: '+percentage+'%"></span></div>\
|
||||
<div class="progress-text">'+info_str+'</div></div>';
|
||||
|
||||
|
||||
@@ -771,21 +771,22 @@ div.dataTables_scrollFoot table {
|
||||
color: #368a54;
|
||||
}
|
||||
|
||||
#provision_user_info_quotas_div {
|
||||
fieldset {
|
||||
margin: 1.125rem 0;
|
||||
}
|
||||
|
||||
#provision_user_info_quotas_div, #dashboard-tab {
|
||||
.progress {
|
||||
height: 1.5625rem !important;
|
||||
border: none;
|
||||
background-color: #dfdfdf;
|
||||
border: 1px solid #efefef;
|
||||
background-color: #f7f7f7;
|
||||
box-shadow: 0px 1px #dfdfdf;
|
||||
}
|
||||
|
||||
.progress-text {
|
||||
color: #333 !important;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.meter {
|
||||
box-shadow: 0px 1px #dfdfdf;
|
||||
}
|
||||
}
|
||||
|
||||
.provision-input {
|
||||
|
||||
Reference in new issue
Block a user