- <h1>${self.title()}</h1>
- <% messages = h.flash.pop_messages() %>
- % if messages:
- <ul id="flash-messages">
- % for message in messages:
- <li>${message}</li>
- % endfor
- </ul>
- % endif
- <div id="nav">
- <ul>
- <li>${h.link_to('Dashboard', h.url_for(controller='status',
- action='index'))}</li>
- <li>${h.link_to('Expense', h.url_for(controller='spend',
- action='index'))}</li>
- <li>${h.link_to('Transfer', h.url_for(controller='transfer',
- action='index'))}</li>
- <li>${h.link_to('History', h.url_for(controller='history',
- action='index'))}</li>
- </ul>
+ <div id="nav" class="block">
+ <table>
+ <tr>
+ <td>
+ <h1 class="title">
+ % if c.title:
+ ${c.title}
+ % else:
+ BlueChips
+ % endif
+ </h1>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='status', action='index', id=None)}">
+ <img src="/icons/dashboard.png" alt="">
+ <span>Dashboard</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='spend', action='index', id=None)}">
+ <img src="/icons/spend.png" alt="">
+ <span>Expense</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='transfer', action='index', id=None)}">
+ <img src="/icons/transfer.png" alt="">
+ <span>Transfer</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='history', action='index', id=None)}">
+ <img src="/icons/history.png" alt="">
+ <span>History</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='user', action='index', id=None)}">
+ <img src="/icons/user.png" alt="">
+ <span>User</span>
+ </a>
+ </td>
+ </tr>
+ </table>