34 lines
839 B
Plaintext
34 lines
839 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<div style="text-align: right; padding: 10px;">
|
|
<button onclick="location.href='/admin/logout'">Logout</button>
|
|
</div>
|
|
<h1>Endpoints</h1>
|
|
<table border="1">
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Server:Port</th>
|
|
<th>IAX Username</th>
|
|
<th>IAX Secret</th>
|
|
<th>Assigned Block</th>
|
|
<th>API Key</th>
|
|
</tr>
|
|
<% routes.forEach(route => { %>
|
|
<tr>
|
|
<td><%= route.id %></td>
|
|
<td><%= route.server %>:<%= route.port %></td>
|
|
<td><%= route.auth %></td>
|
|
<td><%= route.secret %></td>
|
|
<td><%= route.block_start %> - <%= route.block_start + route.block_length %></td>
|
|
<td><%= route.apiKey %></td>
|
|
</tr>
|
|
<% }); %>
|
|
</table>
|
|
</body>
|
|
</html> |