-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
contact.html
87 lines (84 loc) · 2.47 KB
/
contact.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{% extends "templates/web.html" %}
{% set title = heading or "Contact Us" %}
{% block header %}<h1>{{ heading or _("Contact Us") }}</h1>{% endblock %}
{% block page_content %}
<style>
.address {
line-height: 1.7em;
}
</style>
<div class="contact-content">
{% if introduction %}
<div>
{{ introduction or "" }}<br>
</div>
{% endif %}
<div class="row">
<div class="col-md-8">
<p id="contact-alert" class="alert alert-warning"
style="display: none;"> </p>
<div class="form-group">
<select name="subject" class="form-control">
{% if query_options -%}
{% for option in query_options.split("\n") -%}
<option value="{{ option }}">{{ _(option) }}</option>
{%- endfor %}
{% else %}
<option value="General">{{ _("General") }}</option>
{% endif %}
</select>
</div>
<div class="form-group">
<input class="form-control" name="email" type="text"
placeholder="{{ _('Your email address') }}" />
</div>
<div class="form-group">
<textarea rows="10" name="message" class="form-control"></textarea>
</div>
<div class="form-group">
<button class="btn btn-primary btn-send">{{ _("Send") }}</button>
</div>
</div>
{% if address_title %}
<div class="col-md-3 col-md-offset-1 address"
itemscope itemtype="http://schema.org/PostalAddress">
<h4 style="margin-top: 0px;"><i class="fa fa-map-marker"></i> {{ address_title }}</h4>
{% if address_line1 %}
<span itemprop="streetAddress">{{ address_line1 }}</span><br>
{% endif %}
{% if address_line2 %}
<span itemprop="streetAddress">{{ address_line2 }}</span><br>
{% endif %}
{% if city %}
<span itemprop="addressLocality">{{ city }}</span><br>
{% endif %}
{% if state %}
<span itemprop="addressRegion">{{ state }}</span><br>
{% endif %}
{% if pincode %}
<span itemprop="postalCode">{{ pincode }}</span><br>
{% endif %}
{% if country %}
<span itemprop="addressCountry">{{ country }}</span><br><br>
{% endif %}
{% if phone %}
<i class='fa fa-phone'></i> <span itemprop="telephone">{{ phone }}</span><br>
{% endif %}
{% if email_id %}
<i class='fa fa-envelope'></i>
<span itemprop="email">
<a href="mailto:{{ email_id }}">{{ email_id }}</a>
</span>
<br>
{% endif %}
{% if skype %}
<i class='fa fa-skype'></i> <span itemprop="email">{{ skype }}</span><br>
{% endif %}
</div>
{% endif %}
</div>
</div>
<script>
{% include "templates/includes/contact.js" %}
</script>
{% endblock %}