aboutsummaryrefslogtreecommitdiff
path: root/central/src/main/resources/manage/index.ftlh
diff options
context:
space:
mode:
Diffstat (limited to 'central/src/main/resources/manage/index.ftlh')
-rw-r--r--central/src/main/resources/manage/index.ftlh35
1 files changed, 35 insertions, 0 deletions
diff --git a/central/src/main/resources/manage/index.ftlh b/central/src/main/resources/manage/index.ftlh
new file mode 100644
index 0000000..983dc63
--- /dev/null
+++ b/central/src/main/resources/manage/index.ftlh
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Manage your peering</title>
+</head>
+<body>
+<h1>Manage your peering</h1>
+<p>You are logged in as: ${asn}.</p>
+<h2>Peers</h2>
+<p><a href="/manage/new">New Peer</a></p>
+<table style="width: 100%">
+ <tr>
+ <th>IPv4</th>
+ <th>IPv6</th>
+ <th>Method</th>
+ <th>Provision</th>
+ <th>Actions</th>
+ </tr>
+ <#list peers as peer>
+ <tr>
+ <td>${peer.ipv4}</td>
+ <td><#if peer.ipv6??>${peer.ipv6}<#else>None</#if></td>
+ <td>${peer.type}</td>
+ <td>${peer.provisionStatus}</td>
+ <td><a href="/manage/edit?id=${peer.id}">Edit</a> |
+ <a href="/manage/show-configuration?id=${peer.id}">Example Conf</a></td>
+ </tr>
+ </#list>
+</table>
+<h2>More Actions</h2>
+<a href="/manage/change-password">Change Password</a> |
+<a href="/manage/delete-account">Delete My Account</a>
+</body>
+</html> \ No newline at end of file