bigly-chat/views/header_block.ejs

16 lines
565 B
Text
Raw Normal View History

2024-09-19 04:31:30 -04:00
<div class='header'>
2024-10-25 20:48:11 -04:00
<a href='/'><img class="header-img" src="/static/img/logo.svg"></a>
2024-09-19 05:04:03 -04:00
<%if (username=='!nobody' ) { %>
2024-10-19 21:28:52 -04:00
<a class="header-link" href="/client/login">Login</a>
2024-09-19 05:04:03 -04:00
<% } else { %>
2024-10-19 21:28:52 -04:00
<a class="header-link" href="/client/user?id=<%= username %>">
2024-09-19 05:04:03 -04:00
<%= username %>
</a>
2024-10-19 21:28:52 -04:00
<a class="header-link" href="/client/upload">
2024-09-19 05:44:24 -04:00
Upload
</a>
2024-10-19 21:28:52 -04:00
<a class="header-link" href="/client/settings">
2024-09-27 03:59:23 -04:00
Settings
</a>
2024-09-19 05:04:03 -04:00
<% } %>
2024-09-19 04:31:30 -04:00
</div>