Skip to content

Commit

Permalink
#53 add report template for Phishing Initiative Analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
sigalpes authored and To-om committed Feb 1, 2017
1 parent a6adc11 commit 92ea4f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions contrib/report-templates/PhishingInitiative_Lookup_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
PhishingInitiative Report for <strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt>Status: </dt>
<dd class="wrap" ng-class="{'text-danger': content.tag_label==='phishing', 'text-success': content.tag_label==='clean'}">
{{content.tag_label}}
</dd>
</dl>
</div>
</div>
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<span ng-if="content.status" class="label label-info" ng-class="{'label-danger': content.status==='phishing', 'label-success': content.status==='clean'}">
{{content.status}}
</span>

0 comments on commit 92ea4f0

Please sign in to comment.