]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/menu/menu.html
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / menu / menu.html
diff --git a/templates/webpages/menu/menu.html b/templates/webpages/menu/menu.html
deleted file mode 100644 (file)
index e7d710c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-[%- USE L %]
-<body class="menu">
-
-<div id='html-menu'>
-  [% INCLUDE sections %]
-</div>
-</body>
-</html>
-[%- BLOCK sections %]
-[%- FOREACH item IN sections %]
- <div class='menu-multiline'>
- [% SET menuouterloopcount = loop.count %]
- [%- FOREACH chunk IN item.chunks %]
-   <div id='menuitem[% menulevel %]_[% menuouterloopcount %]' class='menuitem [% item.class %] hover'>[% PROCESS item %]</div>
- [%- END %]
-   [%- IF item.subitems.size %]
-   <div id='menuitem[% menulevel %]_[% loop.count %]_submenu' class='menu-submenu[% menulevel %]'>
-   [% INCLUDE sections sections=item.subitems, menulevel='_'+loop.count %]
-   </div>
-  [%- END %]
- </div>
-[%- END %]
-[%- END  %]
-[%- BLOCK item %]
-  [% item.spacer %]
-  [%- IF item.href %]
-    [% L.link(item.href, L.html_tag('span', L.html_tag('img', undef, item.img), class='menu-spacer') _ chunk, target=item.target) %]
-  [%- ELSE %]
-    [% L.html_tag('img', undef, item.img) _ chunk %]
-  [%- END %]
-[%- END %]
-
-</body>
-
-<script type='text/javascript'>
-  $(function(){
-    $('#html-menu div.menu-submenu').hide();
-    $('#html-menu div.menu, #html-menu div.submenu').each(function() {
-      $(this).click(function(){
-        $('#html-menu div.menu-submenu').not('#' + $(this).attr('id') + '_submenu').hide();
-        $('#' + $(this).attr('id') + '_submenu').toggle();
-      });
-    });
-  });
-</script>
-
-</html>