$def with (pkgs)
<html>
  <!--
    Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
    Use of this source code is governed by a BSD-style license that can be
    found in the LICENSE file.
  -->
  <head>
    <title>ChromeOS Developer Console</title>
  </head>
  <body>
    <table> 
    <tr>
      <td><b>Package Name</b></td>
      <td><b>Last Built On</b></td>
      <td><b>Functions</b></td>
    $for k,v in pkgs.iteritems():
      <tr>
        <td>$k</td> 
        <td>$v['build_time']</td> 
        <td><a href="/webbuild?pkg=$v['name']">build</a></td>
      </tr>
    </table>
  </body>
</html>

$def with (pkgs)
<html>
  <!--
    Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
    Use of this source code is governed by a BSD-style license that can be
    found in the LICENSE file.
  -->
  <head>
    <title>ChromeOS Developer Console</title>
  </head>
  <body>
    <table cellspacing=10> 
    <tr>
      <th>Package Name</th>
      <th>Last Built On</th>
      <th>Functions</th>
    </tr>
    $ keys = pkgs.keys()
    $ keys.sort()
    $for k in keys:
      $ v = pkgs[k]
      <tr>
        <td>$k</td> 
        <td>$v['build_time']</td> 
        <td><a href="/webbuild?pkg=$v['name']">build</a></td>
      </tr>
    </table>
  </body>
</html>

Sort packages in devserver page.
Sort packages in devserver page.

Review URL: http://chromereview.prom.corp.google.com/1187028


git-svn-id: 59a3318ba88c04536d83f47c63c52b7f675c4a1a@240 06c00378-0e64-4dae-be16-12b19f9950a1
