mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #3422: Hide accounting tables by default
(cherry picked from commit 277c7849ab)
This commit is contained in:
1 parent
135191c567
commit
bacef184e7
1 file changed
+38
-33
@@ -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 = {};
|
||||
|
||||
Reference in new issue
Block a user