bigly-chat/views/header_block.ejs
2024-09-19 18:18:44 -04:00

14 lines
No EOL
399 B
Text

<div class='header'>
<img src='/static/img/logo.svgg'>
<a href='/'>BiglyChat</a>
<%if (username=='!nobody' ) { %>
<a href="/client/login">Login</a>
<% } else { %>
<a href="/client/user?id=<%= username %>">
<%= username %>
</a>
<a href="/client/upload">
Upload
</a>
<% } %>
</div>