-
Notifications
You must be signed in to change notification settings - Fork 0
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
3 changed files
with
76 additions
and
25 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
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
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,51 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Title</title> | ||
| </head> | ||
| <body> | ||
| <div> | ||
| <p>Proposed ROA Prefix = {{ roa_info[0] }}</p> | ||
| <p>Max Length = {{ roa_info[1]}}</p> | ||
| <p>and origin ASN = {{roa_info[2] }}</p> | ||
| </div> | ||
|
|
||
| <table> | ||
| <thead> | ||
| <tr> | ||
| <th style="white-space pre-line;text-align: left">The first row is the prefix specified in the proposed ROA. | ||
| Subsequent lines list more specifics that are seen in the global routing table.</th> | ||
| <th style="white-space pre-line;text-align: left">If you create the proposed ROA, this is how it would be evaluated for each prefix.</th> | ||
| <th style="white-space pre-line;text-align: left">For this prefix, this is the origin ASN as seen in the global Internet.</th> | ||
| <th style="white-space pre-line;text-align: left">This is the status of this prefix due to an existing ROA. </th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| {% for item in items %} | ||
| <tr> | ||
| <td style="text-align: center; border: 1px solid black;">{{ item[0] }}</td> | ||
|
|
||
| {% if item[1] == "invalid" %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:red;">{{ item[1] }}</td> | ||
| {% elif item[1] =="valid" %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:green">{{ item[1] }}</td> | ||
| {% else %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:yellow">{{ item[1] }}</td> | ||
| {% endif %} | ||
| <td style="text-align: center; border: 1px solid black;">{{ item[2] }}</td> | ||
| {% if item[3] == "valid" %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:green">{{ item[3] }}</td> | ||
| {% elif item[3] == "invalid" %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:red">{{ item[3] }}</td> | ||
| {% else %} | ||
| <td style="text-align: center; border: 1px solid black; background-color:yellow;">{{ item[3] }}</td> | ||
| {% endif %} | ||
|
|
||
| </tr> | ||
| {% endfor %} | ||
| </tbody> | ||
| </table> | ||
|
|
||
| </body> | ||
| </html> |