{{extend 'layout.html'}} {{import os, glob}} {{block sectionclass}}site{{end}}
{{else:}}
{{if not os.path.exists('applications/%s/compiled' % a):}} {{=sp_button(URL('design',args=a), T("edit"))}} {{else:}} {{=button(URL(a,'appadmin','index'), T("appadmin"))}} {{pass}} {{=button(URL('about',args=a), T("about"))}} {{pass}} {{=button(URL('errors',args=a), T("errors"))}} {{=button(URL('cleanup',args=a), T("clean"))}} {{=button(URL('pack',args=a), T("pack all"))}} {{if not os.path.exists('applications/%s/compiled' % a):}} {{=button(URL('compile_app',args=a), T("compile"))}} {{else:}} {{=button(URL('pack',args=(a, 'compiled')), T("pack compiled"))}} {{if glob.glob('applications/%s/controllers/*.py' % a):}} {{=button(URL('remove_compiled_app',args=a), T("remove compiled"))}} {{pass}} {{pass}} {{if a!=request.application:}} {{=button(URL('uninstall',args=a), T("uninstall"))}} {{pass}}