From f54d8aadc45ae77a0bd95a9d3722a2f856757ee1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 4 Feb 2016 05:01:06 +0300 Subject: [PATCH] now the status indicator (bar) is starting to take shape, still needs styling... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui.js | 105 +++++++++++++++++++++++++++++++-------- 1 file changed, 85 insertions(+), 20 deletions(-) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 52034bcd..34934f75 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -2492,6 +2492,7 @@ var makeStateIndicator = function(type){ .addClass('state-indicator-container ' + type || '') } +// XXX do we need this??? var makeStateIndicatorItem = function(container, type, text){ var item = $('
') .addClass('item '+ type || '') @@ -2501,6 +2502,25 @@ var makeStateIndicatorItem = function(container, type, text){ return item } +// XXX should we use this or makeStateIndicatorItem(..)??? +// ...investigate the features of the above... +// - .attr('text')??? +var makeExpandingInfoItem = function(container, cls, align){ + var e = $('') + .addClass(cls + ' expanding-text ' + align) + .append($('')) + .append($('