forked from .cyb/cyberman
86 lines
1.5 KiB
Plaintext
86 lines
1.5 KiB
Plaintext
<!DOCTYPE HTML>
|
|
<html lang=en>
|
|
<head>
|
|
<meta charset="utf8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<% IF redir %>
|
|
<meta http-equiv="refresh" content="0;<% redir %>" />
|
|
<% END %>
|
|
<title>cybNIC</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
}
|
|
body, a {
|
|
background-color: black;
|
|
font-family: monospace;
|
|
color: white;
|
|
font-size: 14px;
|
|
line-height: 1.6em;
|
|
}
|
|
p {
|
|
margin-bottom: 0.8em;
|
|
}
|
|
.body {
|
|
max-width: 700px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.toolbar {
|
|
border: 1px solid white;
|
|
}
|
|
|
|
a.bracketButton {
|
|
text-decoration: none;
|
|
}
|
|
a.bracketButton:hover {
|
|
text-decoration: underline;
|
|
}
|
|
button.textButton {
|
|
background: none !important;
|
|
color: inherit;
|
|
border: none;
|
|
padding: 0 !important;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
button.textButton:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
form.login>table>tbody>tr>td>label {
|
|
margin-right: 10px;
|
|
}
|
|
table.domains {
|
|
width: 100%;
|
|
}
|
|
table.domains td:first-child {
|
|
width: 50%;
|
|
}
|
|
|
|
.msgBox {
|
|
border: 1px solid white;
|
|
display: inline-block;
|
|
padding: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<% IF vars.auth %>
|
|
<div class="toolbar">
|
|
<div class="body">
|
|
<span>
|
|
Logged in as <% vars.email | html_entity %>
|
|
</span>
|
|
<span style="float:right;">
|
|
<form action="/logout" method="POST">
|
|
[ <button class="textButton" action="submit">log out</button> ]
|
|
</form>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<% END %>
|
|
<% content %>
|
|
</body>
|
|
</html>
|