Source

hack2 / codeviewer / overview.jinja

Full commit
<html>
  <head>
   <script type="text/javascript" src="jquery.min.js"></script>
   <script type="text/javascript" src="jquery.scrollTo-1.4.2-min.js"></script>
   <script type="text/javascript" src="jquery.viewport.mini.js"></script>
   <script type="text/javascript" src="y.js"></script>
   <link rel="stylesheet" href="pygments.css">
   <link rel="stylesheet" href="x.css">
  </head>
  <body>
    <div id="main-code-browser">
    {% for i, item in tree %}
       <div id="w-{{i+1}}" class="box box-{{ item.kind }}">
         {{ item.get_overview() }}
         {% if item.kind == "cls" %}
            {% for meth in item.methods %}
            <div class="box box-{{ meth.kind }}">
              {{ meth.get_overview() }}
            </div>
            {% endfor %}
         {% endif %}
       </div>
    {% endfor %}
    </div>
  </body>
</html>