2024-11-25 14:12:43 -05:00
|
|
|
<div class='header'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a href='/'><img class="header-img" src="/static/img/logo.svg"></a>
|
2024-11-25 14:12:43 -05:00
|
|
|
<%if (username=='!nobody' ) { %>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/login">Login</a>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/register">Register</a>
|
2024-11-25 14:12:43 -05:00
|
|
|
<% } else { %>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/user?id=<%= username %>">
|
2024-11-25 14:12:43 -05:00
|
|
|
<%= username %>
|
|
|
|
</a>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/upload">
|
2024-11-25 14:12:43 -05:00
|
|
|
Upload
|
|
|
|
</a>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/settings">
|
2024-11-25 14:12:44 -05:00
|
|
|
Settings
|
|
|
|
</a>
|
2024-11-25 14:12:44 -05:00
|
|
|
<a class="header-link" href="/client/messages">
|
|
|
|
<img class="header-img" src="/static/img/<%= isRead %>.svg">
|
|
|
|
</a>
|
2024-11-25 14:12:43 -05:00
|
|
|
<% } %>
|
2024-11-25 14:12:43 -05:00
|
|
|
</div>
|