Browse Source

Put user style last.

master
Ben Kurtovic 4 years ago
parent
commit
4d3d43e130
2 changed files with 7 additions and 1 deletions
  1. +1
    -1
      templates/_base.mako
  2. +6
    -0
      templates/campaigns/operation.mako

+ 1
- 1
templates/_base.mako View File

@@ -11,11 +11,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="${g.config.scheme}://${g.config.get('site.canonical')}${request.script_root}${request.path}">
${support.makecss("main.css")}
<%block name="extracss"></%block>
<% style = g.auth.get_character_prop("style") or g.config.get("style.default") %>
% if style:
${support.makecss("styles/{}.css".format(style), "user-style")}
% endif
<%block name="extracss"></%block>
% for size in g.eve.image.corp_widths:
<link rel="icon" type="image/png" sizes="${size}x${size}" href="${g.eve.image.corp(g.config.get('corp.id'), size)}"/>
% endfor


+ 6
- 0
templates/campaigns/operation.mako View File

@@ -2,6 +2,12 @@
<%block name="title">
${self.support.maketitle(operation["title"], campaign["title"], "Campaigns")}
</%block>
<%block name="extracss">
${self.support.makecss("campaigns.css")}
</%block>
<%block name="extrajs">
${self.support.makejs("campaigns.js")}
</%block>
<h2> <!-- ... breadcrumb -->
<span class="understate">Operation:</span>
<span${"" if enabled else ' class="disabled"'}>${operation["title"] | h}</span>


Loading…
Cancel
Save