-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#53 add report template for Phishing Initiative Analyzer
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
contrib/report-templates/PhishingInitiative_Lookup_1_0/long.html
This file contains 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
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> |
3 changes: 3 additions & 0 deletions
3
contrib/report-templates/PhishingInitiative_Lookup_1_0/short.html
This file contains 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
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> |