diff --git a/applications/admin/static/js/web2py.js b/applications/admin/static/js/web2py.js index b3cc12c0..e11610cb 100644 --- a/applications/admin/static/js/web2py.js +++ b/applications/admin/static/js/web2py.js @@ -75,8 +75,8 @@ * this over and over... all will be bound to the document */ /*adds btn class to buttons*/ - $('button', target).addClass('btn').addClass('btn-default'); - $('form input[type="submit"], form input[type="button"]', target).addClass('btn').addClass('btn-default'); + $('button', target).addClass('btn'); + $('form input[type="submit"], form input[type="button"]', target).addClass('btn'); /* javascript for PasswordWidget*/ $('input[type=password][data-w2p_entropy]', target).each(function () { web2py.validate_entropy($(this)); diff --git a/applications/examples/static/js/web2py.js b/applications/examples/static/js/web2py.js index b3cc12c0..e11610cb 100644 --- a/applications/examples/static/js/web2py.js +++ b/applications/examples/static/js/web2py.js @@ -75,8 +75,8 @@ * this over and over... all will be bound to the document */ /*adds btn class to buttons*/ - $('button', target).addClass('btn').addClass('btn-default'); - $('form input[type="submit"], form input[type="button"]', target).addClass('btn').addClass('btn-default'); + $('button', target).addClass('btn'); + $('form input[type="submit"], form input[type="button"]', target).addClass('btn'); /* javascript for PasswordWidget*/ $('input[type=password][data-w2p_entropy]', target).each(function () { web2py.validate_entropy($(this)); diff --git a/applications/welcome/views/default/index.html b/applications/welcome/views/default/index.html index 85e03922..6e9ab1ff 100644 --- a/applications/welcome/views/default/index.html +++ b/applications/welcome/views/default/index.html @@ -1,50 +1,35 @@ -{{left_sidebar_enabled,right_sidebar_enabled=False,('message' in globals())}} -{{extend 'layout.html'}} - -{{block head}} - -{{end head}} - -{{if 'message' in globals():}} -

{{=message}}

-

{{=T('How did you get here?')}}

-
    -
  1. {{=T('You are successfully running web2py')}}
  2. -
  3. {{=XML(T('You visited the url %s', A(request.env.path_info,_href=request.env.path_info)))}}
  4. -
  5. {{=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'))))))}}
  6. -
  7. {{=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')))))}}
  8. -
  9. {{=T('You can modify this application and adapt it to your needs')}}
  10. -
-{{elif 'content' in globals():}} -{{=content}} -{{else:}} -{{=BEAUTIFY(response._vars)}} -{{pass}} - -{{block right_sidebar}} - -
-
{{=T("Don't know what to do?")}}
- -
-{{end}} - -{{block page_js}} - -{{end}} +{{left_sidebar_enabled,right_sidebar_enabled=False,('message' in globals())}} +{{extend 'layout.html'}} + +{{if 'message' in globals():}} +

{{=message}}

+ +

{{=T('How did you get here?')}}

+
    +
  1. {{=T('You are successfully running web2py')}}
  2. +
  3. {{=XML(T('You visited the url %s', A(request.env.path_info,_href=request.env.path_info)))}}
  4. +
  5. {{=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'))))))}}
  6. +
  7. {{=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')))))}}
  8. +
  9. {{=T('You can modify this application and adapt it to your needs')}}
  10. +
+{{elif 'content' in globals():}} +{{=content}} +{{else:}} +{{=BEAUTIFY(response._vars)}} +{{pass}} + +{{block right_sidebar}} +{{=A(T("Administrative Interface"), _href=URL('admin','default','index'), _class='btn', + _style='margin-top: 1em;')}} +
{{=T("Don't know what to do?")}}
+ +{{end}}