X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13..420cc628dce84d55be98be5f9987b13879c2010e:/SL/Layout/MenuLeft.pm 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: + +