<div class='section-title plus'>Signature Information</div>

<div class='signature-table plus'>
	
	<table class='ip-header' border='0' cellspacing='0' cellpadding='0'>
		<tr>
			<th class='first'>Generator ID</th>
			<th>Signature ID</th>
			<th>Signature Revision</th>
      <th>Activity (<%= @event.signature.event_percentage(true) %>)</th>
      <th>&nbsp;</th>
			<th class='last'></th>
		</tr>
		<tbody>
			<tr>
				<td class='first'><%= @event.signature.sig_gid || 'N/A' %></td>
				<td><%= @event.signature.sig_sid || 'N/A' %></td>
				<td><%= @event.signature.sig_rev || 'N/A' %></td>
        
        <td class='search-by-signature add_tipsy'
          title="View all '<%= @event.signature.name%>' events."
          data-url="/results?search[signature_name]=<%= @event.signature.name %>">
          <%= css_chart(@event.signature.event_percentage) %>
        </td>

        <td style='width:190px;' class=''>
          <%= link_to "Query Signature Database", 
            @event.signature_url, :target => '_blank' %>
        </td>

        <td style='width:90px;' class='last'>
          <%= link_to "View Rule", rule_events_path(:sid => @event.sid, :cid => @event.cid), :class => 'snorbybox', :target => '_blank' %>  
        </td>

			</tr>
		</tbody>
	</table>

</div>
