浏览代码

Put user style last.

master
Ben Kurtovic 8 年前
父节点
当前提交
4d3d43e130
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. +1
    -1
      templates/_base.mako
  2. +6
    -0
      templates/campaigns/operation.mako

+ 1
- 1
templates/_base.mako 查看文件

@@ -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 查看文件

@@ -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>


正在加载...
取消
保存