Created
December 27, 2016 22:01
-
-
Save picatz/bc0370047e17ea63dfca5dbfdbf6c205 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="col-xs-12"> | |
<h1>A Pie made of IP Addresses</h1> | |
<hr> | |
<form action='/timeline' method='post' enctype='multipart/form-data'> | |
<div class="form-group"> | |
<div class="input-group input-group-lg"> | |
<span class="input-group-addon"> | |
<i class="glyphicon glyphicon-screenshot"></i> | |
</span> | |
<input class="form-control" placeholder="IP Address" name="ip" type="text" required> | |
<span class="input-group-btn"> | |
<button class="btn btn-primary" type="button submit"> Search </button> | |
</span> | |
</div> | |
</div> | |
</form> | |
<hr> | |
<% if @piechart %> | |
<%= pie_chart(@piechart, height: "600px")%> | |
<% else %> | |
<p>No data...</p> | |
<% end %> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment