{{extend 'layout.html'}} {{import os, glob}}
| {{if a==request.application:}} {{=a}} ({{=T('currently running')}}) {{else:}} {{=a}} {{if MULTI_USER_MODE and db.app(name=a):}}(created by {{="%(first_name)s %(last_name)s" % db.auth_user[db.app(name=a).owner]}}){{pass}} {{if not os.path.exists('applications/%s/compiled' % a):}} {{buttons.append((URL('design',args=a), T("Edit")))}} {{else:}} {{buttons.append((URL(a,'appadmin','index'), T("appadmin")))}} {{pass}} {{buttons.append((URL('about',args=a), T("About")))}} {{pass}} {{buttons.append((URL('errors',args=a), T("Errors")))}} {{buttons.append((URL('cleanup',args=a), T("Clean")))}} {{buttons.append((URL('pack',args=a), T("Pack all")))}} {{buttons.append((URL('pack_custom',args=a), T("Pack custom")))}} {{if not os.path.exists('applications/%s/compiled' % a):}} {{buttons.append((URL('compile_app',args=[a, 'skip_failed_views']), T("Compile (skip failed views)")))}} {{buttons.append((URL('compile_app',args=a), T("Compile (all or nothing)")))}} {{else:}} {{buttons.append((URL('pack',args=(a, 'compiled')), T("Pack compiled")))}} {{if glob.glob('applications/%s/controllers/*.py' % a):}} {{buttons.append((URL('remove_compiled_app',args=a), T("Remove compiled")))}} {{pass}} {{pass}} {{if os.path.exists(os.path.join(apath(r=request),a,'.git')): }} {{buttons.append((URL('git_pull',args=a), T("Git Pull")))}} {{buttons.append((URL('git_push',args=a), T("Git Push")))}} {{pass}} {{if a!=request.application:}} {{buttons.append((URL('uninstall',args=a), T("Uninstall")))}} {{pass}} | {{=button_enable(URL('enable',args=a), a) if a!='admin' else ''}} |
{{=myversion}}
{{running_on = T("Running on %s", request.env.server_software or 'Unknown')}}
({{="%s, Python %s" % (running_on, myplatform)}})
{{if session.check_version:}} {{=T('Checking for upgrades...')}} {{session.check_version=False}} {{else:}} {{=button("javascript:ajax('"+URL('check_version')+"',[],'check_version')", T('Check for upgrades'))}} {{pass}}
{{if session.is_mobile=='auto':}}{{=A(T('Try the mobile interface'),_href=URL('plugin_jqmobile','about'))}}
{{pass}}{{=button(URL('wizard','index'), T('Start wizard'))}}
{{=T("(requires internet access, experimental)")}}