Fix welcome index markup

This commit is contained in:
Carlos Cesar Caballero Díaz committed 2018-04-26 12:43:15 -04:00
1 parent 577fcefb33
commit 323a8953b5
1 file changed
+20 -16
+20 -16
View File
@@ -1,15 +1,17 @@
{{extend 'layout.html'}} {{extend 'layout.html'}}
{{block header}} {{block header}}
<center style="background-color: #333; color:white; padding:30px"> <div class="jumbotron jumbotron-fluid" style="background-color: #333; color:white; padding:30px;word-wrap:break-word;">
<h1>/{{=request.application}}/{{=request.controller}}/{{=request.function}} <div class="container center">
</center> <h1 class="display-5">/{{=request.application}}/{{=request.controller}}/{{=request.function}}</h1>
</div>
</div>
{{end}} {{end}}
{{if 'message' in globals():}} {{if 'message' in globals():}}
<h2>{{=message}}</h2> <h2>{{=message}}</h2>
<p class="lead">{{=T('How did you get here?')}}</p> <p class="lead">{{=T('How did you get here?')}}</p>
<ol> <ol style="word-wrap:break-word;">
<li>{{=T('You are successfully running web2py')}}</li> <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('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', <li>{{=XML(T('Which called the function %s located in the file %s',
@@ -21,18 +23,20 @@
_href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li> _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> <li>{{=T('You can modify this application and adapt it to your needs')}}</li>
</ol> </ol>
<center style="padding:50px"> <div class="jumbotron jumbotron-fluid" style="padding:30px;word-wrap:break-word;">
<a class="btn btn-primary" href="{{=URL('admin','default','index')}}"> <div class="container center">
<i class="fa fa-cog"></i> <a class="btn btn-primary" href="{{=URL('admin','default','index')}}">
{{=T("admin")}} <i class="fa fa-cog"></i>
</a> {{=T("admin")}}
<a class="btn btn-secondary" href="{{=URL('examples','default','index')}}">{{=T("Online examples")}}</a> </a>
<a class="btn btn-secondary" href="http://web2py.com">web2py.com</a> <a class="btn btn-secondary" href="{{=URL('examples','default','index')}}">{{=T("Online examples")}}</a>
<a class="btn btn-secondary" href="http://web2py.com/book">{{=T('Documentation')}}</a> <a class="btn btn-secondary" href="http://web2py.com">web2py.com</a>
<a class="btn btn-secondary" href="{{=URL('default','api_get_user_email')}}">{{=T('API Example')}}</a> <a class="btn btn-secondary" href="http://web2py.com/book">{{=T('Documentation')}}</a>
<a class="btn btn-secondary" href="{{=URL('default','grid/auth_user')}}">{{=T('Grid Example')}}</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','wiki')}}">{{=T('Wiki Example')}}</a> <a class="btn btn-secondary" href="{{=URL('default','grid/auth_user')}}">{{=T('Grid Example')}}</a>
</center> <a class="btn btn-secondary" href="{{=URL('default','wiki')}}">{{=T('Wiki Example')}}</a>
</div>
</div>
{{elif 'content' in globals():}} {{elif 'content' in globals():}}
{{=content}} {{=content}}
{{else:}} {{else:}}