A corporation manager and dashboard for EVE Online
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

_base.mako 3.1 KiB

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