-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
e0c6939
commit e7afcde
Showing
1 changed file
with
7 additions
and
19 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 |
---|---|---|
@@ -1,20 +1,8 @@ | ||
<span ng-if="content.scanreport.data.length > 0" class="label label-info">VMRay: {{content.data.scanreport.length}} scans</span> | ||
<span ng-if="content.scanreport.data.length == 0" class="label label-info">VMRay: No scans</span> | ||
|
||
<span ng-if="content.reports.length == 0" class="label label-info">VMRay:scans= No scans</span> | ||
<span ng-if="content.reports.length > 0" class="label label-info">VMRay:scans= {{content.reports.length}} scans</span> | ||
<!-- For each report --> | ||
<div style="display: inline-block;" ng-repeat="s in content.scanreport.data"> | ||
<a href="{{s.sample_webif_url}}" target="_blank"><span class="label label-info">VMRay Score: {{s.sample_score}}</span></a> | ||
</div> | ||
|
||
<!-- Successful submit --> | ||
<span class="label label-success" ng-if="content.result == 'ok' && content.data.submissions.length > 0"> | ||
VMRay: Successful submitted | ||
</span> | ||
|
||
<!-- For each submission --> | ||
<div style="display: inline-block;" ng-repeat="s in content.data.submissions"> | ||
<a href="{{s.submission_webif_url}}" target="_blank"><span class="label label-info">VMRay Submission: {{s.submission_id}}</span></a> | ||
</div> | ||
|
||
<!-- Sample was already submitted --> | ||
<a ng-if="content.data.errors[0].error_msg == 'Submission not stored because no jobs were created'" href="https://vmray.analyse.certbund/user/sample/list?quick_search_value={{content.data.errors[0].submission_filename}}"><span class="label label-info">VMRay: Already submitted</span></a> | ||
<div style="display: inline-block;" ng-repeat="s in content.reports"> | ||
<span class="label label-info">VMRay:score= {{s.sample_score}}</span></a> | ||
<span class="label" ng-class="{'label-success':sample.sample_severity === 'not_suspicious', | ||
'label-danger': sample.sample_severity==='malicious', 'label-info'">{{sample.sample_severity}}</span> | ||
</div> |