ONO::Lib::UI::List

Functions

droplist();

Display a droplist, which is a list that may collapse or expand.

-a show all (more)
-A "view all" button
-b replace simple breaks by div spaces
-d droplist style
-f show first item
-l large
-s smaller titles
-S smaller text

ONO::Lib::UI::List->droplist( $color, $mani_ref, $BLK_ref, $switches );
returns: qq~<div class="rel"> <table class="wide_table$TABLE_STYLE"> $MANI </table> </div> ~

droplist_compile();

Droplist compile, this will take data from a file on a DevStation and prepare a reusable cache file that can be used with a droplist.

-b lines start with a bullet
-d lines start with a dash
-D lines start with a dash (longer)
-m margin-bottom smaller (mb5 instead of md10)
-M margin-bottom even smaller (mb2 instead of md10)

ONO::Lib::UI::List->droplist_compile( );

list();

Display a list of elements, using a green check icon on the left of each element. Default check icon may be replaced by custom icons.

ONO::Lib::UI::List->list( $list_ref, $class1, $class2, $icons_ref );
returns: qq~<table class="default_table $class1">$LIST</table>~

Sub-Modules

none

Dependencies