login

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{{$title}}</title>
  <style>
    .centered { text-align: center; }
    .proj-list li {
      list-style: none;
      display: inline-block;
      padding: 5px 8px;
      border-radius: 5px;
      border-width: 3px;
      border-style: solid;
    }
    % include view/menu.css
  </style>
</head>
<body>
  % include view/menu.html
  <h1 class="centered">user</h1>
  <p><strong>nick:</strong> {{$other.nick}}</p>
  <p><strong>name:</strong> {{$other.name}}</p>
  <p><strong>invited by:</strong> {{$other.invited_by or "(root)"}}</p>
  <p><strong>projects:</strong>
    <ul class="proj-list">
      % for proj in $projs do
        % if $proj.is_active ~= 0 then
      <li style="border-color: {{$proj.color}};">
        <a href="/p/{{$proj.name}}">{{$proj.name}}</a>
      </li>
        % end
      % end
    </ul>
  </p>
</body>
</html>