Split off the jquery theme from the rest of core head stuff, for easier override.

This commit is contained in:
Lance Edgar 2016-02-14 21:41:43 -06:00
parent 215a8c13b0
commit 715dce1655

View file

@ -136,7 +136,7 @@
<%def name="core_styles()"> <%def name="core_styles()">
${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'))} ${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.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.loadmask.css'))}
${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.tailbone.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'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/newgrids.css'))}
</%def> </%def>
<%def name="jquery_theme()">
${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')}
</%def>
<%def name="head_tags()"></%def> <%def name="head_tags()"></%def>