source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/applications/admin/views/default.mobile/site.html

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 1.8 KB
Line 
1{{extend 'default.mobile/layout.html'}}
2{{import os, glob}}
3{{block sectionclass}}site{{end}}
4
5<h2>{{=T("Installed applications")}}</h2>
6
7<ul data-role="listview" data-inset="true">
8  {{for a in apps:}}
9  <li>
10    {{if a==request.application:}}
11    <h3>{{=a}} ({{=T('currently running')}})</h3>
12    {{else:}}
13    <h3>{{=T("Application")}} {{=a}}</h3>
14    {{if MULTI_USER_MODE and db.app(name=a):}}<p>created by {{="%(first_name)s %(last_name)s" % db.auth_user[db.app(name=a).owner]}}</p>{{pass}}
15    {{pass}}
16    <ul data-role="listview" data-inset="true">
17      {{if a!=request.application:}}
18      {{=LI(A(T('Goto'),_rel="external",_href=URL(a,'default','index')))}}
19      {{if not os.path.exists('applications/%s/compiled' % a):}}
20      {{=LI(A(T('Edit'),_href=URL('design',args=a)))}}
21      {{else:}}
22      {{=LI(A(T('appadmin'),_rel="external",_href=URL(a,'appadmin','index')))}}
23      {{pass}}
24      {{=LI(A(T('About'),_href=URL('about',args=a)))}}
25      {{pass}}
26      {{=LI(A(T('Errors'),_href=URL('errors',args=a)))}}
27      {{=LI(A(T('Clean'),_href=URL('cleanup',args=a)))}}
28
29        {{if not os.path.exists('applications/%s/compiled' % a):}}
30      {{=LI(A(T('Compile'),_href=URL('compile_app',args=a)))}}
31      {{else:}}
32      {{=LI(A(T('Pack compiled'),_href=URL('pack',args=(a, 'compiled'))))}}
33      {{if glob.glob('applications/%s/controllers/*.py' % a):}}
34        {{=LI(A(T('Remove compiled'),_href=URL('remove_compiled_app',args=a)))}}
35      {{pass}}
36      {{pass}}
37      {{=LI(A(T('Git Pull'),_href=URL('git_pull',args=a)))}}
38      {{=LI(A(T('Git Push'),_href=URL('git_push',args=a)))}}
39      {{if a!=request.application:}}
40      {{=LI(A(T('Uninstall'),_href=URL('uninstall',args=a)))}}
41      {{=LI(button_enable(URL('enable',args=a), a))}}
42      {{pass}}
43    </ul>
44  </li>
45  {{pass}}
46</ul>
47
Note: See TracBrowser for help on using the repository browser.