mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #3422: Hide accounting tables by default
(cherry picked from commit 277c7849aba44ae197970123f860fc29866f6746)
This commit is contained in:
parent
135191c567
commit
bacef184e7
@ -5173,39 +5173,44 @@ function accountingGraphs(div, opt){
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row acct_table">\
|
||||
<div class="large-12 columns graph_legend">\
|
||||
<h3 class="subheader"><small>'+tr("CPU hours")+'</small></h3>\
|
||||
</div>\
|
||||
<div class="large-12 columns" style="overflow:auto">\
|
||||
<table id="acct_cpu_datatable" class="datatable twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
<th>'+tr("Date")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
<tbody id="tbody_acct_cpu_datatable">\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row acct_table">\
|
||||
<div class="large-12 columns graph_legend">\
|
||||
<h3 class="subheader"><small>'+tr("Memory GB hours")+'</small></h3>\
|
||||
</div>\
|
||||
<div class="large-12 columns" style="overflow:auto">\
|
||||
<table id="acct_mem_datatable" class="datatable twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
<th>'+tr("Date")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
<tbody id="tbody_acct_mem_datatable">\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>');
|
||||
<br>' +
|
||||
generateAdvancedSection({
|
||||
title: tr("Accounting Tables"),
|
||||
html_id: "advanced_accounting_tables",
|
||||
content: '<div class="row acct_table">\
|
||||
<div class="large-12 columns graph_legend">\
|
||||
<h3 class="subheader"><small>'+tr("CPU hours")+'</small></h3>\
|
||||
</div>\
|
||||
<div class="large-12 columns" style="overflow:auto">\
|
||||
<table id="acct_cpu_datatable" class="datatable twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
<th>'+tr("Date")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
<tbody id="tbody_acct_cpu_datatable">\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="row acct_table">\
|
||||
<div class="large-12 columns graph_legend">\
|
||||
<h3 class="subheader"><small>'+tr("Memory GB hours")+'</small></h3>\
|
||||
</div>\
|
||||
<div class="large-12 columns" style="overflow:auto">\
|
||||
<table id="acct_mem_datatable" class="datatable twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
<th>'+tr("Date")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
<tbody id="tbody_acct_mem_datatable">\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div>\
|
||||
</div>'
|
||||
}) +
|
||||
'</div>');
|
||||
|
||||
if (opt == undefined){
|
||||
opt = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user