A corporation manager and dashboard for EVE Online
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.
 
 
 
 
 

40 regels
1.6 KiB

  1. <%inherit file="_base.mako"/>
  2. <%block name="lefthead">
  3. ${parent.lefthead()}
  4. <nav>
  5. <ul>
  6. % for module in g.modules:
  7. <% navitem = module.navitem() %>
  8. % if navitem:
  9. <li>${navitem}</li>
  10. % endif
  11. % endfor
  12. </ul>
  13. </nav>
  14. </%block>
  15. <%block name="righthead">
  16. <div id="character-portrait">
  17. <img class="styled-border" alt="Portrait" src="${g.eve.image.character(g.auth.get_character_id() or 1, 256)}"/>
  18. <div id="character-options" class="styled-border">
  19. <div id="style-options">
  20. <% cur_style = g.auth.get_character_prop("style") or g.config.get("style.default") %>
  21. % for style in g.config.get("style.enabled"):
  22. <%
  23. stitle = style.title()
  24. url = url_for('staticv', filename='images/style/{}.png'.format(style))
  25. %>
  26. <form action="${url_for('set_style', style=style)}" method="post"${' class="cur"' if style == cur_style else ''}>
  27. <input type="submit" title="${stitle | h}" value="${stitle | h}" data-style="${style | h}"${' disabled' if style == cur_style else ''}
  28. style="background-image: url('${url}')">
  29. </form>
  30. % endfor
  31. </div>
  32. </div>
  33. </div>
  34. <span id="character-summary">
  35. ${g.auth.get_character_prop("name") | h}
  36. <span class="sep">[</span><a id="logout" title="Log out" href="${url_for('logout')}">log out</a><span class="sep">]</span>
  37. </span>
  38. </%block>
  39. ${next.body()}