X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FMenuLeft.pm;h=2cee4ea29f5c13e62ae15812665e8b1c5e3eb7ad;hb=3b4068e20d8f7b044b9f85eccacac99ba3d453b3;hp=a171ed184beb309ac8a645cf7bbd4765ce093e0a;hpb=b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13;p=kivitendo-erp.git diff --git a/SL/Layout/MenuLeft.pm b/SL/Layout/MenuLeft.pm index a171ed184..2cee4ea29 100644 --- a/SL/Layout/MenuLeft.pm +++ b/SL/Layout/MenuLeft.pm @@ -8,17 +8,21 @@ use URI; use List::MoreUtils qw(apply); sub stylesheets { - qw(css/icons16.css css/icons24.css) + qw(icons16.css icons24.css menu.css) } sub javascripts_inline { my $self = shift; my $sections = [ section_menu($self->menu) ]; - $self->render('menu/menu', { no_menu => 1, no_output => 1 }, + $self->render('menu/menu', { partial => 1, no_output => 1 }, sections => $sections, ) } +sub javascripts { + 'js/jquery.cookie.js'; +} + sub pre_content { "
\n"; } @@ -103,3 +107,79 @@ sub _show_images { } 1; + +__END__ + +=encoding utf-8 + +=head1 NAME + +SL::Layout::MenuLeft - ex html meanu, now only left menu + +=head1 DOM MODEL + +Data will be embedded into the page as a json array of entries. +Each entry is another array with the following fields: + + 0: title + 1: indentation classes + 2: unique id + 3: icon classes + 4: role classes + +From each entry the following dom will be generated, with [0] being entry 0 of +the data array: + +