<!-- Faraday Penetration Test IDE -->
<!-- Copyright (C) 2013  Infobyte LLC (http://www.infobytesec.com/) -->
<!-- See the file 'doc/LICENSE' for the license information -->

<form name="uploadForm" >
    <div class="modal-header">
        <h3 class="modal-title">Import CSV</h3>
    </div>
    <div class="modal-body">
        <!-- <input type="file" id="file" name="file"/> -->
        <!-- <button ng-click="_import()">Upload</button> -->
        <span class="help-block">
            <p> Please note the required header: name, exploitation (severity)</p>
            <p> Available headers: cwe, description, desc, exploitation, name,
              refs, resolution, impact, easeofresolution, policyviolations, </p>
              data, external_id, creator, create_at, customfields</p>
            <p> Please check our portal page to download the templates </p>
        </span>
        <input type="file" id="file" name="file" accept=".csv" ng-model="filename" valid-file required/>
    </div><!-- .modal-body -->
    <div class="modal-footer">
        <div class="modal-button btn-toolbar">
            <button class="btn btn-success" ng-disabled="uploadForm.$invalid" ng-click="_import()">OK</button>
            <button class="btn btn-danger" ng-click="cancel()">Cancel</button>
        </div>
    </div>
</form>
