Fix core styles/javascript for base template
This commit is contained in:
parent
7d0bb80a90
commit
0e42efd32b
|
@ -121,9 +121,9 @@
|
|||
<%def name="favicon()"></%def>
|
||||
|
||||
<%def name="header_core()">
|
||||
${base.core_javascript()}
|
||||
${self.core_javascript()}
|
||||
${self.extra_javascript()}
|
||||
${base.core_styles(jquery_theme=self.jquery_theme)}
|
||||
${self.core_styles()}
|
||||
${self.extra_styles()}
|
||||
</%def>
|
||||
|
||||
|
@ -143,13 +143,9 @@
|
|||
|
||||
<%def name="extra_javascript()"></%def>
|
||||
|
||||
<%def name="core_styles(jquery_theme=None)">
|
||||
<%def name="core_styles()">
|
||||
${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'))}
|
||||
% if jquery_theme:
|
||||
${jquery_theme()}
|
||||
% else:
|
||||
${self.jquery_dark_hive_theme()}
|
||||
% endif
|
||||
${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.timepicker.css'))}
|
||||
|
@ -162,14 +158,10 @@
|
|||
${h.stylesheet_link(request.static_url('tailbone:static/css/diffs.css'))}
|
||||
</%def>
|
||||
|
||||
<%def name="jquery_dark_hive_theme()">
|
||||
<%def name="jquery_theme()">
|
||||
${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/dark-hive/jquery-ui.css')}
|
||||
</%def>
|
||||
|
||||
## <%def name="jquery_smoothness_theme()">
|
||||
## ${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')}
|
||||
## </%def>
|
||||
|
||||
<%def name="extra_styles()"></%def>
|
||||
|
||||
<%def name="head_tags()"></%def>
|
||||
|
|
Loading…
Reference in a new issue