Add "core" JS/CSS defs to base template, for sharing's sake.
This commit is contained in:
parent
17c6f390c0
commit
0db1c252cd
|
@ -5,23 +5,8 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
<title>${self.global_title()} » ${capture(self.title)}</title>
|
<title>${self.global_title()} » ${capture(self.title)}</title>
|
||||||
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
||||||
|
${self.core_javascript()}
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery-1.9.1.min.js'))}
|
${self.core_styles()}
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery-ui-1.10.0.custom.min.js'))}
|
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery.ui.menubar.js'))}
|
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery.loadmask.min.js'))}
|
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.js'))}
|
|
||||||
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'))}
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/smoothness/jquery-ui-1.10.0.custom.min.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/base.css'))}
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))}
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css'))}
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css'))}
|
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css'))}
|
|
||||||
|
|
||||||
${self.head_tags()}
|
${self.head_tags()}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -141,4 +126,25 @@
|
||||||
|
|
||||||
<%def name="title()"></%def>
|
<%def name="title()"></%def>
|
||||||
|
|
||||||
|
<%def name="core_javascript()">
|
||||||
|
${h.javascript_link('https://code.jquery.com/jquery-1.11.3.min.js')}
|
||||||
|
${h.javascript_link('https://code.jquery.com/ui/1.11.4/jquery-ui.min.js')}
|
||||||
|
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery.ui.menubar.js'))}
|
||||||
|
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery.loadmask.min.js'))}
|
||||||
|
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.js'))}
|
||||||
|
</%def>
|
||||||
|
|
||||||
|
<%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')}
|
||||||
|
${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'))}
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/base.css'))}
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))}
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css'))}
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css'))}
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css'))}
|
||||||
|
</%def>
|
||||||
|
|
||||||
<%def name="head_tags()"></%def>
|
<%def name="head_tags()"></%def>
|
||||||
|
|
Loading…
Reference in a new issue