-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
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,76 @@ | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
Email message details | ||
</div> | ||
<div class="panel-body"> | ||
<div ng-show="content.traits.is_anonymous_proxy" class="alert alert-warning">Is anonymous proxy</div> | ||
<div ng-show="content.traits.is_satellite_provider" class="alert alert-warning">Is satellite provider</div> | ||
|
||
<dl class="dl-horizontal"> | ||
<dt>From</dt> | ||
<dd>{{content.displayFrom}} ({{content.sender}})</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>To</dt> | ||
<dd>{{content.displayTo}} ({{content.receivers}})</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Subject</dt> | ||
<dd>{{content.subject || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Topic</dt> | ||
<dd>{{content.topic || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Bcc</dt> | ||
<dd>{{content.bcc || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal" ng-if="content.attachments && content.attachments.length !== 0"> | ||
<dt>Attachments</dt> | ||
<dd> | ||
<div class="bm10">This message file includes | ||
<ng-pluralize count="content.attachments.length" when="{'1': '1 attachment', 'other': '{} attachments'}"></ng-pluralize> | ||
</div> | ||
<table class="table table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Filename</th> | ||
<th>Mime Type</th> | ||
<th>Extension</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="a in content.attachments"> | ||
<td class="wrap">{{a.filename}}</td> | ||
<td class="wrap">{{a.mime}}</td> | ||
<td>{{a.extension}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Headers</dt> | ||
<dd> | ||
<pre>{{content.headers}}</pre> | ||
</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Body</dt> | ||
<dd> | ||
<pre>{{content.body}}</pre> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> |
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 class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}={{t.value}} | ||
</span> |