preliminary work for guest account support
This commit is contained in:
parent
b6779a7d7c
commit
bbc655b3f9
11 changed files with 132 additions and 50 deletions
|
@ -27,6 +27,11 @@ return string.slice((string.lastIndexOf(".") - 2 >>> 0) + 2);
|
|||
<button class="logout" type="submit">Sign out</button>
|
||||
</form>
|
||||
</li>
|
||||
<% if (user.name == "admin" || user.username == "admin") { %>
|
||||
<li>
|
||||
<button class="adduser" onclick="location.href='/adduser';">Add user</a></button>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</nav>
|
||||
<header class="header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue