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.
 
 
 
 
 

15 rivejä
584 B

  1. <%! import markupsafe %>
  2. <%def name="maketitle(*parts)" filter="trim">
  3. <%
  4. if request.url_rule and request.url_rule.endpoint == "index":
  5. parts = ()
  6. %>
  7. ${" | ".join(parts + (g.config.get("corp.name"),)) | h}
  8. </%def>
  9. <%def name="makecss(filename, id_=None)" filter="trim">
  10. <link ${'id="{}" '.format(markupsafe.escape(id_)) if id_ else ""}rel="stylesheet" type="text/css" href="${url_for('staticv', filename=filename)}"/>
  11. </%def>
  12. <%def name="makejs(filename)" filter="trim">
  13. <script src="${url_for('staticv', filename=filename)}"></script>
  14. </%def>