diff options
Diffstat (limited to 'central/src/main/resources/admin/sudo.ftlh')
-rw-r--r-- | central/src/main/resources/admin/sudo.ftlh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/central/src/main/resources/admin/sudo.ftlh b/central/src/main/resources/admin/sudo.ftlh new file mode 100644 index 0000000..65db517 --- /dev/null +++ b/central/src/main/resources/admin/sudo.ftlh @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <#include "../style.ftlh"> + <title>sudo | Admin</title> +</head> +<body class="markdown-body"> +<h1>sudo</h1> +<p>You are logged in as: ${asn}.</p> +<p>Set a cookie that allows you to sudo as another ASN.</p> +<p>The target ASN will not be created if it does not exist.</p> +<p>The target ASN may not exist in the WHOIS database.</p> +<#if errors??> +<div> + <p style="color:red">Errors in the previous form:</p> + <ul> + <#list errors as error> + <li>${error}</li> + </#list> + </ul> +</div> +</#if> +<form action="/admin/sudo" method="post"> + <label for="asn">Target ASN:</label><br /> + <input type="text" id="asn" name="asn" + placeholder="${asn}" + value="${(target_asn)!}"><br /> + <br /> + <input type="submit"> +</form> +</body> +</html>
\ No newline at end of file |