A corporation manager and dashboard for EVE Online
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

8 лет назад
8 лет назад
8 лет назад
7 лет назад
8 лет назад
8 лет назад
8 лет назад
8 лет назад
8 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <%namespace name="support" file="_base_support.mako" inheritable="True"/>\
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>
  7. <%block name="title">
  8. ${support.maketitle()}
  9. </%block>
  10. </title>
  11. <meta name="viewport" content="width=device-width, initial-scale=1">
  12. <link rel="canonical" href="${g.config.scheme}://${g.config.get('site.canonical')}${request.script_root}${request.path}">
  13. ${support.makecss("main.css")}
  14. <%block name="extracss"></%block>
  15. <% style = g.auth.get_character_prop("style") or g.config.get("style.default") %>
  16. % if style:
  17. ${support.makecss("styles/{}.css".format(style), "user-style")}
  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. ${support.makejs("main.js")}
  24. <%block name="extrajs"></%block>
  25. </head>
  26. <body>
  27. <%block name="header">
  28. <header class="styled-border">
  29. <div>
  30. <div>
  31. <div class="left">
  32. <%block name="lefthead">
  33. <a id="corp-masthead" title="Home" href="${url_for('index')}">
  34. <img alt="Logo" src="${g.eve.image.corp(g.config.get('corp.id'), 256)}"/>
  35. <h1>${g.config.get("corp.name") | h}</h1>
  36. </a>
  37. </%block>
  38. </div>
  39. <div class="right">
  40. <%block name="righthead">
  41. <img class="spacer" alt="" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="/>
  42. </%block>
  43. </div>
  44. </div>
  45. </div>
  46. </header>
  47. </%block>
  48. <%block name="container">
  49. <div id="container">
  50. <div>
  51. <main class="styled-border">
  52. <%block name="flashes">
  53. <% messages = get_flashed_messages(with_categories=True) %>
  54. % if messages:
  55. <div id="flashes">
  56. % for category, message in messages:
  57. <div class="${category | h}">${message | h}</div>
  58. % endfor
  59. </div>
  60. % endif
  61. </%block>
  62. ${next.body()}
  63. </main>
  64. </div>
  65. </div>
  66. </%block>
  67. <%block name="footer">
  68. <footer class="styled-border">
  69. <div>
  70. <ul>
  71. <li>YC&nbsp;${g.eve.clock.now()}</li>
  72. <li>Running <a href="https://github.com/earwig/calefaction">Calefaction</a>&nbsp;${g.version}</li>
  73. <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>
  74. </ul>
  75. </div>
  76. </footer>
  77. </%block>
  78. </body>
  79. </html>