44 lines
2.0 KiB
HTML
44 lines
2.0 KiB
HTML
{{extend 'layout.html'}}
|
|
|
|
{{block header}}
|
|
<center style="background-color: #333; color:white; padding:30px">
|
|
<h1>/{{=request.application}}/{{=request.controller}}/{{=request.function}}
|
|
</center>
|
|
{{end}}
|
|
|
|
{{if 'message' in globals():}}
|
|
<h2>{{=message}}</h2>
|
|
<p class="lead">{{=T('How did you get here?')}}</p>
|
|
<ol>
|
|
<li>{{=T('You are successfully running web2py')}}</li>
|
|
<li>{{=XML(T('You visited the url %s', A(request.env.path_info,_href=request.env.path_info)))}}</li>
|
|
<li>{{=XML(T('Which called the function %s located in the file %s',
|
|
(A(request.function+'()',_href='#'),
|
|
A('web2py/applications/%(application)s/controllers/%(controller)s.py' % request,
|
|
_href=URL('admin','default','peek', args=(request.application,'controllers',request.controller+'.py'))))))}}</li>
|
|
<li>{{=XML(T('The output of the file is a dictionary that was rendered by the view %s',
|
|
A('web2py/applications/%(application)s/views/%(controller)s/index.html' % request,
|
|
_href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li>
|
|
<li>{{=T('You can modify this application and adapt it to your needs')}}</li>
|
|
</ol>
|
|
<center style="padding:50px">
|
|
<a class="btn btn-primary" href="{{=URL('admin','default','index')}}">
|
|
<i class="fa fa-cog"></i>
|
|
{{=T("admin")}}
|
|
</a>
|
|
<a class="btn btn-secondary" href="{{=URL('examples','default','index')}}">{{=T("Online examples")}}</a>
|
|
<a class="btn btn-secondary" href="http://web2py.com">web2py.com</a>
|
|
<a class="btn btn-secondary" href="http://web2py.com/book">{{=T('Documentation')}}</a>
|
|
<a class="btn btn-secondary" href="{{=URL('default','api_get_user_email')}}">{{=T('API Example')}}</a>
|
|
<a class="btn btn-secondary" href="{{=URL('default','grid/auth_user')}}">{{=T('Grid Example')}}</a>
|
|
<a class="btn btn-secondary" href="{{=URL('default','wiki')}}">{{=T('Wiki Example')}}</a>
|
|
</center>
|
|
{{elif 'content' in globals():}}
|
|
{{=content}}
|
|
{{else:}}
|
|
{{=BEAUTIFY(response._vars)}}
|
|
{{pass}}
|
|
|
|
|
|
|