From bacef184e73a803fae28cae6e499105e040f766a Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 9 Jan 2015 12:07:28 +0100 Subject: [PATCH] feature #3422: Hide accounting tables by default (cherry picked from commit 277c7849aba44ae197970123f860fc29866f6746) --- src/sunstone/public/js/sunstone.js | 71 ++++++++++++++++-------------- 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index e8d47ed2f0..b6b12b3e07 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -5173,39 +5173,44 @@ function accountingGraphs(div, opt){ \ \ \ -
\ -
\ -

'+tr("CPU hours")+'

\ -
\ -
\ - \ - \ - \ - \ - \ - \ - \ - \ -
'+tr("Date")+'
\ -
\ -
\ -
\ -
\ -

'+tr("Memory GB hours")+'

\ -
\ -
\ - \ - \ - \ - \ - \ - \ - \ - \ -
'+tr("Date")+'
\ -
\ -
\ - '); +
' + + generateAdvancedSection({ + title: tr("Accounting Tables"), + html_id: "advanced_accounting_tables", + content: '
\ +
\ +

'+tr("CPU hours")+'

\ +
\ +
\ + \ + \ + \ + \ + \ + \ + \ + \ +
'+tr("Date")+'
\ +
\ +
\ +
\ +
\ +

'+tr("Memory GB hours")+'

\ +
\ +
\ + \ + \ + \ + \ + \ + \ + \ + \ +
'+tr("Date")+'
\ +
\ +
' + }) + + ''); if (opt == undefined){ opt = {};