-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathresponsive.checkout.twig
54 lines (46 loc) · 1.84 KB
/
responsive.checkout.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html id="fc" lang={{ language_iso_code }}>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ config.store_name }} Secure Checkout</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<!--[if lt IE 9 ]>
<script type="text/javascript">
var IEElms = ['article', 'aside', 'header', 'main', 'nav', 'section'];
for (var i = 0; i < IEElms.length; i++) {
document.createElement(IEElms[i]);
};
</script>
<![endif]-->
{% for css_file_href in config.css_files %}
<link href="{{ css_file_href }}" rel="stylesheet" media="screen">
{% endfor %}
<!-- FC script insertion -->{{ fc_header_content|raw }}<!-- /FC script insertion -->
<!--[if lt IE 9 ]>
<script src="{{ config.cdn_static_path }}scripts/respond/respond.1.4.2.js" charset="utf-8"></script>
<style>
#fc label.fc-form-label--with-placeholder {
display:block !important;
left:0 !important;
width:auto !important;
height:50px !important;
clip:auto !important;
position:relative !important;
text-align:left !important;
}
</style>
<![endif]-->
</head>
<body>
<!-- has to be here because of chrome bug -->
{% include 'svg.inc.twig' %}
{% import "utils.inc.twig" as utils %}
{% embed 'checkout.inc.twig' %}
{% endembed %}
<!-- FC footer script insertion -->{% include template_from_string(fc_footer_content) %}<!-- /FC footer scripts -->
<!--[if lt IE 10 ]>
<script src="https://{{ config.store_domain }}/static/scripts/placeholder/placeholder_polyfill.jquery.js" charset="utf-8"></script>
<![endif]-->
</body>
</html>