+ <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')}">
+ <img src="${request.script_name}/icons/status.png" alt="">
+ <span>Dashboard</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='spend', action='index')}">
+ <img src="${request.script_name}/icons/spend.png" alt="">
+ <span>Expense</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='transfer', action='index')}">
+ <img src="${request.script_name}/icons/transfer.png" alt="">
+ <span>Transfer</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='history', action='index')}">
+ <img src="${request.script_name}/icons/history.png" alt="">
+ <span>History</span>
+ </a>
+ </td>
+ <td>
+ <a href="${h.url_for(controller='user', action='index')}">
+ <img src="${request.script_name}/icons/user.png" alt="">
+ <span>User</span>
+ </a>
+ </td>
+ </tr>
+ </table>
+ </div>
+ % for message in h.flash.pop_messages():
+ <div class="flash">${str(message) | n}</div>
+ % endfor