<div id="stats-dangerous-goods-page" class="stats-base-page">
  <div class="page-header">
    <h2>
      <i class="icon-bar-chart"></i>
      <?php echo htmlspecialchars(Yii::t("app", "Stats"),ENT_QUOTES,'UTF-8'); ?>
    </h2>
  </div>
  <div class="row">
    <div class="span4">
      <div id="filters">
        <?php $this->renderPartial('dangerousGoods/_form', array('gates' => $gates)); ?>
      </div>
    </div>
    <div class="span8">
      <div id="graph-box">
        <div class="span pull-right" id="spinner"></div>
        <canvas id="graph-canvas"></canvas>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="span12">
      <div id="table-container"></div>
    </div>
  </div>
  <div id="preparing-file-modal" title="Preparing report..." style="display: none;">
    <?php echo htmlspecialchars("We are preparing your report, please wait...",ENT_QUOTES,'UTF-8'); ?>
  </div>
  <div id="error-modal" title="Error" style="display: none;">
    <?php echo htmlspecialchars("There was a problem generating your report, please try again.",ENT_QUOTES,'UTF-8'); ?>
  </div>
</div>
