Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
check_roa/docker_container_version/templates/index.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
56 lines (56 sloc)
1.7 KB
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
<!doctype html> | |
<html> | |
<head> | |
<title>IP Prefix Form</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
} | |
form { | |
max-width: 400px; | |
margin: 0 auto; | |
padding: 20px; | |
border: 1px solid #ccc; | |
border-radius: 10px; | |
} | |
label { | |
display: block; | |
margin-bottom: 8px; | |
} | |
input[type="text"], | |
input[type="number"] { | |
width: 100%; | |
padding: 12px 20px; | |
margin-bottom: 20px; | |
box-sizing: border-box; | |
border: 1px solid #ccc; | |
border-radius: 4px; | |
} | |
input[type="submit"] { | |
width: 100%; | |
background-color: #4caf50; | |
color: white; | |
padding: 14px 20px; | |
margin: 8px 0; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
input[type="submit"]:hover { | |
background-color: #45a049; | |
} | |
</style> | |
</head> | |
<body> | |
<p style="text-align: center">This app queries the stat.ripe.net to determine if a RPKI-ROA created with the following information<br>would likely agree (i.e., not evaluate as invalid) for routes currently seen in the Internet</p> | |
<form form action="/results" method="get"> | |
<label for="ip_prefix">IP Prefix:</label> | |
<input type="text" id="ip_prefix" name="ip_prefix" placeholder="10.1.0.0/16" required> | |
<label for="prefix_maxlength">Prefix Maxlength:</label> | |
<input type="number" placeholder="24" id="prefix_maxlength" name="prefix_maxlength" required> | |
<label for="origin_asn">Origin ASN:</label> | |
<input type="text" id="origin_asn" name="origin_asn" required> | |
<input type="submit" id="submit" value="Submit"> | |
</form> | |
</body> | |
</html> |