The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<div class="menu"> <include(input.renderBody) /> <if(input.user != null)> <menu-gap /> <menu-header>User</menu-header> <menu-link if(!input.user.loggedIn) icon="L" href="/auth/login">Login</menu-link> <menu-link if(input.user.loggedIn) icon="L" href="/auth/logout">Logout <span class="weak">(${input.user.name})</span></menu-link> </if> <else-if(!input.allowNoUser)> <menu-blurb class="error">input.user is missing!</menu-blurb> </else-if> </div>
|