<%inherit file="dashboard.phtml"/> <%block name="content">
% if task_path=='':

${lang('pastafari2', 'add_server', 'Add server')} % else:

${description_task}

${links|n}

% endif

${lang('pastafari2', 'choose_group', 'Choose group')}:

<% form_set=[] %> <%def name="show_tasks(task_folder, separator)"> % if task_folder in select_task: % for task,value in select_task[task_folder].items(): % if len(value)>=2: % for script in enumerate(value, 1): %if script[1][2]==1: <% checked='' if script[1][1]==task_path: checked='selected' %> % endif % endfor % endif % if task in select_task: ${show_tasks(task, separator+'--')} %endif % endfor % endif

% if task_path=='': % else: % endif ${"\n".join(form_set)|n}

% if task_path=='': % endif
% if task_path=='': % endif
% if task_path!='':

${links|n}

% endif <%block name="jscript_block">