Thanks for help guys.
I think I must have added that to default.py at some point, while trying to
learn to cusomize a navbar
http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.py
Sorry for confusion.
At any rate,I took Massimo's suggestion, and coded the navbar in html. I
think I did it correctly,
*code and image below* - The menu doesn't collapse on mobile, but there
is no need since it is so small.
<!--- START nav -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/"> MyExampleSite.com <sup>™
</sup> </a>
<div class="pull-right">
<ul class="nav">
{{if auth.is_logged_in():}}
<li ><a href="{{=URL('user/profile')}}">| <span class="icon-user
icon-white"></span> {{=auth.user.username}}</a></li>
<li><a href="{{=URL('user/profile')}}">| <span class="icon-edit
icon-white"></span> {{=T("Profile")}} </a></li>
<li><a href="{{=URL('user/logout')}}">| <span class="icon-off
icon-white"></span> {{=T("Log out")}}</a></li>
{{else:}}
<li><a href="{{=URL('user/login')}}" >{{=T("Sign in")}}
</a></li>
<li><a href="{{=URL('user/register')}}"
>{{=T("Register")}}
</a></li>
{{pass}}
</ul>
</div>
</div>
</div>
</div>
<!--- END nav -->
<https://lh5.googleusercontent.com/-yUn7U6R47JY/U_VO8Fz_kLI/AAAAAAAAAhI/nFDdT2Ee2dE/s1600/Screen%2BShot%2B2014-08-20%2Bat%2B9.42.08%2BPM.png>
<https://lh3.googleusercontent.com/-RFF1E1HGLns/U_VO_cxgX5I/AAAAAAAAAhQ/e-RBvL64YOs/s1600/Screen%2BShot%2B2014-08-20%2Bat%2B9.41.55%2BPM.png>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.