~openerp/openobject-client-web/ofc2

« back to all changes in this revision

Viewing changes to demo/demo/templates/index.html

  • Committer: ame (Tiny/Axelor)
  • Date: 2009-03-31 12:13:47 UTC
  • Revision ID: ame@tinyerp.com-20090331121347-1gqpx68e2972ajai
[IMP] demo, Genshi was replaced with Mako

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/">
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<html>
2
3
    <head>
3
4
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
4
5
        <title>Python Library for Open Flash Chart 2 - Demo</title>
8
9
        <script type="text/javascript" src="/static/js/ofc2demo.js"></script>
9
10
        
10
11
        <style>
11
 
        $css
 
12
            ${css}
12
13
        </style>
13
14
        
14
15
    </head>
35
36
                </td>
36
37
                <td valign="top" width="200" nowrap="nowrap">
37
38
                    <table border="0">
38
 
                        <tr py:for="i, (kind, text) in enumerate(charts)">
39
 
                            <td>
40
 
                                <input type="radio" id="input_$i" name="chart" value="$kind"/>
41
 
                            </td>
42
 
                            <td>
43
 
                                <label for="input_$i">$text</label>
44
 
                            </td>
45
 
                        </tr>
 
39
                        % for i, (kind, text) in enumerate(charts):
 
40
                            <tr>
 
41
                                <td>
 
42
                                    <input type="radio" id="input_${i}" name="chart" value="${kind}"/>
 
43
                                </td>
 
44
                                <td>
 
45
                                    <label for="input_$i">${text}</label>
 
46
                                </td>
 
47
                            </tr>
 
48
                        % endfor
46
49
                    </table>
47
50
                </td>
48
51
            </tr>