From 715dce1655044c596c4291d652be22f21253bbae Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 14 Feb 2016 21:41:43 -0600 Subject: [PATCH] Split off the jquery theme from the rest of core head stuff, for easier override. --- tailbone/templates/base.mako | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tailbone/templates/base.mako b/tailbone/templates/base.mako index 4aa6ef32..f7a9ae47 100644 --- a/tailbone/templates/base.mako +++ b/tailbone/templates/base.mako @@ -136,7 +136,7 @@ <%def name="core_styles()"> ${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'))} - ${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')} + ${self.jquery_theme()} ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.menubar.css'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.loadmask.css'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.tailbone.css'))} @@ -148,4 +148,8 @@ ${h.stylesheet_link(request.static_url('tailbone:static/css/newgrids.css'))} +<%def name="jquery_theme()"> + ${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')} + + <%def name="head_tags()">