Allow override of jquery source, for mobile base template
This commit is contained in:
parent
3f2c57c89f
commit
362173ef10
|
@ -6,8 +6,7 @@
|
||||||
<title>${self.global_title()} » ${self.title()}</title>
|
<title>${self.global_title()} » ${self.title()}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
||||||
${h.javascript_link('https://code.jquery.com/jquery-1.12.4.min.js')}
|
${self.jquery()}
|
||||||
${h.javascript_link('https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js')}
|
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/jquery.ui.tailbone.mobile.js') + '?ver={}'.format(tailbone.__version__))}
|
${h.javascript_link(request.static_url('tailbone:static/js/jquery.ui.tailbone.mobile.js') + '?ver={}'.format(tailbone.__version__))}
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.mobile.js') + '?ver={}'.format(tailbone.__version__))}
|
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.mobile.js') + '?ver={}'.format(tailbone.__version__))}
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.mobile.receiving.js') + '?ver={}'.format(tailbone.__version__))}
|
${h.javascript_link(request.static_url('tailbone:static/js/tailbone.mobile.receiving.js') + '?ver={}'.format(tailbone.__version__))}
|
||||||
|
@ -32,7 +31,7 @@
|
||||||
</script>
|
</script>
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
${h.stylesheet_link('https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css')}
|
${self.jquery_theme()}
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/mobile.css') + '?ver={}'.format(tailbone.__version__))}
|
${h.stylesheet_link(request.static_url('tailbone:static/css/mobile.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
% if not request.rattail_config.production():
|
% if not request.rattail_config.production():
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
@ -73,8 +72,17 @@
|
||||||
|
|
||||||
<%def name="page_title()">${self.title()}</%def>
|
<%def name="page_title()">${self.title()}</%def>
|
||||||
|
|
||||||
|
<%def name="jquery()">
|
||||||
|
${h.javascript_link('https://code.jquery.com/jquery-1.12.4.min.js')}
|
||||||
|
${h.javascript_link('https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js')}
|
||||||
|
</%def>
|
||||||
|
|
||||||
<%def name="extra_javascript()"></%def>
|
<%def name="extra_javascript()"></%def>
|
||||||
|
|
||||||
|
<%def name="jquery_theme()">
|
||||||
|
${h.stylesheet_link('https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css')}
|
||||||
|
</%def>
|
||||||
|
|
||||||
<%def name="extra_styles()"></%def>
|
<%def name="extra_styles()"></%def>
|
||||||
|
|
||||||
<%def name="mobile_header()">
|
<%def name="mobile_header()">
|
||||||
|
|
Loading…
Reference in a new issue