From 856361f98a6a29ef39ae8aeb50ce164c7964520c Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 20 Dec 2016 01:21:28 -0500 Subject: [PATCH] Use character style over default site-wide stylesheet. --- README.md | 2 +- templates/_base.mako | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 18a3da4..150e42d 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,4 @@ Guide ### Deploy uwsgi --ini config/uwsgi.ini - # proxy to 127.0.0.1:9001 + # proxy to http://127.0.0.1:9001 diff --git a/templates/_base.mako b/templates/_base.mako index 4c1bdfe..6f9a578 100644 --- a/templates/_base.mako +++ b/templates/_base.mako @@ -9,7 +9,11 @@ % if g.config.get("style"): - <% stylesheet = "styles/{}.css".format(g.config.get("style")) %> + <% + charstyle = g.auth.get_character_prop("style") + style = charstyle if charstyle else g.config.get("style") + stylesheet = "styles/{}.css".format(style) + %> % endif % for size in g.eve.image.corp_widths: