<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="master.html" />
<head></head>
<body>
      <div class="tableList" style="background-color:#aaddff; float:left; clear:left; border:1px solid; margin:0px 5px 0px 0px; padding:10px;">
            <b>Tables</b>
            ${c.w.databaseView(value=databaseValue, controller=controller)}
      </div>
      <div class="mainView" style="bg-color:#ffffff;">
            <py:if test="not isinstance(table_name, Undefined)">
                  <h2 style="margin: 0px 5px 0px 0px;">$table_name</h2>
                  <div style="float:left;">
                        <div style="float:left; padding-right:10px;"><a href="../addRecord/$table_name">AddRecord</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableView/$table_name">TableView</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableDef/$table_name">TableDef</a></div>
                  </div>
                  <br/>
            </py:if>

            <py:if test="mainView is not None">
                  ${c.w.mainView(value=mainValue)}
            </py:if>
      </div>
</body>
</html>