whatpylonsproject / pylonssecuredapp / templates / base.mako

    <title>${self.header()} - Secured Pylons Application</title>

    <div class="content">
      <h1 class="main">${self.header()}</h1>
      <% messages = h.flash.pop_messages() %>
      % if messages:
      <ul id="flash-messages">
          % for message in messages:
          % endfor
      % endif
      <p id="auth-info">
      % if hasattr(c, 'userid'):
          Hi, ${c.userid}! <a href="${h.url('/logout')}">Log out</a>
      % else:
          <a href="${h.url('/login')}">Log in</a>
      % endif
      <hr />
        <li><a href="${h.url('/')}">/</a></li>
        <li><a href="${h.url('/only_for_gustavo')}">/only_for_gustavo</a></li>
        <li><a href="${h.url('/only_for_foo')}">/only_for_foo</a></li>
        <li><a href="${h.url('/do_something_important')}">/do_something_important</a></li>
        <li><a href="${h.url('/cp/')}">/cp/</a></li>
        <li><a href="${h.url('/cp/protected_too')}">/cp/protected_too</a></li>
      <p class="footer">
        Powered by ${h.link_to('repoze.who', 'http://static.repoze.org/whodocs/')}
        and ${h.link_to('repoze.what', 'http://static.repoze.org/whatdocs/')}.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.