APTrust/dart

View on GitHub
ui/templates/job/files.html

Summary

Maintainability
Test Coverage
<h2>Files</h2>

  <div id="dropZone" class="drop-zone">

      <div class="text-center upload-icon-div" id="uploadIcon">
          <p>Drag and drop the items you want to package.</p>
          <img src="include/img/upload.png"/>
      </div>


      <div class="panel panel-default" id="filesPanel" style="display:none;background-color:inherit;">
          <div class="panel-body">
              <table class="table table-hover" id="filesTable">
                  <thead class="thead-inverse">
                      <tr>
                          <th>File Path</th>
                          <th>Directories</th>
                          <th>Files</th>
                          <th>Total Size</th>
                          <th></th>
                      </tr>
                  </thead>
                  <tbody>
                      <tr id="fileTotals">
                          <td>Totals</td>
                          <td id="totalDirCount" data-total="0"></td>
                          <td id="totalFileCount" data-total="0"></td>
                          <td id="totalByteCount" data-total="0"></td>
                          <td></td>
                      </tr>
                  </tbody>
              </table>

              <div class="alert alert-danger" role="alert" id="fileWarningContainer" style="display: none">
                  <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
                  <div id="fileWarning"></div>
              </div>

          </div>
      </div>
  </div>
</div>

<div class="pull-left">
  <a class="btn btn-danger" href="#Job/destroy?id={{ job.id }}" role="button">Delete</a>
</div>

<div class="pull-right" id="btnJobPackagingDiv">
  <a class="btn btn-primary" href="#JobPackaging/show?id={{ job.id }}" role="button">Next &gt;&gt;</a>
</div>