feature #3422: Hide accounting tables by default

(cherry picked from commit 277c7849ab)
This commit is contained in:
Daniel Molina committed 2015-01-09 12:08:31 +01:00
1 parent 135191c567
commit bacef184e7
1 file changed
+38 -33
+38 -33
View File
@@ -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 = {};