A corporation manager and dashboard for EVE Online
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

76 行
3.6 KiB

  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. <% style = g.auth.get_character_prop("style") or g.config.get("style.default") %>
  12. % if style:
  13. <% stylesheet = "styles/{}.css".format(style) %>
  14. <link id="user-style" rel="stylesheet" type="text/css" href="${url_for('staticv', filename=stylesheet)}"/>
  15. % endif
  16. % for size in g.eve.image.corp_widths:
  17. <link rel="icon" type="image/png" sizes="${size}x${size}" href="${g.eve.image.corp(g.config.get('corp.id'), size)}"/>
  18. % endfor
  19. <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
  20. <script src="${url_for('staticv', filename='main.js')}"></script>
  21. </head>
  22. <body>
  23. <%block name="header">
  24. <header class="styled-border">
  25. <div>
  26. <div>
  27. <div class="left">
  28. <%block name="lefthead">
  29. <a id="corp-masthead" title="Home" href="${url_for('index')}">
  30. <img alt="Logo" src="${g.eve.image.corp(g.config.get('corp.id'), 256)}"/>
  31. <h1>${g.config.get("corp.name") | h}</h1>
  32. </a>
  33. </%block>
  34. </div>
  35. <div class="right">
  36. <%block name="righthead">
  37. <img class="spacer" alt="" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="/>
  38. </%block>
  39. </div>
  40. </div>
  41. </div>
  42. </header>
  43. </%block>
  44. <%block name="container">
  45. <div id="container">
  46. <div>
  47. <main class="styled-border">
  48. <%block name="flashes">
  49. <% messages = get_flashed_messages(with_categories=True) %>
  50. % if messages:
  51. <div id="flashes">
  52. % for category, message in messages:
  53. <div class="${category | h}">${message | h}</div>
  54. % endfor
  55. </div>
  56. % endif
  57. </%block>
  58. ${next.body()}
  59. </main>
  60. </div>
  61. </div>
  62. </%block>
  63. <%block name="footer">
  64. <footer class="styled-border">
  65. <div>
  66. <ul>
  67. <li>YC&nbsp;${g.eve.clock.now()}</li>
  68. <li>Running <a href="https://github.com/earwig/calefaction">Calefaction</a>&nbsp;${g.version}</li>
  69. <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>
  70. </ul>
  71. </div>
  72. </footer>
  73. </%block>
  74. </body>
  75. </html>