Pārlūkot izejas kodu

Put user style last.

master
Ben Kurtovic pirms 8 gadiem
vecāks
revīzija
4d3d43e130
2 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      templates/_base.mako
  2. +6
    -0
      templates/campaigns/operation.mako

+ 1
- 1
templates/_base.mako Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt