-
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
… last update
- Loading branch information
1 parent
cdae768
commit f8bc24f
Showing
2 changed files
with
29 additions
and
14 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,31 +1,46 @@ | ||
|
||
<div class="panel panel-info" ng-if="content.count > 0"> | ||
<div class="panel-heading"> | ||
|
||
<div class="panel-heading"> | ||
Firehol IP Report (https://github.com/firehol/blocklist-ipsets) | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal" ng-repeat="h in content.hits"> | ||
<dt> | ||
Match <a href="http://iplists.firehol.org/?ipset={{h.list}}">{{h.list}}</a>: | ||
</dt> | ||
<dd> | ||
<p style="white-space: pre-line;">{{h.description}}</p> | ||
</dd> | ||
</dl> | ||
|
||
<table class="table" ng-if="content.hits"> | ||
<thead> | ||
<th>List name</th> | ||
<th>Last updated</th> | ||
<th>Description</th> | ||
</thead> | ||
<tbody ng-repeat="h in content.hits | orderBy:'-file_date'"> | ||
<tr> | ||
<td>{{h.list}}</td> | ||
<td>{{h.file_date}}</td> | ||
<td> | ||
<a target="_blank" href="http://iplists.firehol.org/?ipset={{h.list}}">http://iplists.firehol.org/?ipset={{h.list}}</a> | ||
</td> | ||
|
||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-success" ng-if="content.count == 0 && success"> | ||
<div class="panel-heading"> | ||
Firehol IP Report (https://github.com/firehol/blocklist-ipsets): <b>No matches</b> | ||
Firehol IP Report (https://github.com/firehol/blocklist-ipsets): <b>No match found</b> | ||
</div> | ||
</div> | ||
|
||
<!-- on error --> | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
Firehol IP Report (https://github.com/firehol/blocklist-ipsets) <b>Error</b> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Error: </dt> | ||
<dd>{{content.error}}</dd> | ||
<dd>{{content.errorMessage}}</dd> | ||
</dl> | ||
</div> | ||
</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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<span ng-if="content.count == 0" class="label label-success">Firehol: No matches</span> | ||
<span ng-if="content.count > 0" class="label label-danger">Firehol: {{content.count}} matches</span> | ||
<span ng-if="content.count == 0" class="label label-success">Firehol: No match</span> | ||
<span ng-if="content.count > 0" class="label label-danger">Firehol: {{content.count}} match(es)</span> | ||
<div style="display:inline-block;" ng-repeat="h in content.hits"> | ||
<a href="http://iplists.firehol.org/?ipset={{h}}"><span class="label label-danger">Firehol: {{h}}</span></a> | ||
</div> |