16 lines
No EOL
565 B
Text
16 lines
No EOL
565 B
Text
<div class='header'>
|
|
<a href='/'><img class="header-img" src="/static/img/logo.svg"></a>
|
|
<%if (username=='!nobody' ) { %>
|
|
<a class="header-link" href="/client/login">Login</a>
|
|
<% } else { %>
|
|
<a class="header-link" href="/client/user?id=<%= username %>">
|
|
<%= username %>
|
|
</a>
|
|
<a class="header-link" href="/client/upload">
|
|
Upload
|
|
</a>
|
|
<a class="header-link" href="/client/settings">
|
|
Settings
|
|
</a>
|
|
<% } %>
|
|
</div> |