%if not request.identity.is_auth and auth_type == AuthenticationType.SECRET:
Secret:
%elif not request.identity.is_auth and auth_type == AuthenticationType.GITHUB: Login with GitHub %elif auth_type == AuthenticationType.GITHUB:

Logged as: ${request.identity.name} Logout

%endif

Tile generation


%if has_access: %if job_status is None:

Status

${'
'.join(status)|n}

%endif

Launch generation

%if jobs_status is not None:
%endif
%if secret is not None: %endif
%endif %if jobs_status is None: %endif

Test

See the result in the test page.

%if jobs_status:

Jobs

%for nb, (job, status, errors) in enumerate(jobs_status):

${job.command}

%if job.message:
${job.message.strip() | n,h}
%endif %if job.status == 'started':

%elif job.status == 'error' and errors:

%endif %if status:

Status

%for s in status: Zoom level ${s['zoom']}: <% comma = False %> %if 'generate' in s: <% comma = True %> ${s['generate']} meta tiles to generate %endif %if 'pending' in s: %if comma: , %endif <% comma = True %> ${s['pending']} meta tiles being generated %endif %if 'error' in s: %if comma: , %endif ${s['error']} meta tiles in error %endif
%endfor

%endif %if errors:

Errors occur during the generation (max 5)

%for e in errors:
${e | n,h}
%endfor %endif
%endfor
%endif %if footer is not None:
%endif