A corporation manager and dashboard for EVE Online
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

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