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.

пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
пре 8 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>
  6. <%block name="title">${g.config.get("corp.name") | h}</%block>
  7. </title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="canonical" href="${g.config.scheme}://${g.config.get('site.canonical')}${request.script_root}${request.path}">
  10. <link rel="stylesheet" type="text/css" href="${url_for('staticv', filename='main.css')}"/>
  11. <%
  12. charstyle = g.auth.get_character_prop("style")
  13. style = charstyle if charstyle else g.config.get("style.default")
  14. %>
  15. % if style:
  16. <% stylesheet = "styles/{}.css".format(style) %>
  17. <link id="user-style" rel="stylesheet" type="text/css" href="${url_for('staticv', filename=stylesheet)}"/>
  18. % endif
  19. % for size in g.eve.image.corp_widths:
  20. <link rel="icon" type="image/png" sizes="${size}x${size}" href="${g.eve.image.corp(g.config.get('corp.id'), size)}"/>
  21. % endfor
  22. <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
  23. <script src="${url_for('staticv', filename='main.js')}"></script>
  24. </head>
  25. <body>
  26. <%block name="header">
  27. <header class="styled-border">
  28. <div>
  29. <div class="left">
  30. <%block name="lefthead">
  31. <a id="corp-masthead-link" href="${url_for('index')}">
  32. <img id="corp-masthead" class="aligned" title="Home" alt="Home" src="${g.eve.image.corp(g.config.get('corp.id'), 256)}"/>
  33. </a>
  34. <a id="corp-title" class="aligned" href="${url_for('index')}">${g.config.get("corp.name") | h}</a>
  35. </%block>
  36. </div>
  37. <div class="right">
  38. <%block name="righthead">
  39. <img class="spacer aligned" alt="" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="/>
  40. </%block>
  41. </div>
  42. </div>
  43. </header>
  44. </%block>
  45. <%block name="container">
  46. <div id="container">
  47. <div>
  48. <main class="styled-border">
  49. <%block name="flashes">
  50. <% messages = get_flashed_messages(with_categories=True) %>
  51. % if messages:
  52. <div id="flashes">
  53. % for category, message in messages:
  54. <div class="${category | h}">${message | h}</div>
  55. % endfor
  56. </div>
  57. % endif
  58. </%block>
  59. ${next.body()}
  60. </main>
  61. </div>
  62. </div>
  63. </%block>
  64. <%block name="footer">
  65. <footer class="styled-border">
  66. <div>
  67. <ul>
  68. <li>YC&nbsp;${g.eve.clock.now()}</li>
  69. <li>Running <a href="https://github.com/earwig/calefaction">Calefaction</a>&nbsp;${g.version}</li>
  70. <li><a href="https://eveonline.com">EVE&nbsp;Online</a> and all related trademarks are property of <a href="https://ccpgames.com">CCP&nbsp;hf</a>.</li>
  71. </ul>
  72. </div>
  73. </footer>
  74. </%block>
  75. </body>
  76. </html>