1 | {{extend 'layout.html'}} |
---|
2 | |
---|
3 | {{block header}} |
---|
4 | <div class="jumbotron jumbotron-fluid background" style="background-color: #333; color:white; padding:30px;word-wrap:break-word;"> |
---|
5 | <div class="container center"> |
---|
6 | <h1 class="display-5">/{{=request.application}}/{{=request.controller}}/{{=request.function}}</h1> |
---|
7 | </div> |
---|
8 | </div> |
---|
9 | {{end}} |
---|
10 | |
---|
11 | <div class="row"> |
---|
12 | <div class="col-md-12"> |
---|
13 | {{if 'message' in globals():}} |
---|
14 | <h2>{{=message}}</h2> |
---|
15 | <p class="lead">{{=T('How did you get here?')}}</p> |
---|
16 | <ol style="word-wrap:break-word;"> |
---|
17 | <li>{{=T('You are successfully running web2py')}}</li> |
---|
18 | <li>{{=XML(T('You visited the url %s', A(request.env.path_info,_href=request.env.path_info)))}}</li> |
---|
19 | <li>{{=XML(T('Which called the function %s located in the file %s', |
---|
20 | (A(request.function+'()',_href='#'), |
---|
21 | A('web2py/applications/%(application)s/controllers/%(controller)s.py' % request, |
---|
22 | _href=URL('admin','default','peek', args=(request.application,'controllers',request.controller+'.py'))))))}}</li> |
---|
23 | <li>{{=XML(T('The output of the file is a dictionary that was rendered by the view %s', |
---|
24 | A('web2py/applications/%(application)s/views/%(controller)s/index.html' % request, |
---|
25 | _href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li> |
---|
26 | <li>{{=T('You can modify this application and adapt it to your needs')}}</li> |
---|
27 | </ol> |
---|
28 | <div class="jumbotron jumbotron-fluid" style="padding:30px;word-wrap:break-word;"> |
---|
29 | <div class="container center"> |
---|
30 | <a class="btn btn-primary" href="{{=URL('admin','default','index')}}"> |
---|
31 | <i class="fa fa-cog"></i> |
---|
32 | {{=T("admin")}} |
---|
33 | </a> |
---|
34 | <a class="btn btn-secondary" href="{{=URL('examples','default','index')}}">{{=T("Online examples")}}</a> |
---|
35 | <a class="btn btn-secondary" href="http://web2py.com">web2py.com</a> |
---|
36 | <a class="btn btn-secondary" href="http://web2py.com/book">{{=T('Documentation')}}</a> |
---|
37 | <a class="btn btn-secondary" href="{{=URL('default','api_get_user_email')}}">{{=T('API Example')}}</a> |
---|
38 | <a class="btn btn-secondary" href="{{=URL('default','grid/auth_user')}}">{{=T('Grid Example')}}</a> |
---|
39 | <a class="btn btn-secondary" href="{{=URL('default','wiki')}}">{{=T('Wiki Example')}}</a> |
---|
40 | </div> |
---|
41 | </div> |
---|
42 | {{elif 'content' in globals():}} |
---|
43 | {{=content}} |
---|
44 | {{else:}} |
---|
45 | {{=BEAUTIFY(response._vars)}} |
---|
46 | {{pass}} |
---|
47 | </div> |
---|
48 | </div> |
---|
49 | |
---|
50 | |
---|
51 | |
---|