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-06 08:26:31 +02:00
|
|
|
<link rel="stylesheet" href="/style.css">
|
2020-04-04 17:15:43 +02:00
|
|
|
</head>
|
2020-04-10 08:53:30 +02:00
|
|
|
<body <%- typeof body_class == "undefined" ? "" : `class="${body_class}"` %>>
|
2020-04-16 21:54:01 +02:00
|
|
|
<% if (context.profile && typeof hideHeader == "undefined") { %>
|
2020-04-05 12:36:01 +02:00
|
|
|
<header>
|
2020-04-06 08:26:31 +02:00
|
|
|
<div class="logo">
|
2020-04-06 21:10:15 +02:00
|
|
|
<a href="/">Social</a>
|
2020-04-05 12:36:01 +02:00
|
|
|
</div>
|
|
|
|
<nav>
|
2020-04-16 21:54:01 +02:00
|
|
|
<a href="/">Profile</a>
|
2020-04-05 12:36:01 +02:00
|
|
|
<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-17 07:56:06 +02:00
|
|
|
<a href="https://github.com/rogeriochaves/social/issues" target="_blank">Feedback</a>
|
2020-04-05 12:36:01 +02:00
|
|
|
</nav>
|
2020-04-13 23:40:17 +02:00
|
|
|
<div class="right-items"></div>
|
|
|
|
<% if (context.syncing) { %>
|
|
|
|
<div class="columns js-syncing" style="align-items: center; padding-right: 30px;">
|
|
|
|
<img src="/images/syncing.gif" width="24" style="margin-right: 10px; filter: invert();">
|
|
|
|
<span>Syncing</span>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2020-04-08 22:27:33 +02:00
|
|
|
<form action="/search" method="GET" style="margin-right: 10px">
|
2020-04-06 08:26:31 +02:00
|
|
|
<div class="search-icon">🔎</div>
|
|
|
|
<input type="search" class="input-search" name="query" placeholder="Search for people...">
|
|
|
|
</form>
|
2020-04-08 22:27:33 +02:00
|
|
|
<a href="/logout" style="margin-right: 10px">
|
|
|
|
Logout
|
|
|
|
</a>
|
2020-04-06 08:26:31 +02:00
|
|
|
</div>
|
2020-04-05 12:36:01 +02:00
|
|
|
</header>
|
|
|
|
<% } %>
|
2020-04-05 13:29:05 +02:00
|
|
|
<main>
|