feat(vulnerabilities): adds description of vulnerability for sql interpolation
also fixes several small errors on that page, otherwise JS raises errors. fixes #181
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<form action="">
|
||||
Search by IP: <input type="text" name="ip"><br />
|
||||
<input type="checkbox" value="" name="field[ip_address]"> IP Address<br />
|
||||
<input type="checkbox" value="" name="field[referrer]"> Referrer<br />
|
||||
<input type="checkbox" value="" name="field[user_agent]"> User Agent
|
||||
<form action="" id="analytics_search">
|
||||
Search by IP: <input type="text" id="ip" name="ip"><br />
|
||||
<input type="checkbox" value="" id="field_ip_address" name="field[ip_address]"> IP Address<br />
|
||||
<input type="checkbox" value="" id="field_referrer" name="field[referrer]"> Referrer<br />
|
||||
<input type="checkbox" value="" id="field_user_agent" name="field[user_agent]"> User Agent
|
||||
</form>
|
||||
|
||||
<div id="dt_example" class="example_alt_pagination">
|
||||
<table class="table table-striped table-hover table-bordered pull-left" id="data-table">
|
||||
<table class="table table-striped table-hover table-bordered pull-left <%= "custom" if params[:field] %>" id="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<%
|
||||
count = (params[:field] ? params[:field].count : 3)
|
||||
count = (params[:field] ? (params[:field].count+1) : 6)
|
||||
count.times do %>
|
||||
<td> </td>
|
||||
<th> </th>
|
||||
<% end %>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -33,6 +33,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= javascript_include_tag "jquery.dataTables.js"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function dataTablePagination(){
|
||||
@@ -42,4 +44,4 @@ function dataTablePagination(){
|
||||
};
|
||||
|
||||
$(document).ready(dataTablePagination());
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user