<%namespace name='static' file='static_content.html'/>

<%inherit file="main.html" />

<section class="container about">

  <section class="basic_stats">

    <div class="edx_summary">
      <h2>edX-wide Summary</h2>
      <table style="margin-left:auto;margin-right:auto;width:50%">
      % for key in results["scalars"]:
        <tr>
          <td>${key}</td>
          <td>${results["scalars"][key]}</td>
        </tr>
      % endfor
      </table>
    </div>

    % for table in results["tables"]:
    <br/>
    <div class="table_display">
      <h2>${table}</h2>
      <table style="margin-left:auto;margin-right:auto;width:50%">
        <tr>
          % for column in results["tables"][table][0]:
          <td><b>${column}</b></td>
          % endfor
        </tr>
        % for row in results["tables"][table][1:]:
        <tr>
          % for column in row:
          <td>${column}</td>
          % endfor
        </tr>
        % endfor
      </table>

    </div>
    % endfor
  </section>
</section>

