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.
 
 
 
 
 

36 lines
1.5 KiB

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