{% set navbar = [ {name: 'Documentation', horizontal: true, children: [ {name: 'Controller', children: [ {name: 'Manual Control', href: '/about'}, {name: 'Digital Demo-Board', href: '/about'}, {name: 'PSOC', href: '/about'}, {name: 'PLD', href: '/about'}, {name: 'Automaton Graph', href: '/about'} ]}, {name: 'Physische Systeme', children: [ {name: '3-Achs-Portal', href: '/about'}, {name: 'Aufzug A (3 Etagen)', href: '/about'}, {name: 'Aufzug B (4 Etagen)', href: '/about'}, {name: 'Aufzug C (4 Etagen)', href: '/about'}, {name: 'Bearbeitungseinheit', href: '/about'}, {name: 'Hochregallager', href: '/about'}, {name: 'Füllstandregelung', href: '/about'} ]} ]}, {name: 'Experiment', children: [ {name: 'Instruction', href: '/about'}, {name: 'Start now', href: '/about'}, {name: 'Reservation', href: '/about'} ]}, {name: 'Tools', children: [ {name: 'BEAST', href: '/about'}, {name: 'GIFT', href: '/about'}, {name: 'SANE (Beta JS-Application)', href: '/about'}, {name: 'SANE (JAVA-Applet Download)', href: '/about'}, {name: 'WIDE (Standalone)', href: '/about'}, {name: 'Admin', href: '/admin.html'} ]}, {divider: true}, {name: 'Login', href: '/login.html'}, {name: 'Register', href: '/about'}, {icon: 'language', children: [ {name: 'Deutsch', href: '/de/'+page}, {name: 'English', href: '/en/'+page} ]} ] %} {% if language == 'de' %} {% set navbar = [ {name: 'Documentation', horizontal: true, children: [ {name: 'Controller', children: [ {name: 'Manual Control', href: '/about'}, {name: 'Digital Demo-Board', href: '/about'}, {name: 'PSOC', href: '/about'}, {name: 'PLD', href: '/about'}, {name: 'Automaton Graph', href: '/about'} ]}, {name: 'Physische Systeme', children: [ {name: '3-Achs-Portal', href: '/about'}, {name: 'Aufzug A (3 Etagen)', href: '/about'}, {name: 'Aufzug B (4 Etagen)', href: '/about'}, {name: 'Aufzug C (4 Etagen)', href: '/about'}, {name: 'Bearbeitungseinheit', href: '/about'}, {name: 'Hochregallager', href: '/about'}, {name: 'Füllstandregelung', href: '/about'} ]} ]}, {name: 'Experiment', children: [ {name: 'Instruction', href: '/about'}, {name: 'Start now', href: '/about'}, {name: 'Reservation', href: '/about'} ]}, {name: 'Tools', children: [ {name: 'BEAST', href: '/about'}, {name: 'GIFT', href: '/about'}, {name: 'SANE (Beta JS-Application)', href: '/about'}, {name: 'SANE (JAVA-Applet Download)', href: '/about'}, {name: 'WIDE (Standalone)', href: '/about'}, {name: 'Admin', href: '/admin.html'} ]}, {divider: true}, {name: 'Login', href: '/login.html'}, {name: 'Registrieren', href: '/register.html'}, {icon: 'language', children: [ {name: 'Deutsch', href: '/de/'+page}, {name: 'English', href: '/en/'+page} ]} ] %} {% endif %} {%- macro renderItemText(item) -%}
{% if item.href %} {% endif %} {% if item.icon %} {{ item.icon }} {%- else %} {{ item.name }} {%- endif %} {% if item.href %} {% endif %}
{%- endmacro -%} {%- macro renderItem(item) -%} {%- if item.divider %} {%- elif item.children %} {%- else -%} {{ renderItemText(item) }} {%- endif %} {%- endmacro -%}
Logo GOLDi LABS