{{extend 'default.mobile/layout.html'}} {{block sectionclass}}design {{=app}}{{end}}

{{=T("Models")}} {{=helpicon()}} {{=T("The data representation, define database tables and sets")}}

{{if not models:}}

{{=T("There are no models")}}

{{else:}}
{{=button(URL(a=app,c='appadmin',f='index'), T('database administration'))}} {{if os.access(os.path.join(request.folder,'..',app,'databases','sql.log'),os.R_OK):}} {{=button(URL('peek/%s/databases/sql.log'%app), 'sql.log')}} {{pass}}
{{pass}}
{{=file_create_form('%s/models/' % app)}}
{{ controller_functions=[] for c in controllers: controller_functions+=[c[:-3]+'/%s.html'%x for x in functions[c]] }}

{{=T("Controllers")}} {{=helpicon()}} {{=T("The application logic, each URL path is mapped in one exposed function in the controller")}}

{{if not controllers:}}

{{=T("There are no controllers")}}

{{else:}}
{{=button(URL(r=request,c='shell',f='index',args=app), T("shell"))}} {{=button(URL('test',args=app), T("test"))}} {{=button(URL('edit',args=[app,'cron','crontab']), T("crontab"))}}
{{pass}}
{{=file_create_form('%s/controllers/' % app)}}

{{=T("Views")}} {{=helpicon()}} {{=T("The presentations layer, views are also known as templates")}}

{{=button(LAYOUTS_APP, T("download layouts"))}}
{{if not views:}}

{{=T("There are no views")}}

{{pass}}
{{=file_create_form('%s/views/' % app)}}

{{=T("Languages")}} {{=helpicon()}} {{=T("Translation strings for the application")}}

{{=button(URL('update_languages/'+app), T('update all languages'))}}
{{if not languages:}}

{{=T("There are no translators, only default language is supported")}}

{{pass}}
{{=file_create_form('%s/languages/' % app)}}{{=T('(something like "it-it")')}}

{{=T("Static files")}} {{=helpicon()}} {{=T("These files are served without processing, your images go here")}}

{{if not statics:}}

{{=T("There are no static files")}}

{{pass}}
{{=file_create_form('%s/static/' % app)}} {{=file_upload_form('%s/static/' % app)}}

{{=T("Modules")}} {{=helpicon()}} {{=T("Additional code for your application")}}

{{if not modules:}}

{{=T("There are no modules")}}

{{pass}}
{{=file_create_form('%s/modules/' % app)}} {{=file_upload_form('%s/modules/' % app)}}

{{=T("Plugins")}} {{=helpicon()}} {{=T("To create a plugin, name a file/folder plugin_[name]")}}

{{=button(PLUGINS_APP, T('download plugins'))}}
{{if plugins:}} {{else:}}

{{=T('There are no plugins')}}

{{pass}}
{{=upload_plugin_form(app)}}