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-25 12:18:00 +02:00
|
|
|
<link rel="stylesheet" href="/shared.css">
|
|
|
|
<link rel="stylesheet" href="/desktop.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-20 21:02:08 +02:00
|
|
|
<header class="screen-center">
|
|
|
|
<% if (context.profile && typeof hideHeader == "undefined") { %>
|
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>
|
2020-04-18 09:55:55 +02:00
|
|
|
<a href="/communities">Communities</a>
|
2020-04-17 19:45:12 +02:00
|
|
|
<% if (context.profile.admin) { %>
|
|
|
|
<a href="/pubs">Pubs</a>
|
|
|
|
<% } %>
|
|
|
|
<% if (context.profile.debug) { %>
|
|
|
|
<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-19 09:39:11 +02:00
|
|
|
<a href="/logout">
|
|
|
|
Logout
|
|
|
|
</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;">
|
2020-04-19 09:39:11 +02:00
|
|
|
<img src="/images/syncing.gif" width="24" style="margin-right: 10px; margin-top: -5px">
|
|
|
|
<span>syncing</span>
|
2020-04-13 23:40:17 +02:00
|
|
|
</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>
|
|
|
|
</div>
|
2020-04-20 21:02:08 +02:00
|
|
|
<% } %>
|
|
|
|
</header>
|
2020-04-19 09:39:11 +02:00
|
|
|
<main class="<%= typeof main_class == "undefined" ? "screen-center white-page" : main_class %>">
|