% if not defined('header'): % def header(): %for page, txt in [('edits',tedit),('content',tcontent),('done',tdone),('todo',ttodo),('contexts',tcontexts)]:
%if request.user is None and page=='contexts':

 

%else:

{{txt}}

%end
%end
%if request.user: %for key2prnt,is_users in db.key_ownd_path(request.student,request.user):
%if key2prnt.kind()=='Student': %else: {{util.translate(key2prnt.kind())}}
%if not is_users: {{key2prnt.string_id()}} %else: {{key2prnt.string_id()}} %end %end
%end %else: %for key2prnt,is_users in db.key_ownd_path(request.student,None): %if key2prnt.kind()=='Student':
%else:
%end {{util.translate(key2prnt.kind())}}
%if not is_users: {{key2prnt.string_id()}} %else: {{key2prnt.string_id()}} %end
%end %end
 
% end % end % if not defined('footer'): % def footer(): % if request.user: % elif request.pagename not in ['login','forgot','verification','password']: %end
{{tdevelopment}} Github
%for lng in langs: {{!util.newlang(lng)}}   %end
% end % end % if not defined('title'): % def title(): % if request.user: {{db.user_name(request.user)}} % else: chcko % end % end % end <% if defined('scripts'): for n,js in sorted(scripts.items()): js() end end %> % if request.user: % end % title()
% header()
{{!base}}

 

% footer()