summaryrefslogtreecommitdiffstats
path: root/manas/templates/sidebars.html
blob: 9084c47622ea6c0b9600c6f90a0e82df608c0f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html xmlns:py="http://genshi.edgewall.org/" py:strip="">

<py:def function="sidebar_left">
  <div id="col1" class="col">
      <ul>
        <!--
        <li py:choose="">
          <span py:when="page=='index'"><a href="/about">About this page</a> A quick guide to this TG2 site </span>
          <span py:otherwise=""><a href="/">Home</a> Back to your Quickstart Home page </span>
        </li>
        -->
        <li><a href="#" onclick="$('#main').load('/new')">Add a new idea</a></li>
        <!--
        <li><a href="#" onclick="$.get('/new', function(html){
                console.log(html);
                $(html).find('script').appendTo('head');
                $('#content').html($(html).find('#content'));
            });">New idea</a></li>
        -->
        <li><a href="#" onclick="$('#main').load('/ideas')">View Ideas</a></li>
      </ul>
  </div>
</py:def>

<py:def function="sidebar_right">
  <div id="col3" class="col">
      <?python import pylons ?>
      ${pylons.g.latest_ideas()}
  </div>
</py:def>

</html>