<!DOCTYPE html>
<html lang="en">
<head>
  <title>Tiros Network Visualization</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="../static/css/index.css" rel="stylesheet">  <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
  <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
  <div class="header">
  <h2 class="text-muted">Tiros Network Visualization</h2>
</div>
<hr/>
  <ul class="nav nav-pills nav-justified">
    <li class="active"><a data-toggle="tab" href="#snapshot">Take a Snapshot</a></li>
    <li><a data-toggle="tab" href="#upload">Upload a Snapshot</a></li>
  </ul>

  <div class="tab-content">
    <div id="snapshot" class="tab-pane fade in active">
      </br>
    <form action="mk_snapshot" method="post" enctype="multipart/form-data">
          <button data-toggle="tooltip" title="Take a snapshot of your AWS network!"
                 class='fa fa-camera-retro fa-5x snap_icon'>
          </button>
    </form>
    <div class="{{ alert }}">
        {{snapshot_validation}}
    </div>
    </div>
    <div id="upload" class="tab-pane fade">
    </br>
      <form action="snapshot" method="post" enctype="multipart/form-data">
        <input type="file" name="file"><br />
        <input type="submit" value="Visualize">
        <br/><br/>
      </form>
      <div class="{{ alert }}">
          {{snapshot_validation}}
      </div>
    </div>
  </div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip();
});
</script>
</body>
</html>
