2020-04-04 17:15:43 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>Social</title>
|
2020-04-05 13:29:05 +02:00
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
padding: 20px 10px;
|
|
|
|
border-bottom: 1px solid #666;
|
|
|
|
}
|
|
|
|
header a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
</style>
|
2020-04-04 17:15:43 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-04-05 18:38:49 +02:00
|
|
|
<% if (context.profile.name) { %>
|
2020-04-05 12:36:01 +02:00
|
|
|
<header>
|
|
|
|
<div style="float: right">
|
2020-04-05 18:38:49 +02:00
|
|
|
<%= context.profile.name %> (<%= context.profile.id.slice(0, 8) %>)
|
2020-04-05 12:36:01 +02:00
|
|
|
</div>
|
2020-04-05 20:11:55 +02:00
|
|
|
<form action="/search" method="GET" style="float: right; padding-right: 10px">
|
2020-04-05 14:51:25 +02:00
|
|
|
<input type="text" name="query" placeholder="Search for people...">
|
|
|
|
<input type="submit" value="Search" />
|
|
|
|
</form>
|
2020-04-05 12:36:01 +02:00
|
|
|
<nav>
|
|
|
|
<a href="/">Home</a>
|
|
|
|
<a href="/about">About me</a>
|
|
|
|
<a href="/pubs">Pubs</a>
|
2020-04-05 13:29:05 +02:00
|
|
|
<a href="/debug">Debug</a>
|
2020-04-05 12:36:01 +02:00
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<% } %>
|
2020-04-05 13:29:05 +02:00
|
|
|
<main>
|